com.jbase.jremote.jca.inflow
Class EndpointAdapter
java.lang.Object
com.jbase.jremote.jca.inflow.EndpointAdapter
- All Implemented Interfaces:
- EndpointAdapterMBean
public class EndpointAdapter
- extends java.lang.Object
- implements EndpointAdapterMBean
Constructor Summary |
EndpointAdapter(javax.resource.spi.endpoint.MessageEndpointFactory meFactory,
javax.resource.spi.ActivationSpec aSpec)
|
Method Summary |
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()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
EndpointAdapter
public EndpointAdapter(javax.resource.spi.endpoint.MessageEndpointFactory meFactory,
javax.resource.spi.ActivationSpec aSpec)
process
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.
- Parameters:
activation
- body
-
- Returns:
- String result
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
getHandler
public java.lang.String getHandler()
getTotalActivations
public long getTotalActivations()
- Specified by:
getTotalActivations
in interface EndpointAdapterMBean
Copyright © 2010 TEMENOS. All Rights Reserved.