org.granite.messaging.service
Class EjbServiceInvoker
java.lang.Object
org.granite.messaging.service.ServiceInvoker<EjbServiceFactory>
org.granite.messaging.service.EjbServiceInvoker
public class EjbServiceInvoker
- extends ServiceInvoker<EjbServiceFactory>
- Author:
- Franck WOLFF
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CAPITALIZED_DESTINATION_ID
public static final String CAPITALIZED_DESTINATION_ID
- See Also:
- Constant Field Values
DESTINATION_ID
public static final String DESTINATION_ID
- See Also:
- Constant Field Values
EjbServiceInvoker
public EjbServiceInvoker(Destination destination,
EjbServiceFactory factory)
throws ServiceException
- Throws:
ServiceException
getMetadata
public EjbServiceMetadata getMetadata()
afterInvocationError
protected void afterInvocationError(ServiceInvocationContext context,
Throwable error)
- Description copied from class:
ServiceInvoker
- Called after a failed invocation of the service's method, possibly after a new attempt (see
ServiceInvoker.retryInvocation(ServiceInvocationContext, Throwable). Does nothing by default.
- Overrides:
afterInvocationError in class ServiceInvoker<EjbServiceFactory>
- Parameters:
context - the current invocation context.error - the exception that caused the invocation failure.
afterInvocation
protected Object afterInvocation(ServiceInvocationContext context,
Object result)
- Description copied from class:
ServiceInvoker
- Called after a successful invocation of the service's method. Does nothing by default.
- Overrides:
afterInvocation in class ServiceInvoker<EjbServiceFactory>
- Parameters:
context - the current invocation context.result - the result of the invocation (returned by the called method).