|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.strutsit.chain.ChainFacadeImpl
Implementation of the ChainFacade
-Interface. The Facade is a
singleton. It holds the configuration of the chain-Framework.
Method Summary | |
void |
destroy()
Frees all Resources. |
boolean |
execute(java.lang.String commandString,
org.apache.commons.chain.Context context)
Executes a chain or a single command by name. |
static ChainFacade |
getInstance()
Returns the singleton of the facade. |
void |
initFacade()
Inits the framework. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static ChainFacade getInstance()
public void initFacade() throws ChainException
initFacade
in interface ChainFacade
ChainException
- if something failsChainFacade.initFacade()
public void destroy()
destroy
in interface ChainFacade
ChainFacade.destroy()
public boolean execute(java.lang.String commandString, org.apache.commons.chain.Context context) throws ChainException
execute
in interface ChainFacade
commandString
- The name of the command or chain.context
- The Context for executing
ChainException
- if something goes wrong
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |