Java Doc for ProcessMgrStub.java in  » Workflow-Engines » wfmopen-2.1.1 » de » danet » an » workflow » ejbs » admin » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Workflow Engines » wfmopen 2.1.1 » de.danet.an.workflow.ejbs.admin 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   de.danet.an.workflow.ejbs.admin.ProcessMgrStub

ProcessMgrStub
public class ProcessMgrStub implements ProcessMgr,Serializable(Code)
This class provides a client side representation of a WfProcessMgr. It acts as a mixture of intelligent proxy and stub. As stub, however, it has no directly corresponding server. It uses methods provided by other remote objects (notably ProcessDirectory and ProcessDefinitionDirectory to fulfill its tasks.
author:
  
version:
   $Revision: 1.3 $



Constructor Summary
public  ProcessMgrStub(String pkgId, String prcId, String mgr, String prcKey, ProcessDefinitionDirectoryHome pdh, WfProcessHome ph)
     Creates an instance of ProcessMgrStub for the given process type.
Parameters:
  pkgId - Id attribute of the process package.
Parameters:
  prcId - Id attribute of the process.
Parameters:
  mgr - the name of the process manager.
Parameters:
  prcKey - the key of the given process.

Method Summary
public  Stringcategory()
     Returns a category.
public  ProcessDataInfocontextSignature()
     Return the context signature of the process.
public  WfProcesscreateProcess(WfRequester requester)
     Create a new process. Accept any requester object with is not null.
Parameters:
  requester - WfRequester
throws:
  NotEnabledException - if create of de.danet.an.workflow.omgcore.WfProcess WfProcess using a de.danet.an.workflow.omgcore.WfProcessMgr WfProcessMgr that is disabled.
throws:
  InvalidRequesterException - if requester is not validate.
public  Stringdescription()
     Unsupported method in this iteration of WfMOpen.
public  CollectionfindByDataItem(String itemName, String itemValue)
     Returns all Process Process es that have a given value in a particular process data item.
public  Stringname()
     This method delivers the type(name) of the process.
public  ProcessprocessByKey(String key)
     Returns the Process Process with the given key.
Parameters:
  key - the de.danet.an.workflow.omgcore.WfProcess.key key of the process.
public  intprocessMgrState()
     Returns the state of the WfProcessMgr.
public  Collectionprocesses()
     Returns a collection with WfProcess objects from this process manager.
public  ProcessDataInforesultSignature()
     Unsupported method in this iteration of WfMOpen.
public  voidsetProcessMgrState(int newState)
     Set the new state of this process manager.
public  Stringversion()
     Returns the creation date of the process from the XPDL description.


Constructor Detail
ProcessMgrStub
public ProcessMgrStub(String pkgId, String prcId, String mgr, String prcKey, ProcessDefinitionDirectoryHome pdh, WfProcessHome ph)(Code)
Creates an instance of ProcessMgrStub for the given process type.
Parameters:
  pkgId - Id attribute of the process package.
Parameters:
  prcId - Id attribute of the process.
Parameters:
  mgr - the name of the process manager.
Parameters:
  prcKey - the key of the given process. It can be null.
Parameters:
  pdh - the process definition directory home interface.
Parameters:
  ph - the process home interface.




Method Detail
category
public String category() throws RemoteException(Code)
Returns a category. The category is the package name from the XPDL description. the category
throws:
  RemoteException - if a system-level error occurs.



contextSignature
public ProcessDataInfo contextSignature() throws RemoteException(Code)
Return the context signature of the process. If this process key is given, then find out its process definition through process; otherwise, through process definition directory. a ProcessDataInfo object
throws:
  RemoteException - if a system-level error occurs.



createProcess
public WfProcess createProcess(WfRequester requester) throws RemoteException, NotEnabledException, InvalidRequesterException, RequesterRequiredException(Code)
Create a new process. Accept any requester object with is not null.
Parameters:
  requester - WfRequester
throws:
  NotEnabledException - if create of de.danet.an.workflow.omgcore.WfProcess WfProcess using a de.danet.an.workflow.omgcore.WfProcessMgr WfProcessMgr that is disabled.
throws:
  InvalidRequesterException - if requester is not validate.
throws:
  RequesterRequiredException - if requester is null
throws:
  RemoteException - if a system-level error occurs. a WfProcess object



description
public String description() throws RemoteException(Code)
Unsupported method in this iteration of WfMOpen. the description
throws:
  RemoteException - if a system-level error occurs.



findByDataItem
public Collection findByDataItem(String itemName, String itemValue) throws RemoteException(Code)
Returns all Process Process es that have a given value in a particular process data item. Note that this method may only be used for data items of type string.
Parameters:
  itemName - the name of the process data item
Parameters:
  itemValue - the value of the process data item the collection of processes
throws:
  RemoteException - if a system-level error occurs



name
public String name() throws RemoteException(Code)
This method delivers the type(name) of the process. the name
throws:
  RemoteException - if a system-level error occurs.



processByKey
public Process processByKey(String key) throws InvalidKeyException, RemoteException(Code)
Returns the Process Process with the given key.
Parameters:
  key - the de.danet.an.workflow.omgcore.WfProcess.key key of the process. the process associated with the key.
throws:
  InvalidKeyException - if no process with the given keyexists.
throws:
  RemoteException - if a system-level error occurs.



processMgrState
public int processMgrState() throws RemoteException(Code)
Returns the state of the WfProcessMgr. ENABLED if creation of workflow processes is enabled,otherwise DISABLED.
throws:
  RemoteException - if a system-level error occurs.



processes
public Collection processes() throws RemoteException(Code)
Returns a collection with WfProcess objects from this process manager. a Collection object with remote interface of WfProcess.
throws:
  RemoteException - if a system-level error occurs.



resultSignature
public ProcessDataInfo resultSignature() throws RemoteException(Code)
Unsupported method in this iteration of WfMOpen. a ProcessDataInfo object
throws:
  RemoteException - if a system-level error occurs.



setProcessMgrState
public void setProcessMgrState(int newState) throws RemoteException, TransitionNotAllowedException(Code)
Set the new state of this process manager.
Parameters:
  newState - the new state.
throws:
  TransitionNotAllowedException - if the transition is not allowed
throws:
  RemoteException - if a system-level error occurs.



version
public String version() throws RemoteException(Code)
Returns the creation date of the process from the XPDL description. the creation date.
throws:
  RemoteException - if a system-level error occurs.



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.