org.granite.messaging.service
Class SimpleServiceInvoker
java.lang.Object
org.granite.messaging.service.ServiceInvoker<SimpleServiceFactory>
org.granite.messaging.service.SimpleServiceInvoker
public class SimpleServiceInvoker
- extends ServiceInvoker<SimpleServiceFactory>
- Author:
- Franck WOLFF
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimpleServiceInvoker
protected SimpleServiceInvoker(Destination destination,
SimpleServiceFactory factory)
throws ServiceException
- Throws:
ServiceException
adjustInvokee
protected Object adjustInvokee(RemotingMessage request,
String methodName,
Object[] args)
throws ServiceException
- Description copied from class:
ServiceInvoker
- Called at the beginning of the
ServiceInvoker.invoke(RemotingMessage) method. Give a chance to modify the
the services (invokee) about to be called. Does nothing by default. The default invokee object is
created by actual implementations of this abstract class.
- Overrides:
adjustInvokee in class ServiceInvoker<SimpleServiceFactory>
- Parameters:
request - the current remoting message (sent from Flex).methodName - the name of the method to be called.args - the method parameter values.
- Returns:
- the (possibly adjusted) invokee object.
- Throws:
ServiceException - if anything goes wrong.