public abstract class BaseJavetProxyPluginMultiple extends BaseJavetProxyPlugin
Modifier and Type | Field and Description |
---|---|
protected java.util.Map<java.lang.Class<?>,java.util.Set<java.lang.String>> |
proxyableMethodsMap
The Proxyable methods map.
|
protected java.util.Map<java.lang.Class<?>,java.util.Map<java.lang.String,IClassProxyPluginFunction<?>>> |
proxyGetByStringMap
The Proxy get by string map.
|
protected java.util.Map<java.lang.Class<?>,java.util.Map<java.lang.String,IClassProxyPluginFunction<?>>> |
proxyGetBySymbolMap
The Proxy get by symbol map.
|
protected java.util.Map<java.lang.Class<?>,IClassProxyPluginFunction<?>> |
targetObjectConstructorMap
The Target object constructor map.
|
HINT_BOOLEAN, HINT_DEFAULT, HINT_NUMBER, HINT_STRING, OBJECT_CONVERTER, PROXY_CONVERTER, TO_JSON, TO_STRING, VALUE_OF
Constructor and Description |
---|
BaseJavetProxyPluginMultiple()
Instantiates a new Base javet proxy plugin for multiple classes.
|
Modifier and Type | Method and Description |
---|---|
<E extends java.lang.Exception> |
getProxyGetByString(java.lang.Class<?> targetClass,
java.lang.String propertyName)
Gets proxy get function by string property.
|
<E extends java.lang.Exception> |
getProxyGetBySymbol(java.lang.Class<?> targetClass,
java.lang.String symbolName)
Gets proxy get function by symbol property.
|
<E extends java.lang.Exception> |
getTargetObjectConstructor(java.lang.Class<?> targetClass)
Gets target object constructor.
|
boolean |
isMethodProxyable(java.lang.String methodName,
java.lang.Class<?> targetClass)
Is method proxyable.
|
callWithObjectConverter, deleteByObject, getByIndex, getProxyOwnKeys, getProxyOwnPropertyDescriptor, getProxySymbolToPrimitive, hasByObject, isDeleteSupported, isHasSupported, isIndexSupported, isOwnKeysSupported, isUniqueKeySupported, populateUniqueKeys, setByIndex, symbolToPrimitive, typeErrorFunctionIsNotSupported
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getName, isProxyable
protected final java.util.Map<java.lang.Class<?>,java.util.Map<java.lang.String,IClassProxyPluginFunction<?>>> proxyGetByStringMap
protected final java.util.Map<java.lang.Class<?>,java.util.Map<java.lang.String,IClassProxyPluginFunction<?>>> proxyGetBySymbolMap
protected final java.util.Map<java.lang.Class<?>,java.util.Set<java.lang.String>> proxyableMethodsMap
protected final java.util.Map<java.lang.Class<?>,IClassProxyPluginFunction<?>> targetObjectConstructorMap
public BaseJavetProxyPluginMultiple()
public <E extends java.lang.Exception> IClassProxyPluginFunction<E> getProxyGetByString(java.lang.Class<?> targetClass, java.lang.String propertyName)
IClassProxyPlugin
E
- the type parametertargetClass
- the target classpropertyName
- the property namepublic <E extends java.lang.Exception> IClassProxyPluginFunction<E> getProxyGetBySymbol(java.lang.Class<?> targetClass, java.lang.String symbolName)
IClassProxyPlugin
getProxyGetBySymbol
in interface IClassProxyPlugin
getProxyGetBySymbol
in class BaseJavetProxyPlugin
E
- the type parametertargetClass
- the target classsymbolName
- the symbol namepublic <E extends java.lang.Exception> IClassProxyPluginFunction<E> getTargetObjectConstructor(java.lang.Class<?> targetClass)
IClassProxyPlugin
getTargetObjectConstructor
in interface IClassProxyPlugin
getTargetObjectConstructor
in class BaseJavetProxyPlugin
E
- the type parametertargetClass
- the target classpublic boolean isMethodProxyable(java.lang.String methodName, java.lang.Class<?> targetClass)
IClassProxyPlugin
methodName
- the method nametargetClass
- the target class