|
Sun Adapter for SAP BAPI API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.stc.connector.sapbapiadapter.appconn.SAPApplicationConnection
public class SAPApplicationConnection
This class implements the ApplicationConnection interface for the Bapi Application Connection.
Constructor Summary | |
---|---|
SAPApplicationConnection(com.stc.connector.framework.eway.ManagedConnectionCallback mcCallback)
Creates a new instance of BapiApplicationConnection. |
Method Summary | |
---|---|
protected boolean |
checkIfClosed()
Check whether the Connection instance was already closed (if close was previously called). |
void |
close()
Closes the application connection handle. |
java.lang.Object |
createApplication(java.lang.String appName)
Creates an Application from the Application Connection. |
com.stc.connector.appconn.common.OutputHandler |
createOutputHandler()
Creates an OutputHandler for "sending" data to the EIS. |
SAPEwayConnection |
getEwayConnection()
Get the ManagedConnection associated with this application connection. |
void |
invalidateConnection()
This is called by the ManagedConnection to invalidate the connection handle. |
void |
reassociateConnection(com.stc.connector.framework.eway.ManagedConnectionCallback mc)
This is called by the ManagedConnection to associate the connection handle to the ManagedConnection. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SAPApplicationConnection(com.stc.connector.framework.eway.ManagedConnectionCallback mcCallback)
mcCallback
- The ManagedConnectionCallback for getting
services from ManagedConnection.Method Detail |
---|
public void close() throws com.stc.connector.appconn.common.ApplicationConnectionException
close
in interface com.stc.connector.appconn.common.ApplicationConnection
com.stc.connector.appconn.common.ApplicationConnectionException
- upon error.public java.lang.Object createApplication(java.lang.String appName) throws com.stc.connector.appconn.common.ApplicationException
createApplication
in interface com.stc.connector.appconn.common.ApplicationConnection
appName
- The name of the application to create.
com.stc.connector.appconn.common.ApplicationException
- upon error.public com.stc.connector.appconn.common.OutputHandler createOutputHandler() throws com.stc.connector.appconn.common.ApplicationException
createOutputHandler
in interface com.stc.connector.appconn.common.ApplicationConnection
com.stc.connector.appconn.common.ApplicationException
- upon error.public void invalidateConnection() throws javax.resource.ResourceException
invalidateConnection
in interface com.stc.connector.framework.client.AssociateableHandle
javax.resource.ResourceException
- upon error.public void reassociateConnection(com.stc.connector.framework.eway.ManagedConnectionCallback mc) throws javax.resource.ResourceException
reassociateConnection
in interface com.stc.connector.framework.client.AssociateableHandle
mc
- The ManagedConnection instance with which the connection
handle will associate.
javax.resource.ResourceException
- upon error.protected boolean checkIfClosed()
public SAPEwayConnection getEwayConnection()
|
Sun Adapter for SAP BAPI API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |