public class SeamServiceInvoker extends ServiceInvoker<SeamServiceFactory>
| Modifier and Type | Field and Description |
|---|---|
static String |
CAPITALIZED_DESTINATION_ID |
static String |
DESTINATION_ID |
destination, factory, invocationListeners, invokee| Constructor and Description |
|---|
SeamServiceInvoker(Destination destination,
SeamServiceFactory factory,
Object instance) |
| Modifier and Type | Method and Description |
|---|---|
protected Object |
afterInvocation(ServiceInvocationContext context,
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 String CAPITALIZED_DESTINATION_ID
public static final String DESTINATION_ID
public SeamServiceInvoker(Destination destination, SeamServiceFactory factory, Object instance) throws ServiceException
ServiceExceptionprotected void beforeInvocation(ServiceInvocationContext context)
ServiceInvokerbeforeInvocation in class ServiceInvoker<SeamServiceFactory>context - the current invocation context.protected Object afterInvocation(ServiceInvocationContext context, Object result)
ServiceInvokerafterInvocation in class ServiceInvoker<SeamServiceFactory>context - the current invocation context.result - the result of the invocation (returned by the called method).