com.google.gwt.requestfactory.server
Class ReflectionBasedOperationRegistry
java.lang.Object
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.
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SCOPE_SEPARATOR
public static final java.lang.String SCOPE_SEPARATOR
- See Also:
- Constant Field Values
ReflectionBasedOperationRegistry
public ReflectionBasedOperationRegistry(RequestSecurityProvider securityProvider)
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