Package javassist.util.proxy
Interface ProxyObject
-
- All Superinterfaces:
Proxy
public interface ProxyObject extends Proxy
The interface implemented by proxy classes. This interface is available only if the super class of the proxy object does not have agetHandler()
method. If the super class hasgetHandler
, thenProxy
interface is available.- See Also:
ProxyFactory
,Proxy
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MethodHandler
getHandler()
Get the handler.void
setHandler(MethodHandler mi)
Sets a handler.
-
-
-
Method Detail
-
setHandler
void setHandler(MethodHandler mi)
Sets a handler. It can be used for changing handlers during runtime.- Specified by:
setHandler
in interfaceProxy
-
getHandler
MethodHandler getHandler()
Get the handler. This can be used to access the underlying MethodHandler or to serialize it properly.- See Also:
ProxyFactory.getHandler(Proxy)
-
-