|
Sun Adapter for WebLogic API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.stc.connector.ejbadapter.appconn.EjbApplicationConnection
public class EjbApplicationConnection
This class implements the ApplicationConnection interface for the ICAN EJB Application Connection.
Constructor Summary | |
---|---|
EjbApplicationConnection(com.stc.connector.framework.eway.ManagedConnectionCallback aCallback)
Creates a new instance of EjbApplicationConnection. |
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. |
EjbEwayConnection |
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. |
void |
sendAlert(java.lang.String msg,
int level)
sendAlert
Wrapper for the mbean sendAlert method just in case the mbean
is not initialized properly/ |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EjbApplicationConnection(com.stc.connector.framework.eway.ManagedConnectionCallback aCallback)
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. this will be the full path
name of idl interface, e.g., demo.grid.MyServer
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.public EjbEwayConnection getEwayConnection()
protected boolean checkIfClosed()
public void sendAlert(java.lang.String msg, int level)
sendAlert
Wrapper for the mbean sendAlert method just in case the mbean
is not initialized properly/
msg
- the message to be displayedlevel
- the event level for eMonitor
|
Sun Adapter for WebLogic API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |