com.ca.commons.jndi.beans
Class FailureSimulateDirContextFactory
java.lang.Object
com.ca.commons.jndi.beans.ResilientDirContextFactory
com.ca.commons.jndi.beans.FailureSimulateDirContextFactory
- All Implemented Interfaces:
- DirContextFactory, InvocationHandler, Runnable
public final class FailureSimulateDirContextFactory
- extends ResilientDirContextFactory
- implements Runnable
| Methods inherited from class com.ca.commons.jndi.beans.ResilientDirContextFactory |
close, getContext, getFailoverList, getJNDIEnv, getRetries, getRetryDelay, returnContext, setFailoverList, setJNDIEnv, setRetries, setRetryDelay, testContexts, toString |
FailureSimulateDirContextFactory
public FailureSimulateDirContextFactory()
doInvoke
protected Object doInvoke(Method method,
Object[] args)
throws IllegalAccessException,
InterruptedException,
NamingException,
InvocationTargetException
- Overrides:
doInvoke in class ResilientDirContextFactory
- Throws:
IllegalAccessException
InterruptedException
NamingException
InvocationTargetException
invoke
public Object invoke(Object proxy,
Method method,
Object[] args)
throws Throwable
- Specified by:
invoke in interface InvocationHandler- Overrides:
invoke in class ResilientDirContextFactory
- Throws:
Throwable
run
public void run()
- Specified by:
run in interface Runnable
Created 2011-07-14 13:27 EST