|
Sun Adapter for COM/DCOM API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.stc.connector.comadapter.appconn.ComApplicationConnection
public class ComApplicationConnection
This class implements the ApplicationConnection interface for the COM application connection.
Constructor Summary | |
---|---|
ComApplicationConnection(com.stc.connector.framework.eway.ManagedConnectionCallback mc,
ComEwayConnection ewConn,
com.stc.connector.framework.util.ConfigurationHelper aConfiguration)
Creates a new instance of HttpApplicationConnection. |
Method Summary | |
---|---|
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. |
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 |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ComApplicationConnection(com.stc.connector.framework.eway.ManagedConnectionCallback mc, ComEwayConnection ewConn, com.stc.connector.framework.util.ConfigurationHelper aConfiguration)
mc
- The ManagedConnection which created this connection.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.
|
Sun Adapter for COM/DCOM API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |