public abstract class ApplicationConnector
extends java.lang.Object
Processor
,
ApplicationTransaction
,
SOAPTransaction
Constructor and Description |
---|
ApplicationConnector() |
Modifier and Type | Method and Description |
---|---|
void |
close(Processor processor)
Method is called by the Processor after the connection to the Cordys ESB is closed.
|
protected IManagedComponent |
createManagedComponent()
Create a managed component for this application connector, using the processor as parent component.
|
ApplicationTransaction |
createTransaction(Request request)
Deprecated.
Implement the method createTransaction(SOAPTransaction) instead.
|
int |
getConfiguration()
Returns the XML node that is supposed to contain the configuration information of this ApplicationConnector.
|
static ApplicationConnector |
getInstance(java.lang.String serviceClassName) |
protected IManagedComponent |
getManagedComponent()
Create a managed component for this application connector, using the processor as parent component.
|
protected java.lang.String |
getManagedComponentType()
Returns the type of this managed component.
|
protected ILocalizableString |
getManagementDescription()
Returns the description of this application connector, suitable for usage in a management tool.
|
protected java.lang.String |
getManagementName()
Returns the name of this application connector, suitable for usage in a management tool.
|
Processor |
getProcessor()
Returns the workerprocess in which this ApplicationConnector is running.
|
protected boolean |
handleMustUnderstandHeaderEntries(int[] headerEntryNodes,
MustUnderstandFault faultHandler)
Override this method to handle header entries with SOAP's mustUnderstand attribute set to value '1'.
|
void |
open(Processor processor)
Method is called by the Processor just after the connection to the Cordys ESB is opened.
|
protected boolean |
readyForDocPerThread()
Overload this method to not that your applicationconnector is optimized for using multiple nom documents iso only one per Connector.
|
void |
reset(Processor processor)
Method is called by the Processor when a reset request comes.
|
void |
setConfiguration(int node)
Sets the configuration node as it is defined in LDAP.
|
protected Processor processor
public static final ApplicationConnector getInstance(java.lang.String serviceClassName) throws java.lang.reflect.InvocationTargetException, java.lang.ClassNotFoundException, java.lang.NoSuchMethodException, java.lang.InstantiationException, java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
java.lang.ClassNotFoundException
java.lang.NoSuchMethodException
java.lang.InstantiationException
java.lang.IllegalAccessException
@Deprecated public ApplicationTransaction createTransaction(Request request)
public final Processor getProcessor()
public final void setConfiguration(int node)
node
- The configuration node.public final int getConfiguration()
public void open(Processor processor)
processor
- the Processor in which this ApplicationConnector is startedpublic void close(Processor processor)
processor
- the Processor in which this ApplicationConnector was runningpublic void reset(Processor processor)
processor
- the Processor in which this ApplicationConnector was runningprotected boolean readyForDocPerThread()
protected java.lang.String getManagementName()
protected ILocalizableString getManagementDescription()
protected java.lang.String getManagedComponentType()
protected IManagedComponent createManagedComponent()
protected boolean handleMustUnderstandHeaderEntries(int[] headerEntryNodes, MustUnderstandFault faultHandler)
headerEntryNodes
- a list of headerEntryNodes that has mustUnderstand Attribute value set to 1faultHandler
- A handler that allows the application create SOAP Fault.protected IManagedComponent getManagedComponent()