com.google.gwt.requestfactory.server
Class ReflectionBasedOperationRegistry

java.lang.Object
  extended by com.google.gwt.requestfactory.server.ReflectionBasedOperationRegistry
All Implemented Interfaces:
OperationRegistry

public class ReflectionBasedOperationRegistry
extends java.lang.Object
implements OperationRegistry

Experimental API: This class is still under rapid development, and is very likely to be deleted. Use it at your own risk.

OperationRegistry which uses the operation name as a convention for reflection to a method on a class, and returns an appropriate RequestFactory.RequestDefinition.


Field Summary
static java.lang.String SCOPE_SEPARATOR
           
 
Constructor Summary
ReflectionBasedOperationRegistry(RequestSecurityProvider securityProvider)
           
 
Method Summary
 RequestFactory.RequestDefinition getOperation(java.lang.String operationName)
          Turns an operation in the form of package.requestClass::method into a RequestDefinition via reflection.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SCOPE_SEPARATOR

public static final java.lang.String SCOPE_SEPARATOR
See Also:
Constant Field Values
Constructor Detail

ReflectionBasedOperationRegistry

public ReflectionBasedOperationRegistry(RequestSecurityProvider securityProvider)
Method Detail

getOperation

public RequestFactory.RequestDefinition getOperation(java.lang.String operationName)
Turns an operation in the form of package.requestClass::method into a RequestDefinition via reflection.

Specified by:
getOperation in interface OperationRegistry