public class EndpointAdapter extends java.lang.Object implements EndpointAdapterMBean
Constructor and Description |
---|
EndpointAdapter(javax.resource.spi.endpoint.MessageEndpointFactory meFactory,
javax.resource.spi.ActivationSpec aSpec) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getHandler() |
long |
getTotalActivations() |
byte[] |
process(java.lang.String activation,
byte[] body)
Process the request or return null if this Endpoint is not
able to process the request.
|
java.lang.String |
toString() |
public EndpointAdapter(javax.resource.spi.endpoint.MessageEndpointFactory meFactory, javax.resource.spi.ActivationSpec aSpec)
public byte[] process(java.lang.String activation, byte[] body)
Process the request or return null if this Endpoint is not able to process the request.
activation
- body
- public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String getHandler()
public long getTotalActivations()
getTotalActivations
in interface EndpointAdapterMBean