Class DynamicResourceReconfigurator
- java.lang.Object
-
- com.sun.enterprise.resource.naming.DynamicResourceReconfigurator
-
- All Implemented Interfaces:
DynamicallyReconfigurableResource,InvocationHandler
public class DynamicResourceReconfigurator extends Object implements InvocationHandler, DynamicallyReconfigurableResource
Invocation Handler used by proxy to connection-factory objects- Author:
- Jagadish Ramu
-
-
Field Summary
Fields Modifier and Type Field Description protected static Logger_logger-
Fields inherited from interface com.sun.enterprise.resource.DynamicallyReconfigurableResource
SET_DELEGATE_METHOD_NAME, SET_INVALID_METHOD_NAME
-
-
Constructor Summary
Constructors Constructor Description DynamicResourceReconfigurator(Object actualObject, ResourceInfo resourceInfo)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Objectinvoke(Object proxy, Method method, Object[] args)voidsetDelegate(Object o)voidsetInvalid()
-
-
-
Field Detail
-
_logger
protected static final Logger _logger
-
-
Constructor Detail
-
DynamicResourceReconfigurator
public DynamicResourceReconfigurator(Object actualObject, ResourceInfo resourceInfo)
-
-
Method Detail
-
invoke
public Object invoke(Object proxy, Method method, Object[] args) throws Throwable
- Specified by:
invokein interfaceInvocationHandler- Throws:
Throwable
-
setDelegate
public void setDelegate(Object o)
- Specified by:
setDelegatein interfaceDynamicallyReconfigurableResource
-
setInvalid
public void setInvalid()
- Specified by:
setInvalidin interfaceDynamicallyReconfigurableResource
-
-