Java Doc for ContinuationConfigInstrument.java in  » Web-Framework » rife-1.6.1 » com » uwyn » rife » continuations » 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 » Web Framework » rife 1.6.1 » com.uwyn.rife.continuations 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


com.uwyn.rife.continuations.ContinuationConfigInstrument

All known Subclasses:   com.uwyn.rife.engine.EngineContinuationConfigInstrument,  com.uwyn.rife.continuations.ContinuationConfigInstrumentTests,
ContinuationConfigInstrument
public interface ContinuationConfigInstrument (Code)
This interface needs to be implemented to configure the bytecode instrumentation that enables the continuations functionalities.
author:
   Geert Bevin (gbevin[remove] at uwyn dot com)
version:
   $Revision: 3811 $
since:
   1.6




Method Summary
public  StringgetAnswerMethodName()
     The name of the method that will trigger the answer to a call continuation, for instance "answer" .
public  Class[]getCallMethodArgumentTypes()
    
public  StringgetCallMethodName()
     The name of the method that will trigger a call continuation, for instance "call" .
public  ClassgetCallMethodReturnType()
     The return type of the call method, for instance Object.class .

This needs to be an object, not a primitive and you have to be certain that it's compatible with the values that are sent through the answer to the call continuation.

public  StringgetContinuableMarkerInterfaceName()
     The name of the interface that will indicate that a class should be instrumented for continuations functionalities, for instance ContinuableObject.class.getName() .
public  StringgetContinuableSupportClassName()
     The class name of the support class that contains dummy implementations of the continuation methods that are configured below, for instance ContinuableSupport.class.getName() .

If you implement these methods in your continuable classes or extend these classes from a common base class with those methods that are then called locally, this configuration can return null since it will not be used.

public  Class[]getEntryMethodArgumentTypes()
     The array argument types that the entry method takes, for instance null if it takes none.
public  StringgetEntryMethodName()
     The name of the entry method that will be invoked when a new instance of a continuable class is created and its execution is started, for instance "execute" .
public  ClassgetEntryMethodReturnType()
     The return type of the entry method, for instance void.class .
public  StringgetPauseMethodName()
     The name of the method that will trigger a pause continuation, for instance "pause" .
public  StringgetStepbackMethodName()
     The name of the method that will trigger a step-back continuation, for instance "stepback" .



Method Detail
getAnswerMethodName
public String getAnswerMethodName()(Code)
The name of the method that will trigger the answer to a call continuation, for instance "answer" .

This method should have a void return type and take one argument with the type java.lang.Object . the name of the answer method
since:
   1.6




getCallMethodArgumentTypes
public Class[] getCallMethodArgumentTypes()(Code)



getCallMethodName
public String getCallMethodName()(Code)
The name of the method that will trigger a call continuation, for instance "call" . the name of the call method
since:
   1.6



getCallMethodReturnType
public Class getCallMethodReturnType()(Code)
The return type of the call method, for instance Object.class .

This needs to be an object, not a primitive and you have to be certain that it's compatible with the values that are sent through the answer to the call continuation. It's just recommended to keep this as generic as possible (hence Object.class ). the type of the call method's return value
since:
   1.6




getContinuableMarkerInterfaceName
public String getContinuableMarkerInterfaceName()(Code)
The name of the interface that will indicate that a class should be instrumented for continuations functionalities, for instance ContinuableObject.class.getName() . the name of the marker interface
since:
   1.6



getContinuableSupportClassName
public String getContinuableSupportClassName()(Code)
The class name of the support class that contains dummy implementations of the continuation methods that are configured below, for instance ContinuableSupport.class.getName() .

If you implement these methods in your continuable classes or extend these classes from a common base class with those methods that are then called locally, this configuration can return null since it will not be used. A class name only needs to be provided if your continuable classes only implement the marker interface, and you call the continuation methods on an instance of this support inside your continuations logic. the name of the continuable support class; or

null if such a support class isn't used
since:
   1.6




getEntryMethodArgumentTypes
public Class[] getEntryMethodArgumentTypes()(Code)
The array argument types that the entry method takes, for instance null if it takes none.

This will solely be used to detect and lookup the method before instrumenting or calling it. the array of argument types of the entry method; or null if there are none
since:
   1.6




getEntryMethodName
public String getEntryMethodName()(Code)
The name of the entry method that will be invoked when a new instance of a continuable class is created and its execution is started, for instance "execute" . the name of the entry method
since:
   1.6



getEntryMethodReturnType
public Class getEntryMethodReturnType()(Code)
The return type of the entry method, for instance void.class .

This will solely be used to detect and lookup the method before instrumenting or calling it. the class of the entry method's return value
since:
   1.6




getPauseMethodName
public String getPauseMethodName()(Code)
The name of the method that will trigger a pause continuation, for instance "pause" .

This method should have a void return type and take no arguments. the name of the pause method
since:
   1.6




getStepbackMethodName
public String getStepbackMethodName()(Code)
The name of the method that will trigger a step-back continuation, for instance "stepback" .

This method should have a void return type and take no arguments. the name of the step-back method
since:
   1.6




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