Java Doc for AbstractTransportListener.java in  » ESB » synapse » org » apache » synapse » transport » base » 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 » synapse » org.apache.synapse.transport.base 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.apache.synapse.transport.base.AbstractTransportListener

All known Subclasses:   org.apache.synapse.transport.base.AbstractPollingTransportListener,  org.apache.synapse.transport.amqp.AMQPListener,  org.apache.synapse.transport.jms.JMSListener,
AbstractTransportListener
abstract public class AbstractTransportListener implements TransportListener(Code)

Inner Class :class GenericAxisObserver implements AxisObserver

Field Summary
protected  ConfigurationContextcfgCtx
    
protected  AxisEngineengine
    
protected  booleanisNonBlocking
    
protected  Loglog
    
protected  booleanstarted
    
protected  StringtransportName
    
protected  booleanuseAxis2ThreadPool
    
protected  WorkerPoolworkerPool
    

Constructor Summary
protected  AbstractTransportListener()
    

Method Summary
public  MessageContextcreateMessageContext()
    
public  voiddestroy()
    
public  EndpointReferencegetEPRForService(String serviceName, String ip)
    
public  SessionContextgetSessionContext(MessageContext messageContext)
    
public  StringgetTransportName()
    
protected  voidhandleException(String msg, Exception e)
    
public  voidhandleIncomingMessage(MessageContext msgCtx, Map trpHeaders, String soapAction, String contentType)
    
public  voidinit(ConfigurationContext cfgCtx, TransportInDescription transportIn)
     Initialize the generic transport.
protected  voidlogException(String msg, Exception e)
    
public  voidsetTransportName(String transportName)
    
public  voidstart()
    
abstract protected  voidstartListeningForService(AxisService service)
    
public  voidstop()
    
abstract protected  voidstopListeningForService(AxisService service)
    

Field Detail
cfgCtx
protected ConfigurationContext cfgCtx(Code)
the axis2 configuration context



engine
protected AxisEngine engine(Code)
an axis2 engine over the above configuration context to process messages



isNonBlocking
protected boolean isNonBlocking(Code)
is this transport non-blocking?



log
protected Log log(Code)
the reference to the actual commons logger to be used for log messages



started
protected boolean started(Code)
is this transport started?



transportName
protected String transportName(Code)
the name of the transport



useAxis2ThreadPool
protected boolean useAxis2ThreadPool(Code)
use the thread pool available in the axis2 configuration context



workerPool
protected WorkerPool workerPool(Code)
the thread pool to execute actual poll invocations




Constructor Detail
AbstractTransportListener
protected AbstractTransportListener()(Code)
A constructor that makes subclasses pick up the correct logger




Method Detail
createMessageContext
public MessageContext createMessageContext()(Code)
Create a new axis MessageContext for an incoming message through this transport the newly created message context



destroy
public void destroy()(Code)



getEPRForService
public EndpointReference getEPRForService(String serviceName, String ip) throws AxisFault(Code)
This is a deprecated method in Axis2 and this default implementation returns the first result from the getEPRsForService() method



getSessionContext
public SessionContext getSessionContext(MessageContext messageContext)(Code)



getTransportName
public String getTransportName()(Code)



handleException
protected void handleException(String msg, Exception e) throws AxisFault(Code)



handleIncomingMessage
public void handleIncomingMessage(MessageContext msgCtx, Map trpHeaders, String soapAction, String contentType) throws AxisFault(Code)
Process a new incoming message through the axis engine
Parameters:
  msgCtx - the axis MessageContext
Parameters:
  trpHeaders - the map containing transport level message headers
Parameters:
  soapAction - the optional soap action or null
Parameters:
  contentType - the optional content-type for the message



init
public void init(ConfigurationContext cfgCtx, TransportInDescription transportIn) throws AxisFault(Code)
Initialize the generic transport. Sets up the transport and the thread pool to be used for message processing. Also creates an AxisObserver that gets notified of service life cycle events for the transport to act on
Parameters:
  cfgCtx - the axis configuration context
Parameters:
  transportIn - the transport-in description
throws:
  AxisFault - on error



logException
protected void logException(String msg, Exception e)(Code)



setTransportName
public void setTransportName(String transportName)(Code)



start
public void start() throws AxisFault(Code)



startListeningForService
abstract protected void startListeningForService(AxisService service)(Code)



stop
public void stop() throws AxisFault(Code)



stopListeningForService
abstract protected void stopListeningForService(AxisService service)(Code)



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.