public class DefaultOperationManager extends Object implements OperationManager
| Constructor and Description |
|---|
DefaultOperationManager() |
| Modifier and Type | Method and Description |
|---|---|
Operation |
getOperation(Class theClass,
int code) |
Operation |
getOperation(Class theClass,
String name) |
Operation |
getOperation(Object obj,
int code) |
Operation |
getOperation(Object obj,
String name) |
int |
getOperationCode(Class theClass,
String name) |
boolean |
hasOperation(Class theClass,
int code) |
boolean |
hasOperation(Class theClass,
String name) |
boolean |
hasOperation(Object obj,
int code) |
boolean |
hasOperation(Object obj,
String name) |
Object |
invokeOperation(Object obj,
int code,
OperationContext context) |
Object |
invokeOperation(Object obj,
String name,
OperationContext context) |
int |
registerOperation(Operation operation,
Class theClass) |
int |
registerOperation(Operation operation,
Object obj) |
public int registerOperation(Operation operation, Class theClass)
registerOperation in interface OperationManagerpublic Operation getOperation(Object obj, String name) throws OperationNotSupportedException
getOperation in interface OperationManagerOperationNotSupportedExceptionpublic Operation getOperation(Class theClass, String name) throws OperationNotSupportedException
getOperation in interface OperationManagerOperationNotSupportedExceptionpublic Operation getOperation(Object obj, int code) throws OperationNotSupportedException
getOperation in interface OperationManagerOperationNotSupportedExceptionpublic Operation getOperation(Class theClass, int code) throws OperationNotSupportedException
getOperation in interface OperationManagerOperationNotSupportedExceptionpublic boolean hasOperation(Object obj, String name)
hasOperation in interface OperationManagerpublic boolean hasOperation(Object obj, int code)
hasOperation in interface OperationManagerpublic boolean hasOperation(Class theClass, String name)
hasOperation in interface OperationManagerpublic boolean hasOperation(Class theClass, int code)
hasOperation in interface OperationManagerpublic Object invokeOperation(Object obj, String name, OperationContext context) throws OperationException
invokeOperation in interface OperationManagerOperationExceptionpublic Object invokeOperation(Object obj, int code, OperationContext context) throws OperationException
invokeOperation in interface OperationManagerOperationExceptionpublic int getOperationCode(Class theClass, String name) throws OperationNotSupportedException
getOperationCode in interface OperationManagerOperationNotSupportedExceptionpublic int registerOperation(Operation operation, Object obj)
registerOperation in interface OperationManager