public abstract class EntityProxyMethodHandler extends GroovyObjectMethodHandler
Base class for entity proxy handlers that are aware of Groovy
Modifiers | Name | Description |
---|---|---|
static java.lang.String |
GET_ID_METHOD |
|
static java.lang.String |
GET_PROXY_KEY_METHOD |
|
static java.lang.String |
GET_TARGET_METHOD |
|
static java.lang.String |
INITIALIZED_PROPERTY |
|
static java.lang.String |
INITIALIZE_METHOD |
|
static java.lang.String |
IS_INITIALIZED_METHOD |
|
static java.lang.String |
IS_PROXY_METHOD |
|
static java.lang.String |
PROXY_KEY_PROPERTY |
|
static java.lang.String |
PROXY_PROPERTY |
|
static java.lang.String |
TARGET_PROPERTY |
Fields inherited from class | Fields |
---|---|
class GroovyObjectMethodHandler |
GET_META_CLASS, GET_PROPERTY, INVOKE_IMPLEMENTATION, INVOKE_METHOD, META_CLASS_PROPERTY, SET_META_CLASS, SET_PROPERTY, metaClass, proxyClass |
Constructor and description |
---|
EntityProxyMethodHandler
(java.lang.Class<?> proxyClass) |
Type Params | Return Type | Name and description |
---|---|---|
|
protected java.lang.Object |
getPropertyBeforeResolving(java.lang.Object self, java.lang.String property) |
|
protected abstract java.lang.Object |
getProxyKey(java.lang.Object self) |
|
protected java.lang.Object |
getProxyTarget(java.lang.Object self) |
|
public java.lang.Object |
handleInvocation(java.lang.Object self, java.lang.reflect.Method thisMethod, java.lang.Object[] args) |
|
protected java.lang.Object |
handleInvocationFallback(java.lang.Object self, java.lang.reflect.Method thisMethod, java.lang.Object[] args) |
|
protected void |
initializeProxyTarget(java.lang.Object self) |
|
protected java.lang.Object |
invokeEntityProxyMethods(java.lang.Object self, java.lang.String methodName, java.lang.Object[] args) |
|
public java.lang.Object |
invokeMethodBeforeResolving(java.lang.Object self, java.lang.String methodName, java.lang.Object[] args) |
|
protected abstract java.lang.Object |
isProxyInitiated(java.lang.Object self) |