public class ControllerInvocationHandler extends Object implements InvocationHandler
Invocation handler used for forwarding proxied methods for controllers.
Modifier and Type | Field and Description |
---|---|
protected DMXExtensionCallback |
callback
Extension callback used by this class.
|
protected boolean |
extendable
If
true , indicates that underlying object implement
DMXExtendable . |
Constructor and Description |
---|
ControllerInvocationHandler(Class clazz)
Creates new instance.
|
Modifier and Type | Method and Description |
---|---|
String |
getUnderlyingClassName()
Returns class name of the underlying object.
|
Object |
invoke(Object proxy,
Method method,
Object[] args) |
protected DMXExtensionCallback callback
protected boolean extendable
true
, indicates that underlying object implement
DMXExtendable
.public ControllerInvocationHandler(Class clazz) throws InstantiationException, IllegalAccessException, InvocationTargetException
clazz
- controller classInstantiationException
- if class can not be instantiatedIllegalAccessException
- if fields cannot be accessedInvocationTargetException
- if an error occurs during executionCopyright © 2012-2014 Vektor Software. All Rights Reserved.