public class PropertyAccessInvocationHandler
extends java.lang.Object
implements net.sf.cglib.proxy.MethodInterceptor
Constructor and Description |
---|
PropertyAccessInvocationHandler(Expression<?> host,
AliasFactory aliasFactory,
PathFactory pathFactory,
TypeSystem typeSystem) |
Modifier and Type | Method and Description |
---|---|
protected PathMetadata<java.lang.Integer> |
createListAccessPath(Path<?> path,
java.lang.Integer index) |
protected PathMetadata<?> |
createMapAccessPath(Path<?> path,
java.lang.Object key) |
protected PathMetadata<java.lang.String> |
createPropertyPath(Path<?> path,
java.lang.String propertyName) |
java.lang.Object |
intercept(java.lang.Object proxy,
java.lang.reflect.Method method,
java.lang.Object[] args,
net.sf.cglib.proxy.MethodProxy methodProxy) |
protected <T> T |
newInstance(java.lang.Class<T> type,
java.lang.reflect.Type genericType,
java.lang.Object parent,
java.lang.Object propKey,
PathMetadata<?> metadata) |
protected java.lang.String |
propertyNameForGetter(java.lang.reflect.Method method) |
public PropertyAccessInvocationHandler(Expression<?> host, AliasFactory aliasFactory, PathFactory pathFactory, TypeSystem typeSystem)
public java.lang.Object intercept(java.lang.Object proxy, java.lang.reflect.Method method, java.lang.Object[] args, net.sf.cglib.proxy.MethodProxy methodProxy) throws java.lang.Throwable
intercept
in interface net.sf.cglib.proxy.MethodInterceptor
java.lang.Throwable
@Nullable protected <T> T newInstance(java.lang.Class<T> type, java.lang.reflect.Type genericType, java.lang.Object parent, java.lang.Object propKey, PathMetadata<?> metadata)
protected java.lang.String propertyNameForGetter(java.lang.reflect.Method method)
protected PathMetadata<java.lang.String> createPropertyPath(Path<?> path, java.lang.String propertyName)
protected PathMetadata<java.lang.Integer> createListAccessPath(Path<?> path, java.lang.Integer index)
protected PathMetadata<?> createMapAccessPath(Path<?> path, java.lang.Object key)
Copyright © 2007-2013 Mysema Ltd. All Rights Reserved.