public class SeamServiceInvoker extends ServiceInvoker<SeamServiceFactory>
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CAPITALIZED_DESTINATION_ID |
static java.lang.String |
DESTINATION_ID |
destination, factory, invocationListeners, invokee| Constructor and Description |
|---|
SeamServiceInvoker(Destination destination,
SeamServiceFactory factory,
java.lang.Object instance) |
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.Object |
afterInvocation(ServiceInvocationContext context,
java.lang.Object result)
Called after a successful invocation of the service's method.
|
protected void |
beforeInvocation(ServiceInvocationContext context)
Called before the invocation of the services method.
|
adjustInvokee, afterInvocationError, beforeMethodSearch, invoke, retryInvocationpublic static final java.lang.String CAPITALIZED_DESTINATION_ID
public static final java.lang.String DESTINATION_ID
public SeamServiceInvoker(Destination destination, SeamServiceFactory factory, java.lang.Object instance) throws ServiceException
ServiceExceptionprotected void beforeInvocation(ServiceInvocationContext context)
ServiceInvokerbeforeInvocation in class ServiceInvoker<SeamServiceFactory>context - the current invocation context.protected java.lang.Object afterInvocation(ServiceInvocationContext context, java.lang.Object result)
ServiceInvokerafterInvocation in class ServiceInvoker<SeamServiceFactory>context - the current invocation context.result - the result of the invocation (returned by the called method).