| java.lang.Object org.jboss.seam.remoting.gwt.GWTToSeamAdapter
GWTToSeamAdapter | public class GWTToSeamAdapter (Code) | | This class adapts GWT RPC mechanism to Seam actions.
author: Michael Neale |
Inner Class :static class ReturnedObject | |
METHOD_CACHE | final static Map METHOD_CACHE(Code) | | A very simple cache of previously looked up methods
|
callWebRemoteMethod | public ReturnedObject callWebRemoteMethod(String serviceIntfName, String methodName, Class[] paramTypes, Object[] args) throws InvocationTargetException, IllegalAccessException, SecurityException(Code) | | Call the service.
Parameters: serviceIntfName - The interface name - this will be the fully qualified name of the remote service interface asunderstood by GWT. This correlates to a component name in seam. Parameters: methodName - The method name of the service being invoked. Parameters: paramTypes - The types of parameters - needed for method lookup for polymorphism. Parameters: args - The values to be passed to the service method. A populated ReturnedObject - the returned object payload may be null, but the type will not be. throws: InvocationTargetException - throws: IllegalAccessException - |
getServiceComponent | protected Object getServiceComponent(String serviceIntfName)(Code) | | Return the service component that has been bound to the given name.
|
|
|