| java.lang.Object za.org.coefficient.invokers.base.BaseInvoker
All known Subclasses: za.org.coefficient.invokers.webapp.WebAppInvoker, za.org.coefficient.invokers.ejb.EjbInvoker,
BaseInvoker | abstract public class BaseInvoker implements Invoker,WorkflowModuleInvoker(Code) | | This is an abstract base class that provides most of the funtionality
an invoker requires. This allows us to invoke methods on
modules, services, and themes without specifiying the methods that know
about the environment.
version: $Revision: 1.6 $ $Date: 2004/11/09 13:52:11 $ author: Dylan Etkin |
Method Summary | |
abstract protected ModuleLocal | getModule(String module) | abstract public Object | getService(String serviceName) | abstract protected ThemeLocalIf | getTheme(String theme) | public Object | invoke(CoefficientContext ctx) This method will look for a request parameter named module and
one named op and will try to fire that operation on the module. | public Object | invokeGetterOnModule(String module, String method) | public Object | invokeMethodOnModule(String module, String method, Object[] paramVals) | public Object | invokeMethodOnService(String serviceName, String method, Object[] paramVals) | public Object | invokeMethodOnTheme(String theme, String method, Object[] paramVals) | public Object | invokeOpOnModule(String module, String operation, CoefficientContext ctx) | public Object | invokeOpOnModule(String module, String operation, WorkflowContext ctx) |
invoke | public Object invoke(CoefficientContext ctx) throws Exception(Code) | | This method will look for a request parameter named module and
one named op and will try to fire that operation on the module.
|
invokeOpOnModule | public Object invokeOpOnModule(String module, String operation, WorkflowContext ctx) throws Exception(Code) | | NOTE: This is bad and is only done to give the workflow some
autonomy
This method will invoke the named operation on the named module
with the given a workflow context which is a CoefficientContext
|
|
|