org.jboss.ha.framework.test
Class ServiceUnavailableClientInterceptor

java.lang.Object
  extended by org.jboss.proxy.Interceptor
      extended by org.jboss.ha.framework.test.ServiceUnavailableClientInterceptor
All Implemented Interfaces:
Externalizable, Serializable

public class ServiceUnavailableClientInterceptor
extends org.jboss.proxy.Interceptor

Used for testing clustering: mimics an exhausted set of targets. This interceptor should be placed between a RetryInterceptor and the InvokerInterceptor.

Version:
$Id$
Author:
brian.stansberry@jboss.com.
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.jboss.proxy.Interceptor
nextInterceptor
 
Constructor Summary
ServiceUnavailableClientInterceptor()
           
 
Method Summary
 Object invoke(org.jboss.invocation.Invocation mi)
           
 
Methods inherited from class org.jboss.proxy.Interceptor
getNext, readExternal, setNext, writeExternal
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServiceUnavailableClientInterceptor

public ServiceUnavailableClientInterceptor()
Method Detail

invoke

public Object invoke(org.jboss.invocation.Invocation mi)
              throws Throwable
Specified by:
invoke in class org.jboss.proxy.Interceptor
Throws:
Throwable


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.