public class NullOutOfStateHandler extends java.lang.Object implements OutOfStateHandler
OutOfStateHandler
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 and Description |
---|
NullOutOfStateHandler() |
Modifier and Type | Method and Description |
---|---|
void |
handleOutOfState(StateManagedComponent state) |
boolean |
isInCorrectState(StateManagedComponent component) |
public boolean isInCorrectState(StateManagedComponent component) throws OutOfStateException
isInCorrectState
in interface OutOfStateHandler
OutOfStateException
public void handleOutOfState(StateManagedComponent state) throws OutOfStateException
handleOutOfState
in interface OutOfStateHandler
OutOfStateException