|
Sun Adapter for e-Mail API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.stc.connector.emailadapter.eway.EmailEndpoint
public class EmailEndpoint
This class implements the EwayActivationSepc interface for the Email. It is required that it has a public constructor without arguments.
Constructor Summary | |
---|---|
EmailEndpoint()
Default constructor |
Method Summary | |
---|---|
void |
activation(javax.resource.spi.endpoint.MessageEndpointFactory mef,
javax.resource.spi.BootstrapContext aContext,
com.stc.configuration.IConfiguration aConfiguration,
com.stc.connector.management.util.ObjectReference aMonitor)
Activate eWay endpoint. |
void |
deactivation(javax.resource.spi.endpoint.MessageEndpointFactory mef)
Deactivate (terminate) eWay endpoint. |
com.stc.connector.framework.util.ConfigurationHelper |
getConfiguration()
|
protected javax.resource.spi.endpoint.MessageEndpointFactory |
getMessageEndpointFactory()
Returns the MessageEndpointFactory for this activation. |
com.stc.connector.management.util.ObjectReference |
getMonitor()
Gets the eWay ActivationSpec MBean. |
protected com.stc.connector.framework.util.SemiSema |
getSema()
Returns the semi-semaphore for this activation. |
protected javax.resource.spi.work.WorkManager |
getWorkManager()
Gets the WorkManager. |
javax.transaction.xa.XAResource |
getXAResource()
Get the XAResource from the current active eWay endpoint. |
void |
setMonitor(com.stc.connector.management.util.ObjectReference aValue)
Sets the eWay ActivationSpec MBean. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EmailEndpoint()
Method Detail |
---|
public void setMonitor(com.stc.connector.management.util.ObjectReference aValue)
setMonitor
in interface com.stc.connector.management.STCManagedSlave
ewayASMbean
- The eWay ActivationSpec MBean.public com.stc.connector.management.util.ObjectReference getMonitor()
public void activation(javax.resource.spi.endpoint.MessageEndpointFactory mef, javax.resource.spi.BootstrapContext aContext, com.stc.configuration.IConfiguration aConfiguration, com.stc.connector.management.util.ObjectReference aMonitor) throws javax.resource.ResourceException
activation
in interface com.stc.connector.framework.eway.EwayEndpoint
mef
- The MessageEndpointFactory assoicated with the activation.ari
- The instance of STCPropertiesInfo which contains the
information for creating an endpoint activation.
javax.resource.NotSupportedException
- upon error.
javax.resource.ResourceException
public void deactivation(javax.resource.spi.endpoint.MessageEndpointFactory mef)
deactivation
in interface com.stc.connector.framework.eway.EwayEndpoint
mef
- The MessageEndpointFactory assoicated with the activation.public javax.transaction.xa.XAResource getXAResource() throws javax.resource.ResourceException
getXAResource
in interface com.stc.connector.framework.eway.EwayEndpoint
javax.resource.ResourceException
- upon error.protected com.stc.connector.framework.util.SemiSema getSema()
public com.stc.connector.framework.util.ConfigurationHelper getConfiguration()
protected javax.resource.spi.endpoint.MessageEndpointFactory getMessageEndpointFactory()
protected javax.resource.spi.work.WorkManager getWorkManager()
|
Sun Adapter for e-Mail API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |