com.bankframe.fe.statemachine.base.apploaders
Interface IStateCommand

All Known Implementing Classes:
SMContentHandler.InitializeProcessUserStateCommand

public interface IStateCommand


Method Summary
 Object executeAfter(IState state)
          This method will be called by the given state, and may perform any operation on that state.
 Object executeBefore(IState state)
          This method will be called by the given state, and may perform any operation on that state.
 

Method Detail

executeBefore

Object executeBefore(IState state)
                     throws StateMachineException
This method will be called by the given state, and may perform any operation on that state.

Parameters:
state - the calling state.
Returns:
an object that may be used by the executeStateCommand method.
Throws:
StateMachineException

executeAfter

Object executeAfter(IState state)
                    throws StateMachineException
This method will be called by the given state, and may perform any operation on that state.

Parameters:
state - the calling state.
Returns:
an object that may be used by the executeStateCommand method.
Throws:
StateMachineException


Copyright © 2005, 2007, Oracle. All rights reserved.