Save This Page
Home » jboss-5.0.0.CR1-src » org.jboss.ha.framework » test » [javadoc | source]
org.jboss.ha.framework.test
public class: ExplicitFailoverServerInterceptor [javadoc | source]
java.lang.Object
   org.jboss.ejb.plugins.AbstractInterceptor
      org.jboss.ha.framework.test.ExplicitFailoverServerInterceptor

All Implemented Interfaces:
    Interceptor

Used for testing clustering: allows to explicitely makes a call to node fail This will mimic a dead server.
Field Summary
protected  Container container     
Fields inherited from org.jboss.ejb.plugins.AbstractInterceptor:
nextInterceptor,  log,  container
Constructor:
 public ExplicitFailoverServerInterceptor() 
Method from org.jboss.ha.framework.test.ExplicitFailoverServerInterceptor Summary:
checkFailoverNeed,   getContainer,   invoke,   invokeHome,   setContainer
Methods from org.jboss.ejb.plugins.AbstractInterceptor:
create,   destroy,   getContainer,   getNext,   invoke,   invokeHome,   isAppException,   setContainer,   setNext,   start,   stop
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.jboss.ha.framework.test.ExplicitFailoverServerInterceptor Detail:
 protected  void checkFailoverNeed(Invocation mi) throws GenericClusteringException 
 public Container getContainer() 
 public Object invoke(Invocation mi) throws Exception 
 public Object invokeHome(Invocation mi) throws Exception 
 public  void setContainer(Container container)