|
||||||||||
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.DSMLv2SOAPServerConnector
public class DSMLv2SOAPServerConnector
The DSMLv2 SOAP Server Connector implements the DSMLv2 standard (http://www.oasis-open.org/committees/dsml/docs/DSMLv2.doc). It listens for DSMLv2 requests over HTTP. Once it receives the request, it parses the request and sends the parsed request to the AssemblyLine workflow to process it. The result is sent back to the client over HTTP. SOAP DSML binding is supported by the Connector.
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_REMOTE_PASSWORD
|
static String |
ATTR_NAME_HTTP_REMOTE_USER
|
static String |
HTTP_BAD_REQUEST
|
static String |
HTTP_INTERNAL_SERVER_ERROR
|
static String |
HTTP_PARAM_PARAMETER_USE_CHUNKS
|
static String |
PARAM_REQUIRE_CLIENT_AUTH
|
static String |
PARAM_SYSTEM_TCP_BACKLOG
|
static String |
PARAM_TCP_BACKLOG
|
static String |
PARAMETER_AUTH_REALM
|
static String |
PARAMETER_BINARY_ATTRIBUTES
|
static String |
PARAMETER_DSML_PORT
|
static String |
PARAMETER_HTTP_BASIC_AUTH
|
static String |
PARAMETER_SOAPBINDING
|
static String |
PARAMETER_USE_SSL
|
Fields inherited from class com.ibm.di.connector.Connector |
---|
ALL_MODES, myLog, PROPERTY_MESSAGE, PROPERTY_READER, PROPERTY_WRITER |
Constructor Summary | |
---|---|
DSMLv2SOAPServerConnector()
|
Method Summary | |
---|---|
ConnectorInterface |
getNextClient()
Server mode - return a clone of self that handles the next client instance when running in server mode. |
Entry |
getNextEntry()
Returns the next Entry from the connector. |
String |
getPassword()
|
DSMLv2SOAPServerConnector |
getServerConnector()
Returns the server connector if this connector is handling an DSML client session. |
String |
getUserName()
|
String |
getVersion()
|
void |
initialize(Object aObject)
Initialize the connector. |
boolean |
isAccepting()
Returns true if this connector is currently waiting for a client connection. |
boolean |
isTerminating()
Returns true if this connector has the termination flag set. |
void |
putEntry(Entry aEntry)
Adds a new entry to the data source |
void |
rejectClientAuthentication()
|
void |
replyEntry(Entry aResponseEntry)
Send a reply to the connector. |
void |
setServerConnector(DSMLv2SOAPServerConnector aServerConnector)
Sets the server connector for this connector. |
void |
terminate()
Terminate the connector. |
void |
terminateServer()
This method tries to terminate the server by setting the termination flag for the connector returned by getServerConnector and immediatly connecting to its port (which should fail). |
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 |
---|
deleteEntry, findEntry, getConfiguration, getContext, getFindEntryCount, getFirstFindEntry, getMaxDuplicateEntries, getName, getNextFindEntry, getParam, getPushbackEntry, getRawConnectorConfiguration, isDeltaSupported, isExceptionFatal, isIOException, modEntry, modEntry, pushback, queryOperations, queryReply, querySchema, reconnect, registerScriptBeans, selectEntries, setConfiguration, setContext, setCurrent, setLog, setMaxDuplicateEntries, setName, setParam, setRSInterface |
Field Detail |
---|
public static final String PARAMETER_DSML_PORT
public static final String PARAM_TCP_BACKLOG
public static final String PARAM_SYSTEM_TCP_BACKLOG
public static final String PARAMETER_USE_SSL
public static final String PARAM_REQUIRE_CLIENT_AUTH
public static final String PARAMETER_BINARY_ATTRIBUTES
public static final String PARAMETER_SOAPBINDING
public static final String PARAMETER_HTTP_BASIC_AUTH
public static final String PARAMETER_AUTH_REALM
public static final String HTTP_PARAM_PARAMETER_USE_CHUNKS
public static final String HTTP_BAD_REQUEST
public static final String HTTP_INTERNAL_SERVER_ERROR
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
Constructor Detail |
---|
public DSMLv2SOAPServerConnector()
Method Detail |
---|
public void initialize(Object aObject) throws Exception
Connector
initialize
in interface ConnectorInterface
initialize
in class Connector
aObject
- User provided parameter
Exception
public DSMLv2SOAPServerConnector getServerConnector()
public void setServerConnector(DSMLv2SOAPServerConnector aServerConnector)
public boolean isAccepting()
public boolean isTerminating()
public void terminate() throws Exception
terminate
in interface ConnectorInterface
terminate
in class Connector
Exception
public void terminateServer() throws Exception
terminateServer
in interface ConnectorInterface
terminateServer
in class Connector
Exception
public ConnectorInterface getNextClient() throws Exception
Connector
getNextClient
in interface ConnectorInterface
getNextClient
in class Connector
Exception
public Entry getNextEntry() throws Exception
Connector
getNextEntry
in interface ConnectorInterface
getNextEntry
in class Connector
Exception
Connector.selectEntries()
public void putEntry(Entry aEntry) throws Exception
Connector
putEntry
in interface ConnectorInterface
putEntry
in class Connector
aEntry
- The entry data to add
Exception
- Any exceptions thrown by the connector's underlying classespublic void replyEntry(Entry aResponseEntry) throws Exception
Connector
replyEntry
in interface ConnectorInterface
replyEntry
in class Connector
Exception
public String getUserName()
public String getPassword()
public void rejectClientAuthentication() throws Exception
Exception
public String getVersion()
getVersion
in interface VersionInfoInterface
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |