|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Invoker
Defines the interface for a module invoker
Method Summary | |
---|---|
java.lang.Object |
getService(java.lang.String serviceName)
This method returns a reference to the named service. |
java.lang.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. |
java.lang.Object |
invokeGetterOnModule(java.lang.String module,
java.lang.String method)
This method will invoke the named getter on the named module and return the result |
java.lang.Object |
invokeMethodOnModule(java.lang.String module,
java.lang.String method,
java.lang.Object[] paramVals)
This method will invoke the named method on the named module with the parameters provided in the incomming object array and return the result |
java.lang.Object |
invokeMethodOnService(java.lang.String serviceName,
java.lang.String method,
java.lang.Object[] paramVals)
This method will invoke the named method on the named service with the parameters provided in the incomming object array and return the result |
java.lang.Object |
invokeMethodOnTheme(java.lang.String theme,
java.lang.String method,
java.lang.Object[] paramVals)
This method is used to invoke methods on a system service that must be a theme. |
java.lang.Object |
invokeOpOnModule(java.lang.String module,
java.lang.String operation,
CoefficientContext ctx)
This method will invoke the named operation on the named module with the given context as a parameter |
java.lang.Object |
invokeOpOnModule(java.lang.String module,
java.lang.String operation,
za.co.csir.icomtek.workflow.interfaces.WorkflowContext ctx)
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 |
Method Detail |
---|
java.lang.Object invoke(CoefficientContext ctx) throws java.lang.Exception
java.lang.Exception
java.lang.Object invokeGetterOnModule(java.lang.String module, java.lang.String method) throws java.lang.Exception
module
- names a module in the systemmethod
- names the getter on the module
java.lang.Exception
java.lang.Object invokeMethodOnModule(java.lang.String module, java.lang.String method, java.lang.Object[] paramVals) throws java.lang.Exception
module
- names a module available in the systemmethod
- names the method on the moduleparamVals
- contains the parameters for the method invoke
java.lang.Exception
java.lang.Object invokeMethodOnService(java.lang.String serviceName, java.lang.String method, java.lang.Object[] paramVals) throws java.lang.Exception
module
- names a service available in the system, this does not
need to be a module or a thememethod
- names the method on the serviceparamVals
- contains the parameters for the method invoke
java.lang.Exception
java.lang.Object invokeOpOnModule(java.lang.String module, java.lang.String operation, CoefficientContext ctx) throws java.lang.Exception
module
- names a module in the systemoperation
- names the method to invoke on the modulectx
- is the coefficient context to be passed to the module
java.lang.Exception
java.lang.Object invokeOpOnModule(java.lang.String module, java.lang.String operation, za.co.csir.icomtek.workflow.interfaces.WorkflowContext ctx) throws java.lang.Exception
java.lang.Exception
java.lang.Object getService(java.lang.String serviceName) throws java.lang.Exception
serviceName
- is the service available in the system
java.lang.Exception
java.lang.Object invokeMethodOnTheme(java.lang.String theme, java.lang.String method, java.lang.Object[] paramVals) throws java.lang.Exception
theme
- names a theme available in the system, this must be a
thememethod
- names the method on the serviceparamVals
- contains the parameters for the method invoke
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |