Package de.tsl2.nano.util
Class SetterExtenderPoxy
java.lang.Object
de.tsl2.nano.util.SetterExtenderPoxy
- All Implemented Interfaces:
Serializable,InvocationHandler
If you have an interface, providing only getters, but for full bean access, you need setter methods, you can provide
the basic interface and a specific interface with the setter methods. these setter methods don't exist in your given
basic interface implementation, but the members exist. So, this proxy will access the members directly on calling the
specific interface setter methods.
- Version:
- $Revision$
- Author:
- Thomas Schneider
- See Also:
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
SetterExtenderPoxy
-
-
Method Details
-
invoke
- Specified by:
invokein interfaceInvocationHandler- Throws:
Throwable
-
setterExtender
delegator- Type Parameters:
T-- Parameters:
proxyInterface-delegators-- Returns:
-
instanceOf
-