Class ServiceUnavailableByPropertyInterceptor
java.lang.Object
org.distributeme.core.interceptor.AbstractClientSideRequestInterceptor
org.distributeme.core.interceptor.availabilitytesting.ServiceUnavailableInterceptor
org.distributeme.core.interceptor.availabilitytesting.ServiceUnavailableByPropertyInterceptor
- All Implemented Interfaces:
ClientSideRequestInterceptor
This interceptor marks service unavailable and is configured by system properties.
- Version:
- $Id: $Id
- Author:
- lrosenberg
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanabortCall(ClientSideCallContext context) Returns true if current call should be aborted.Methods inherited from class org.distributeme.core.interceptor.availabilitytesting.ServiceUnavailableInterceptor
beforeServiceCallMethods inherited from class org.distributeme.core.interceptor.AbstractClientSideRequestInterceptor
afterServiceCall
-
Constructor Details
-
ServiceUnavailableByPropertyInterceptor
public ServiceUnavailableByPropertyInterceptor()
-
-
Method Details
-
abortCall
Returns true if current call should be aborted.- Specified by:
abortCallin classServiceUnavailableInterceptor- Parameters:
context- aClientSideCallContextobject.- Returns:
- a boolean.
-