public class EjbServiceInvoker extends ServiceInvoker<EjbServiceFactory>
| 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 |
|---|
EjbServiceInvoker(Destination destination,
EjbServiceFactory factory) |
| 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 |
afterInvocationError(ServiceInvocationContext context,
java.lang.Throwable error)
Called after a failed invocation of the service's method, possibly after a new attempt (see
ServiceInvoker.retryInvocation(ServiceInvocationContext, Throwable). |
EjbServiceMetadata |
getMetadata() |
adjustInvokee, beforeInvocation, beforeMethodSearch, invoke, retryInvocationpublic static final java.lang.String CAPITALIZED_DESTINATION_ID
public static final java.lang.String DESTINATION_ID
public EjbServiceInvoker(Destination destination, EjbServiceFactory factory) throws ServiceException
ServiceExceptionpublic EjbServiceMetadata getMetadata()
protected void afterInvocationError(ServiceInvocationContext context, java.lang.Throwable error)
ServiceInvokerServiceInvoker.retryInvocation(ServiceInvocationContext, Throwable). Does nothing by default.afterInvocationError in class ServiceInvoker<EjbServiceFactory>context - the current invocation context.error - the exception that caused the invocation failure.protected java.lang.Object afterInvocation(ServiceInvocationContext context, java.lang.Object result)
ServiceInvokerafterInvocation in class ServiceInvoker<EjbServiceFactory>context - the current invocation context.result - the result of the invocation (returned by the called method).