public abstract class ReflectedObjectStore extends ObjectStore
| Modifier and Type | Field and Description |
|---|---|
private java.util.Map |
commandMap_ |
| Constructor and Description |
|---|
ReflectedObjectStore()
Create an instance
|
| Modifier and Type | Method and Description |
|---|---|
private void |
attemptToSuppressAccessControl(java.lang.reflect.Method method) |
protected java.lang.Object |
executeImpl(ObjectStoreCommand command)
Execute the specified command
|
void |
registerCommand(java.lang.Class commandClass,
java.lang.String methodName)
Register a command and the method that will be invoked when that command is
passed into execute()
|
assertNotNull, execute, getResource, getResourceManager, handleError, handleException, releaseResource, setResourceFactoryMap, setResourceManagerprotected final java.lang.Object executeImpl(ObjectStoreCommand command) throws java.lang.Throwable
executeImpl in class ObjectStorecommand - The command to executejava.lang.Throwable - If an error occursObjectStore.execute(ObjectStoreCommand)public void registerCommand(java.lang.Class commandClass,
java.lang.String methodName)
commandClass - The class of the commandmethodName - The name of the method that will be executedprivate void attemptToSuppressAccessControl(java.lang.reflect.Method method)