Package org.apache.juneau
Class BeanProxyInvocationHandler<T>
java.lang.Object
org.apache.juneau.BeanProxyInvocationHandler<T>
- Type Parameters:
T
- The interface class
- All Implemented Interfaces:
InvocationHandler
Provides an
InvocationHandler
for creating beans from bean interfaces.
If the useInterfaceProxies
setting is enabled in BeanContext
, this is the class that creates
instances of beans from interfaces.
See Also:
-
Constructor Summary
ConstructorDescriptionBeanProxyInvocationHandler
(BeanMeta<T> meta) Constructs with the specifiedBeanMeta
. -
Method Summary
-
Constructor Details
-
BeanProxyInvocationHandler
Constructs with the specifiedBeanMeta
.- Parameters:
meta
- The bean meta data.
-
-
Method Details
-
invoke
Implemented to handle the method called.- Specified by:
invoke
in interfaceInvocationHandler
-