org.jboss.ha.framework.test
Class ServiceUnavailableClientInterceptor
java.lang.Object
org.jboss.proxy.Interceptor
org.jboss.ha.framework.test.ServiceUnavailableClientInterceptor
- All Implemented Interfaces:
- Externalizable, Serializable
public class ServiceUnavailableClientInterceptor
- extends Interceptor
Used for testing clustering: mimics an exhausted set of targets.
This interceptor should be placed between a RetryInterceptor and
the InvokerInterceptor.
- Version:
- $Id: ServiceUnavailableClientInterceptor.java 85945 2009-03-16 19:45:12Z dimitris@jboss.org $
- Author:
- brian.stansberry@jboss.com.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ServiceUnavailableClientInterceptor
public ServiceUnavailableClientInterceptor()
invoke
public Object invoke(Invocation mi)
throws Throwable
- Specified by:
invoke
in class Interceptor
- Throws:
Throwable
Copyright © 2009 JBoss, a division of Red Hat, Inc.. All Rights Reserved.