Java Doc for SCInstance.java in  » Library » Apache-commons-scxml-0.6-src » org » apache » commons » scxml » 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 » Library » Apache commons scxml 0.6 src » org.apache.commons.scxml 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.apache.commons.scxml.SCInstance

SCInstance
public class SCInstance implements Serializable(Code)
The SCInstance performs book-keeping functions for a particular execution of a state chart represented by a SCXML object.



Constructor Summary
 SCInstance(SCXMLExecutor executor)
     Constructor.

Method Summary
public  ContextgetContext(TransitionTarget transitionTarget)
     Get the Context for this TransitionTarget. If one is not available it is created.
Parameters:
  transitionTarget - The TransitionTarget.
public  EvaluatorgetEvaluator()
     Get the Evaluator.
public  SCXMLExecutorgetExecutor()
     Get the SCXMLExecutor this instance is attached to.
public  InvokergetInvoker(TransitionTarget transitionTarget)
     Get the Invoker for this TransitionTarget . May return null.
public  MapgetInvokers()
     Return the Map of Invoker s currently "active".
public  SetgetLastConfiguration(History history)
     Get the last configuration for this history.
Parameters:
  history - The history.
public  NotificationRegistrygetNotificationRegistry()
     Get the notification registry.
public  ContextgetRootContext()
     Get the root context.
public  booleanisEmpty(History history)
     Check whether we have prior history.
Parameters:
  history - The history.
 ContextlookupContext(TransitionTarget transitionTarget)
     Get the Context for this TransitionTarget. May return null.
Parameters:
  transitionTarget - The TransitionTarget.
public  InvokernewInvoker(String targettype)
     Get the Invoker for this TransitionTarget . May return null.
 voidregisterInvokerClass(String targettype, Class invokerClass)
     Register an Invoker class for this target type.
public  voidreset(History history)
     Resets the history state.
 voidsetContext(TransitionTarget transitionTarget, Context context)
     Set the Context for this TransitionTarget.
 voidsetEvaluator(Evaluator evaluator)
     Set the Evaluator.
public  voidsetInvoker(TransitionTarget transitionTarget, Invoker invoker)
     Set the Invoker for this TransitionTarget .
public  voidsetLastConfiguration(History history, Set lc)
     Set the last configuration for this history.
 voidsetNotificationRegistry(NotificationRegistry notifRegistry)
     Set the notification registry.
 voidsetRootContext(Context context)
     Set the root context.
 voidunregisterInvokerClass(String targettype)
     Remove the Invoker class registered for this target type (if there is one registered).


Constructor Detail
SCInstance
SCInstance(SCXMLExecutor executor)(Code)
Constructor.
Parameters:
  executor - The executor that this instance is attached to.




Method Detail
getContext
public Context getContext(TransitionTarget transitionTarget)(Code)
Get the Context for this TransitionTarget. If one is not available it is created.
Parameters:
  transitionTarget - The TransitionTarget. The Context.



getEvaluator
public Evaluator getEvaluator()(Code)
Get the Evaluator. The evaluator.



getExecutor
public SCXMLExecutor getExecutor()(Code)
Get the SCXMLExecutor this instance is attached to. The SCXMLExecutor this instance is attached to.
See Also:   org.apache.commons.scxml.SCXMLExecutor



getInvoker
public Invoker getInvoker(TransitionTarget transitionTarget)(Code)
Get the Invoker for this TransitionTarget . May return null. A non-null Invoker will be returned if and only if the TransitionTarget is currently active and contains an <invoke> child.
Parameters:
  transitionTarget - The TransitionTarget. The Invoker.



getInvokers
public Map getInvokers()(Code)
Return the Map of Invoker s currently "active". The map of invokers.



getLastConfiguration
public Set getLastConfiguration(History history)(Code)
Get the last configuration for this history.
Parameters:
  history - The history. Returns the lastConfiguration.



getNotificationRegistry
public NotificationRegistry getNotificationRegistry()(Code)
Get the notification registry. The notification registry.



getRootContext
public Context getRootContext()(Code)
Get the root context. The root context.



isEmpty
public boolean isEmpty(History history)(Code)
Check whether we have prior history.
Parameters:
  history - The history. Whether we have a non-empty last configuration



lookupContext
Context lookupContext(TransitionTarget transitionTarget)(Code)
Get the Context for this TransitionTarget. May return null.
Parameters:
  transitionTarget - The TransitionTarget. The Context.



newInvoker
public Invoker newInvoker(String targettype) throws InvokerException(Code)
Get the Invoker for this TransitionTarget . May return null. A non-null Invoker will be returned if and only if the TransitionTarget is currently active and contains an <invoke> child.
Parameters:
  targettype - The type of the target being invoked. An Invoker for the specified type, if aninvoker class is registered against that type,null otherwise.
throws:
  InvokerException - When a suitable Invoker cannotbe instantiated.



registerInvokerClass
void registerInvokerClass(String targettype, Class invokerClass)(Code)
Register an Invoker class for this target type.
Parameters:
  targettype - The target type (specified by "targettype"attribute of <invoke> tag).
Parameters:
  invokerClass - The Invoker Class.



reset
public void reset(History history)(Code)
Resets the history state.
Parameters:
  history - The history.
See Also:   org.apache.commons.scxml.SCXMLExecutor.reset



setContext
void setContext(TransitionTarget transitionTarget, Context context)(Code)
Set the Context for this TransitionTarget.
Parameters:
  transitionTarget - The TransitionTarget.
Parameters:
  context - The Context.



setEvaluator
void setEvaluator(Evaluator evaluator)(Code)
Set the Evaluator.
Parameters:
  evaluator - The evaluator.



setInvoker
public void setInvoker(TransitionTarget transitionTarget, Invoker invoker)(Code)
Set the Invoker for this TransitionTarget .
Parameters:
  transitionTarget - The TransitionTarget.
Parameters:
  invoker - The Invoker.



setLastConfiguration
public void setLastConfiguration(History history, Set lc)(Code)
Set the last configuration for this history.
Parameters:
  history - The history.
Parameters:
  lc - The lastConfiguration to set.



setNotificationRegistry
void setNotificationRegistry(NotificationRegistry notifRegistry)(Code)
Set the notification registry.
Parameters:
  notifRegistry - The notification registry.



setRootContext
void setRootContext(Context context)(Code)
Set the root context.
Parameters:
  context - The root context.



unregisterInvokerClass
void unregisterInvokerClass(String targettype)(Code)
Remove the Invoker class registered for this target type (if there is one registered).
Parameters:
  targettype - The target type (specified by "targettype"attribute of <invoke> tag).



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.