Java Doc for SimpleServicelist.java in  » ESB » open-esb » com » sun » jbi » engine » sequencing » servicelist » 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 » ESB » open esb » com.sun.jbi.engine.sequencing.servicelist 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.sun.jbi.engine.sequencing.servicelist.SimpleServicelist

SimpleServicelist
public class SimpleServicelist implements Servicelist,SequencingEngineResources(Code)
Class Servicelist. This class has the logic for exetiing the service list This is a simple implementation which executes the services in a sequence.
author:
   Sun Microsystems, Inc.

Inner Class :public class ReminderTask extends TimerTask


Constructor Summary
public  SimpleServicelist()
     Creates a new Servicelist object.

Method Summary
public  voidcancelExchange()
     Cancels the message exchange.
public  voidexecute()
     This is the command pattern implementation method which is invoked when this object is run in a thread pool.
public  voidexecuteService(int index)
     Executes the service with given index in the list.
public  MessageExchangegetCurrentExchange()
     Returns the current exchange object that is being processed.
public  ServiceBeangetCurrentService()
     Returns the current service object, thats being executed.
public  StringgetDeploymentId()
     Returns the deployment ID associated with this servicelist.
public  javax.jbi.messaging.MessageExchangegetInboundExchange()
     Getter for property mInboundExchange.
public  StringgetListName()
     returnd the list name that is being executed in this object.
public  ServicelistBeangetServicelistBean()
     Returns the servicelist bean.
public  intgetState()
     Returns the current state od the service list.
public  booleanhasTimedOut()
     returns the value of mTimedOut.
public  voidprocessResponse()
     Processes the response.
public  voidresumeTX()
    
public  voidsendListError()
     sends an error message for list execution.
public  voidsendListResponse()
     sends the response for the list execution.
public  voidsetInboundExchange(javax.jbi.messaging.MessageExchange mInboundExchange)
     Setter for property mInboundExchange.
public  voidsetMessageExchange(MessageExchange msgex)
     sets the message exchange to be processed in this list.
public  voidsetServicelistBean(ServicelistBean listbean)
     sets the servicelist bean.
public  voidsetState(int state)
     Sets state.
public  voidsetTransactionContext(Transaction tran)
     Sets the transaction context.
public  voidsetType(int type)
     sets the type.
public  voidstartTimer(long timeout)
     starts the timer.


Constructor Detail
SimpleServicelist
public SimpleServicelist()(Code)
Creates a new Servicelist object.




Method Detail
cancelExchange
public void cancelExchange()(Code)
Cancels the message exchange.



execute
public void execute()(Code)
This is the command pattern implementation method which is invoked when this object is run in a thread pool.



executeService
public void executeService(int index)(Code)
Executes the service with given index in the list.
Parameters:
  index - service index



getCurrentExchange
public MessageExchange getCurrentExchange()(Code)
Returns the current exchange object that is being processed. message exchange



getCurrentService
public ServiceBean getCurrentService()(Code)
Returns the current service object, thats being executed. service bean object.



getDeploymentId
public String getDeploymentId()(Code)
Returns the deployment ID associated with this servicelist. deployment id



getInboundExchange
public javax.jbi.messaging.MessageExchange getInboundExchange()(Code)
Getter for property mInboundExchange. Value of property mInboundExchange.



getListName
public String getListName()(Code)
returnd the list name that is being executed in this object. string list name



getServicelistBean
public ServicelistBean getServicelistBean()(Code)
Returns the servicelist bean. list bean



getState
public int getState()(Code)
Returns the current state od the service list. state



hasTimedOut
public boolean hasTimedOut()(Code)
returns the value of mTimedOut. true if the service has timed out



processResponse
public void processResponse()(Code)
Processes the response.



resumeTX
public void resumeTX()(Code)



sendListError
public void sendListError()(Code)
sends an error message for list execution.



sendListResponse
public void sendListResponse()(Code)
sends the response for the list execution.



setInboundExchange
public void setInboundExchange(javax.jbi.messaging.MessageExchange mInboundExchange)(Code)
Setter for property mInboundExchange.
Parameters:
  mInboundExchange - New value of property mInboundExchange.



setMessageExchange
public void setMessageExchange(MessageExchange msgex)(Code)
sets the message exchange to be processed in this list.
Parameters:
  msgex - msg exchange



setServicelistBean
public void setServicelistBean(ServicelistBean listbean)(Code)
sets the servicelist bean.
Parameters:
  listbean - service list bean.



setState
public void setState(int state)(Code)
Sets state.
Parameters:
  state - state.



setTransactionContext
public void setTransactionContext(Transaction tran)(Code)
Sets the transaction context.
Parameters:
  tran - transaction.



setType
public void setType(int type)(Code)
sets the type.
Parameters:
  type - request or response



startTimer
public void startTimer(long timeout)(Code)
starts the timer.
Parameters:
  timeout - timeout , if -1 then timer is not started



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.