|
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.eway.SAPEndpoint
public class SAPEndpoint
Implementation of EwayActivationSpec for SAP Bapi activations.
Constructor Summary | |
---|---|
SAPEndpoint()
|
Method Summary | |
---|---|
void |
activation(javax.resource.spi.endpoint.MessageEndpointFactory mef,
javax.resource.spi.BootstrapContext bc,
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. |
protected long |
getActivationDuration()
Get the duration of this activation. |
protected javax.resource.spi.endpoint.MessageEndpointFactory |
getMessageEndpointFactory()
Validate the activation request information used to create an eWay endpoint activation. |
protected javax.resource.spi.work.WorkManager |
getWorkManager()
Get the WorkManager for submitting Work requests. |
javax.transaction.xa.XAResource |
getXAResource()
Get the XAResource from the current active eWay endpoint. |
void |
initialize(javax.resource.spi.BootstrapContext bc)
Initialize the EwayActivationSpec instance. |
void |
release()
|
protected long |
setLastEventTime(long eventTime)
Set the last occurring event time. |
void |
setMonitor(com.stc.connector.management.util.ObjectReference aMonitor)
|
void |
validate(com.stc.configuration.IConfiguration aConfiguration)
Validate the activation request information used to create an eWay endpoint activation. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SAPEndpoint()
Method Detail |
---|
public void activation(javax.resource.spi.endpoint.MessageEndpointFactory mef, javax.resource.spi.BootstrapContext bc, com.stc.configuration.IConfiguration aConfiguration, com.stc.connector.management.util.ObjectReference aMonitor) throws javax.resource.NotSupportedException
activation
in interface com.stc.connector.framework.eway.EwayEndpoint
mef
- The MessageEndpointFactory assoicated with the activation.bc
- The BootstrapContext provided by the container.aConfiguration
- The instance of IConfiguration which contains the
information for creating an endpoint activation.aMonitor
- The monitor ObjectReference.
javax.resource.NotSupportedException
- Indicates that callee (resource adapter or application server
for system contracts) cannot execute an operation because the operation is not a supported feature(MessageEndpointFactory, BootstrapContext, IConfiguration, ObjectReference)
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 void release()
public javax.transaction.xa.XAResource getXAResource() throws javax.resource.ResourceException
getXAResource
in interface com.stc.connector.framework.eway.EwayEndpoint
javax.resource.ResourceException
- upon error.public void initialize(javax.resource.spi.BootstrapContext bc)
bc
- The BootstrapContext provided by the container.public void validate(com.stc.configuration.IConfiguration aConfiguration) throws javax.resource.spi.InvalidPropertyException
aConfiguration
- The instance of IConfiguration which contains the
information for creating an endpoint activation.
javax.resource.spi.InvalidPropertyException
- if one or more of the properties is
invalid.protected long setLastEventTime(long eventTime)
eventTime
- The last occurring event time.
protected long getActivationDuration()
protected javax.resource.spi.endpoint.MessageEndpointFactory getMessageEndpointFactory()
protected javax.resource.spi.work.WorkManager getWorkManager()
public void setMonitor(com.stc.connector.management.util.ObjectReference aMonitor)
setMonitor
in interface com.stc.connector.management.STCManagedSlave
|
Sun Adapter for SAP BAPI API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |