Java Doc for BpelModel.java in  » IDE-Netbeans » bpel » org » netbeans » modules » bpel » model » api » 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 » IDE Netbeans » bpel » org.netbeans.modules.bpel.model.api 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.netbeans.modules.bpel.model.api.BpelModel

All known Subclasses:   org.netbeans.modules.bpel.model.impl.BpelModelImpl,
BpelModel
public interface BpelModel extends Model<BpelEntity>(Code)
This interface is start point for BPEL model access. It contain root element - process that correspond to process in BPEL file. One should keep reference to this interface instead of keeping reference to process element, because reference to process element could mutate ( it is up to implementation ).
author:
   ads


Field Summary
 StringSTATE
     This is pseudo property for event that fired when state of OM is changed.


Method Summary
 voidaddEntityChangeListener(ChangeEventListener listener)
     Add change listener which will receive events for any element in the underlying model. Listener adds to model as weak reference. So one needs to care about keeping reference to listener somehere till it used and need to get events from model. If one will use anonymous class for adding then it will never get events. You should use method removePropertyChangeListener when listener is already not needed.
 booleancanExtend(ExtensibleElements extensible, Class<? extends ExtensionEntity> extensionType)
    
 BpelEntityfindElement(int i)
     Finds Bpel element on the specified position.
Parameters:
  i - Position in NbDocument.
 AnotherVersionBpelProcessgetAnotherVersionProcess()
     Accessor to root bpel process element that has different version from currently supported. Please note that this is only read-only element. You should not try to change it in any way. This method will return each time new instance of such root element.
 BPELElementsBuildergetBuilder()
    
 BpelEntitygetEntity(UniqueId id)
     Returns entity by its unique id.
Parameters:
  id - id of entity.
 ProcessgetProcess()
    
 Vinvoke(Callable<V> action, Object source)
     This method should be used for executing group of calls to model as atomic action.
 voidinvoke(Runnable run)
     This method execute command run inside read lock on OM obtained.
 voidremoveEntityChangeListener(ChangeEventListener listener)
     Removes change listener from model.

Field Detail
STATE
String STATE(Code)
This is pseudo property for event that fired when state of OM is changed.





Method Detail
addEntityChangeListener
void addEntityChangeListener(ChangeEventListener listener)(Code)
Add change listener which will receive events for any element in the underlying model. Listener adds to model as weak reference. So one needs to care about keeping reference to listener somehere till it used and need to get events from model. If one will use anonymous class for adding then it will never get events. You should use method removePropertyChangeListener when listener is already not needed. For using this method you should keep reference to created listener. If you cannot use method removePropertyChangeListener then probably you will never get events from model because you don't keep reference to listener and it could be collected by GC in any time.
Parameters:
  listener - listener for add.



canExtend
boolean canExtend(ExtensibleElements extensible, Class<? extends ExtensionEntity> extensionType)(Code)



findElement
BpelEntity findElement(int i)(Code)
Finds Bpel element on the specified position.
Parameters:
  i - Position in NbDocument. Entity on the position if any.



getAnotherVersionProcess
AnotherVersionBpelProcess getAnotherVersionProcess()(Code)
Accessor to root bpel process element that has different version from currently supported. Please note that this is only read-only element. You should not try to change it in any way. This method will return each time new instance of such root element. This method will return null if bpel process has correct namespace or not well formed ( in terms of XML ). OM root element that correspond to BPEL process with different version if any.



getBuilder
BPELElementsBuilder getBuilder()(Code)
builder for BPEL elements.



getEntity
BpelEntity getEntity(UniqueId id)(Code)
Returns entity by its unique id.
Parameters:
  id - id of entity. entity by its id.



getProcess
Process getProcess()(Code)
reference to root of BPEL - process.



invoke
V invoke(Callable<V> action, Object source) throws Exception(Code)
This method should be used for executing group of calls to model as atomic action. Placing action in this method guarantee that model will not be affected via another threads in process of execution this action. Changes in model that represented by action will be executed synchronously. It means method will end only after all calls to model inside action would be executed. All model methods getXXX, setXX, addXX, etc. also atomic. If you need just get value or set new value in model you don't need to call this method. Each this action will be synchronized. You need to use this method when you need to perform many actions one depends from another. In this case value that you get in one action could be not valid for next action with model. <
Parameters:
  V - > type for return value.
Parameters:
  action - group of calls to model.
Parameters:
  source - this is object that will be set as sourcefor events that will be fired by model as result of this action.It could be used for distinguishing various consumers of model.Could be equall to null. If it equals to null then source ofevent will be set to Thread.currentThread(). One should not put "sync" method inside invoke()or in transaction that started with startTransaction().Otherwise "sync" will no have any effect. OM considerstarting transaction as starting mutation andin this case "sync" doesn't have sense. return value from action.
throws:
  Exception - Exception exception that could be thrown by action



invoke
void invoke(Runnable run)(Code)
This method execute command run inside read lock on OM obtained. You should never try mutate OM inside this command run. Otherwise you will get InvalidaStateException.
Parameters:
  run - command for execution



removeEntityChangeListener
void removeEntityChangeListener(ChangeEventListener listener)(Code)
Removes change listener from model.
Parameters:
  listener - listener for remove.



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