org.enhydra.shark.corba.poa
Class WfProcessMgrCORBA

java.lang.Object
  extended by org.omg.PortableServer.Servant
      extended by org.omg.WorkflowModel.WfProcessMgrPOA
          extended by org.enhydra.shark.corba.poa.WfProcessMgrCORBA
All Implemented Interfaces:
org.omg.CORBA.portable.InvokeHandler, BaseBusinessObjectOperations, WfProcessMgrOperations

public class WfProcessMgrCORBA
extends WfProcessMgrPOA

WfProcessMgrImpl - Workflow Process Manager implementation


Constructor Summary
protected WfProcessMgrCORBA(org.omg.CORBA.ORB orb, Collective toJoin, WfProcessMgr sharkProcMgr)
          Creates new WfProcessMgrImpl
 
Method Summary
 java.lang.String category()
           
 NameValueInfo[] context_signature()
           
 WfProcess create_process(WfRequester requester)
          Create a WfProcess object
 java.lang.String description()
           
 boolean equals(java.lang.Object obj)
          It is assumed that there can't be two or more processes mgrs having the same name.
 WfProcessIterator get_iterator_process()
           
 WfProcess[] get_sequence_process(int max_number)
           
 int how_many_process()
           
 boolean is_member_of_process(WfProcess member)
           
 java.lang.String name()
           
 process_mgr_stateType process_mgr_state()
           
 NameValueInfo[] result_signature()
           
 void set_process_mgr_state(process_mgr_stateType new_state)
           
 java.lang.String toString()
           
 java.lang.String version()
           
 
Methods inherited from class org.omg.WorkflowModel.WfProcessMgrPOA
_all_interfaces, _invoke, _this, _this
 
Methods inherited from class org.omg.PortableServer.Servant
_default_POA, _get_delegate, _get_interface_def, _is_a, _non_existent, _object_id, _orb, _poa, _set_delegate, _this_object, _this_object
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WfProcessMgrCORBA

protected WfProcessMgrCORBA(org.omg.CORBA.ORB orb,
                            Collective toJoin,
                            WfProcessMgr sharkProcMgr)
Creates new WfProcessMgrImpl

Parameters:
sharkProcMgr - a WfProcessMgr
Method Detail

how_many_process

public int how_many_process()
                     throws BaseException
Throws:
BaseException

get_iterator_process

public WfProcessIterator get_iterator_process()
                                       throws BaseException
Throws:
BaseException

get_sequence_process

public WfProcess[] get_sequence_process(int max_number)
                                 throws BaseException
Throws:
BaseException

is_member_of_process

public boolean is_member_of_process(WfProcess member)
                             throws BaseException
Throws:
BaseException

process_mgr_state

public process_mgr_stateType process_mgr_state()
                                        throws BaseException
Throws:
BaseException

set_process_mgr_state

public void set_process_mgr_state(process_mgr_stateType new_state)
                           throws BaseException,
                                  TransitionNotAllowed
Throws:
BaseException
TransitionNotAllowed

name

public java.lang.String name()
                      throws BaseException
Throws:
BaseException

description

public java.lang.String description()
                             throws BaseException
Throws:
BaseException

category

public java.lang.String category()
                          throws BaseException
Throws:
BaseException

version

public java.lang.String version()
                         throws BaseException
Throws:
BaseException

context_signature

public NameValueInfo[] context_signature()
                                  throws BaseException
Throws:
BaseException

result_signature

public NameValueInfo[] result_signature()
                                 throws BaseException
Throws:
BaseException

create_process

public WfProcess create_process(WfRequester requester)
                         throws BaseException,
                                NotEnabled,
                                InvalidRequester,
                                RequesterRequired
Create a WfProcess object

Throws:
BaseException
NotEnabled
InvalidRequester
RequesterRequired

equals

public boolean equals(java.lang.Object obj)
It is assumed that there can't be two or more processes mgrs having the same name.

Overrides:
equals in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object