Package com.adaptris.core
Class NullOutOfStateHandler
- java.lang.Object
-
- com.adaptris.core.NullOutOfStateHandler
-
- All Implemented Interfaces:
OutOfStateHandler
public class NullOutOfStateHandler extends java.lang.Object implements OutOfStateHandler
Implementation of theOutOfStateHandler
which does no checks.In the adapter configuration file this class is aliased as null-out-of-state-handler which is the preferred alternative to the fully qualified classname when building your configuration.
-
-
Constructor Summary
Constructors Constructor Description NullOutOfStateHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
handleOutOfState(StateManagedComponent state)
boolean
isInCorrectState(StateManagedComponent component)
-
-
-
Method Detail
-
isInCorrectState
public boolean isInCorrectState(StateManagedComponent component) throws OutOfStateException
- Specified by:
isInCorrectState
in interfaceOutOfStateHandler
- Throws:
OutOfStateException
-
handleOutOfState
public void handleOutOfState(StateManagedComponent state) throws OutOfStateException
- Specified by:
handleOutOfState
in interfaceOutOfStateHandler
- Throws:
OutOfStateException
-
-