com.retek.command
Class EjbCommand

java.lang.Object
  extended bycom.retek.command.AbstractCommand
      extended bycom.retek.command.EjbCommand
All Implemented Interfaces:
Command
Direct Known Subclasses:
SecurityCommand

public abstract class EjbCommand
extends com.retek.command.AbstractCommand


Constructor Summary
EjbCommand()
           
 
Method Summary
 void addPostExecutionRule(Rule rule)
           
 void addPreExecutionRule(Rule rule)
           
protected  void destroyServiceContext()
           
protected abstract  void doExecute()
           
 void execute()
           
protected  void initServiceContext()
           
 boolean isExecuted()
           
protected  void processRules(java.util.List rules)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EjbCommand

public EjbCommand()
Method Detail

execute

public final void execute()
                   throws com.retek.platform.exception.RetekBusinessException
Throws:
com.retek.platform.exception.RetekBusinessException

initServiceContext

protected void initServiceContext()

destroyServiceContext

protected void destroyServiceContext()

processRules

protected void processRules(java.util.List rules)
                     throws com.retek.platform.exception.RetekBusinessException
Throws:
com.retek.platform.exception.RetekBusinessException

addPreExecutionRule

public void addPreExecutionRule(Rule rule)
Specified by:
addPreExecutionRule in interface Command
Parameters:
rule -

addPostExecutionRule

public void addPostExecutionRule(Rule rule)
Specified by:
addPostExecutionRule in interface Command
Parameters:
rule -

isExecuted

public boolean isExecuted()
Specified by:
isExecuted in interface Command

doExecute

protected abstract void doExecute()
                           throws com.retek.platform.exception.RetekBusinessException
Throws:
com.retek.platform.exception.RetekBusinessException