|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.di.connector.Connector
com.ibm.di.connector.DSMLv2SOAPConnector
public class DSMLv2SOAPConnector
The DSMLv2 SOAP Connector implements the DSMLv2 standard (http://www.oasis-open.org/committees/dsml/docs/DSMLv2.doc). It is is able to execute DSMLv2 requests against a DSML Server. It also provides the option to use DSML SOAP binding.
Field Summary | |
---|---|
static String |
ATTR_NAME_HTTP_BODY
|
static String |
ATTR_NAME_HTTP_CHARACTER_SET
|
static String |
ATTR_NAME_HTTP_CONTENT_TYPE
|
static String |
ATTR_NAME_HTTP_METHOD
|
static String |
ATTR_NAME_HTTP_REMOTE_PASSWORD
|
static String |
ATTR_NAME_HTTP_REMOTE_USER
|
static String |
ATTR_NAME_HTTP_URL
|
static String |
BASE_OBJECT
|
static String |
HTTP_BASIC_AUTH
|
static String |
PARAMETER_AUTH_METHOD
|
static String |
PARAMETER_BINARY_ATTRIBUTES
|
static String |
PARAMETER_PASSWORD
|
static String |
PARAMETER_SEARCH_BASE
|
static String |
PARAMETER_SEARCH_FILTER
|
static String |
PARAMETER_SEARCH_SCOPE
|
static String |
PARAMETER_SOAPBINDING
|
static String |
PARAMETER_URL
|
static String |
PARAMETER_USERNAME
|
static String |
SINGLE_LEVEL
|
static String |
WHOLE_SUBTREE
|
Fields inherited from class com.ibm.di.connector.Connector |
---|
ALL_MODES, myLog, PROPERTY_MESSAGE, PROPERTY_READER, PROPERTY_WRITER |
Constructor Summary | |
---|---|
DSMLv2SOAPConnector()
Default constructor. |
Method Summary | |
---|---|
void |
deleteEntry(Entry aEntry,
SearchCriteria aSearch)
Deletes an existing entry. |
Entry |
findEntry(SearchCriteria aSearch)
Finds an existing entry. |
Entry |
getNextEntry()
Returns the next Entry from the connector. |
String |
getVersion()
Returns version information. |
void |
initialize(Object o)
Initialize the connector. |
boolean |
isDeltaSupported()
Returns true if this connector is able to perform delta updates |
void |
modEntry(Entry aEntry,
SearchCriteria aSearch)
Modifies an existing entry. |
void |
modEntry(Entry aNewEntry,
SearchCriteria aSearch,
Entry aOldEntry)
Modifies an existing entry. |
void |
putEntry(Entry aPutEntry)
Adds a new entry to the data source |
Entry |
queryReply(Entry aQueryEntry)
Performs a query/reply operations. |
void |
selectEntries()
Prepare the Connector for sequential read. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.ibm.di.connector.ConnectorInterface |
---|
getConfiguration, getContext, getFindEntryCount, getFirstFindEntry, getMaxDuplicateEntries, getName, getNextClient, getNextFindEntry, getParam, getPushbackEntry, getRawConnectorConfiguration, isExceptionFatal, isIOException, pushback, queryOperations, querySchema, reconnect, registerScriptBeans, replyEntry, setConfiguration, setContext, setCurrent, setLog, setMaxDuplicateEntries, setName, setParam, setRSInterface, terminate, terminateServer |
Field Detail |
---|
public static final String PARAMETER_URL
public static final String PARAMETER_AUTH_METHOD
public static final String PARAMETER_USERNAME
public static final String PARAMETER_PASSWORD
public static final String PARAMETER_BINARY_ATTRIBUTES
public static final String PARAMETER_SEARCH_BASE
public static final String PARAMETER_SEARCH_FILTER
public static final String PARAMETER_SEARCH_SCOPE
public static final String PARAMETER_SOAPBINDING
public static final String ATTR_NAME_HTTP_URL
public static final String ATTR_NAME_HTTP_METHOD
public static final String ATTR_NAME_HTTP_REMOTE_USER
public static final String ATTR_NAME_HTTP_REMOTE_PASSWORD
public static final String ATTR_NAME_HTTP_BODY
public static final String ATTR_NAME_HTTP_CONTENT_TYPE
public static final String ATTR_NAME_HTTP_CHARACTER_SET
public static final String HTTP_BASIC_AUTH
public static final String BASE_OBJECT
public static final String SINGLE_LEVEL
public static final String WHOLE_SUBTREE
Constructor Detail |
---|
public DSMLv2SOAPConnector()
Method Detail |
---|
public void initialize(Object o) throws Exception
Connector
initialize
in interface ConnectorInterface
initialize
in class Connector
o
- User provided parameter
Exception
public void putEntry(Entry aPutEntry) throws Exception
Connector
putEntry
in interface ConnectorInterface
putEntry
in class Connector
aPutEntry
- The entry data to add
Exception
- Any exceptions thrown by the connector's underlying classespublic Entry queryReply(Entry aQueryEntry) throws Exception
Connector
queryReply
in interface ConnectorInterface
queryReply
in class Connector
aQueryEntry
- The data used in outgoing call
Exception
- Any exceptions thrown by the connector's underlying classespublic void selectEntries() throws Exception
Connector
selectEntries
in interface ConnectorInterface
selectEntries
in class Connector
Exception
public Entry getNextEntry() throws Exception
Connector
getNextEntry
in interface ConnectorInterface
getNextEntry
in class Connector
Exception
Connector.selectEntries()
public Entry findEntry(SearchCriteria aSearch) throws Exception
Connector
findEntry
in interface ConnectorInterface
findEntry
in class Connector
aSearch
- The search criteria used to locate the entry to be modified
Exception
- Any exceptions thrown by the connector's underlying classespublic void modEntry(Entry aEntry, SearchCriteria aSearch) throws Exception
Connector
modEntry
in interface ConnectorInterface
modEntry
in class Connector
aEntry
- The entry dataaSearch
- The search criteria used to locate the entry to be modified
Exception
- Any exceptions thrown by the connector's underlying classespublic void modEntry(Entry aNewEntry, SearchCriteria aSearch, Entry aOldEntry) throws Exception
Connector
modEntry
in interface ConnectorInterface
modEntry
in class Connector
aNewEntry
- The entry dataaSearch
- The search criteria used to locate the entry to be modifiedaOldEntry
- The old entry found by the search criteria
Exception
- Any exceptions thrown by the connector's underlying classespublic void deleteEntry(Entry aEntry, SearchCriteria aSearch) throws Exception
Connector
deleteEntry
in interface ConnectorInterface
deleteEntry
in class Connector
aEntry
- The entry dataaSearch
- The search criteria used to locate the entry to be deleted
Exception
- Any exceptions thrown by the connector's underlying classespublic boolean isDeltaSupported()
Connector
isDeltaSupported
in interface ConnectorInterface
isDeltaSupported
in class Connector
public String getVersion()
getVersion
in interface VersionInfoInterface
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |