com.createtank.elemenope.bpm
Class ElemenopeProcessListOperation

java.lang.Object
  extended by com.createtank.elemenope.bpm.ElemenopeBpmOperationImpl
      extended by com.createtank.elemenope.bpm.ElemenopeProcessListOperation
All Implemented Interfaces:
ElemenopeBpmOperation, ElemenopeComponent, ElemenopeConnectionEntity, Operation
Direct Known Subclasses:
ElemenopeProcessChainOperation

public class ElemenopeProcessListOperation
extends ElemenopeBpmOperationImpl

Not a chain. Returns List of all responses from all Operations configured.

Author:
John Joseph Roets [joe@createtank.com]

Constructor Summary
ElemenopeProcessListOperation()
           
 
Method Summary
 java.lang.Object execute(java.lang.Object object)
          Execute the operation.
 java.lang.Object execute(java.lang.Object object, java.util.Map atts)
          Execute the operation.
 java.util.Map getConnectionAttributes()
          gets connectivity attributes
 java.util.List getOperationsList()
           
 void releaseComponents()
          Should be called upon shutdown, in order for elemenope component classes clean up after themselves.
 void setComponents(ElemenopeComponents components)
          Passes all configured components to implementing Object.
 void setConfigurationAttributes(java.util.Map atts)
          sets configuration attributes
 void setConnectionAttributes(java.util.Map atts)
          sets connectivity attributes
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ElemenopeProcessListOperation

public ElemenopeProcessListOperation()
Method Detail

execute

public java.lang.Object execute(java.lang.Object object)
Execute the operation.


execute

public java.lang.Object execute(java.lang.Object object,
                                java.util.Map atts)
Execute the operation.


setComponents

public void setComponents(ElemenopeComponents components)
Description copied from interface: ElemenopeComponent
Passes all configured components to implementing Object.

Should ususally be called at the end of the initialization cycle, when all components have been instantiated.

Specified by:
setComponents in interface ElemenopeComponent
Overrides:
setComponents in class ElemenopeBpmOperationImpl

releaseComponents

public void releaseComponents()
Description copied from interface: ElemenopeComponent
Should be called upon shutdown, in order for elemenope component classes clean up after themselves.

Specified by:
releaseComponents in interface ElemenopeComponent
Overrides:
releaseComponents in class ElemenopeBpmOperationImpl

setConnectionAttributes

public void setConnectionAttributes(java.util.Map atts)
                             throws ElemenopeException
Description copied from interface: ElemenopeConnectionEntity
sets connectivity attributes

Specified by:
setConnectionAttributes in interface ElemenopeConnectionEntity
Overrides:
setConnectionAttributes in class ElemenopeBpmOperationImpl
Parameters:
atts - Map of connectivity attributes
Throws:
ElemenopeException

getConnectionAttributes

public java.util.Map getConnectionAttributes()
                                      throws ElemenopeException
Description copied from interface: ElemenopeConnectionEntity
gets connectivity attributes

Specified by:
getConnectionAttributes in interface ElemenopeConnectionEntity
Overrides:
getConnectionAttributes in class ElemenopeBpmOperationImpl
Returns:
connectivity attributes
Throws:
ElemenopeException

getOperationsList

public java.util.List getOperationsList()
Specified by:
getOperationsList in interface ElemenopeBpmOperation
Overrides:
getOperationsList in class ElemenopeBpmOperationImpl

setConfigurationAttributes

public void setConfigurationAttributes(java.util.Map atts)
                                throws ElemenopeException
Description copied from interface: ElemenopeComponent
sets configuration attributes

Specified by:
setConfigurationAttributes in interface ElemenopeComponent
Overrides:
setConfigurationAttributes in class ElemenopeBpmOperationImpl
Parameters:
atts - Map of connectivity attributes
Throws:
ElemenopeException