org.granite.seam
Class SeamServiceInvoker
java.lang.Object
org.granite.messaging.service.ServiceInvoker<SeamServiceFactory>
org.granite.seam.SeamServiceInvoker
public class SeamServiceInvoker
- extends ServiceInvoker<SeamServiceFactory>
- Author:
- Cameron INGRAM, Venkat DANDA
| 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
SeamServiceInvoker
public SeamServiceInvoker(Destination destination,
SeamServiceFactory factory,
Object instance)
throws ServiceException
- Throws:
ServiceException
beforeInvocation
protected void beforeInvocation(ServiceInvocationContext context)
- Description copied from class:
ServiceInvoker
- Called before the invocation of the services method. Does nothing by default.
- Overrides:
beforeInvocation in class ServiceInvoker<SeamServiceFactory>
- Parameters:
context - the current invocation context.
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<SeamServiceFactory>
- Parameters:
context - the current invocation context.result - the result of the invocation (returned by the called method).