Java Doc for Bus.java in  » ESB » celtix-1.0 » org » objectweb » celtix » 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 » celtix 1.0 » org.objectweb.celtix 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.objectweb.celtix.Bus

All known Subclasses:   org.objectweb.celtix.bus.busimpl.CeltixBus,
Bus
abstract public class Bus (Code)
The Bus class provides access to configuration, factories and managers for use by an application.


Field Summary
final public static  StringBUS_CLASS_PROPERTY
    


Method Summary
abstract public  voidaddListener(BusEventListener l, BusEventFilter filter)
     Adds an event listener to the current Bus.
static  voidclearCurrent()
     Clear current for all threads.
static  voidclearDefault()
    
abstract public  BindingManagergetBindingManager()
     Returns the BindingManager of this Bus.
abstract public  StringgetBusID()
    
public static  BusgetByID(String id)
     Returns the LAST Bus that was created with the given ID.
abstract public  ConfigurationgetConfiguration()
     Returns the Configuration of this Bus.
public static  BusgetCurrent()
     Returns the current Bus on this thread.
abstract public  EndpointRegistrygetEndpointRegistry()
    
abstract public  BusEventCachegetEventCache()
     Provides access to BusEventCache associated with the Bus.
abstract public  InstrumentationManagergetInstrumentationManager()
    
abstract public  BusLifeCycleManagergetLifeCycleManager()
     Returns the BusLifeCycleManager of this Bus.
abstract public  PluginManagergetPluginManager()
     Returns the PluginManager of this Bus.
abstract public  ResourceManagergetResourceManager()
     Returns the ResourceManager of this Bus.
abstract public  TransportFactoryManagergetTransportFactoryManager()
     Returns the TransportFactoryManager of this Bus.
abstract public  WSDLManagergetWSDLManager()
     Returns the ClientRegistry of this Bus.
abstract public  WorkQueueManagergetWorkQueueManager()
     Returns the WorkQueueManager of this Bus.
public static synchronized  Businit()
     Returns a newly created and fully initialised Bus.
public static synchronized  Businit(String[] args)
     Returns a newly created and fully initialised Bus.
Parameters:
  args - any args, such as domain name, bus class, and other configurationoptions that can be used to initialize this Bus.
public static synchronized  Businit(String[] args, Map<String, Object> properties)
     Returns a newly created and fully initialised Bus.
Parameters:
  args - any args, such as domain name, bus class, and other configurationoptions that can be used to initialize this Bus.
Parameters:
  properties - any properties, such as bus identifier, bus class, and other configurationoptions that can be used to identify and initialize this Bus.
public static synchronized  Businit(String[] args, Map<String, Object> properties, ClassLoader classLoader)
     Returns a newly created and fully initialised Bus.
Parameters:
  args - any args, such as domain name, bus class, and other configurationoptions that can be used to initialize this Bus.
Parameters:
  properties - any properties, such as domain name, bus class, and other configurationoptions that can be used to initialize this Bus.
abstract public  voidinitialize(String[] args, Map<String, Object> properties)
    
protected  voidremoveByID(String id)
    
abstract public  voidremoveListener(BusEventListener l)
     Removes the specified event listener from the Bus.
abstract public  voidrun()
     Starts processing bus events, and returns only after the Bus has been shut down (from another thread).
abstract public  voidsendEvent(BusEvent event)
     Sends the event specified to the Bus.
Parameters:
  event - The BusEvent to send.
public static  voidsetCurrent(Bus bus)
     Sets the current Bus.
abstract public  voidshutdown(boolean wait)
     Shuts down the Bus.

Field Detail
BUS_CLASS_PROPERTY
final public static String BUS_CLASS_PROPERTY(Code)





Method Detail
addListener
abstract public void addListener(BusEventListener l, BusEventFilter filter) throws BusException(Code)
Adds an event listener to the current Bus.
Parameters:
  l - The BusEvenetListener to be added.
Parameters:
  filter - A BusEventFilter to be applied to the listener.
throws:
  BusException - If there is an error adding listener.



clearCurrent
static void clearCurrent()(Code)
Clear current for all threads. For use in unit testing



clearDefault
static void clearDefault()(Code)



getBindingManager
abstract public BindingManager getBindingManager()(Code)
Returns the BindingManager of this Bus. BindingManager the binding manager of this Bus.



getBusID
abstract public String getBusID()(Code)
Returns the BusID of this Bus String BusID of this Bus



getByID
public static Bus getByID(String id)(Code)
Returns the LAST Bus that was created with the given ID. If multiple buses are created with the same ID, only the last is saved for access later. The Bus objects are only held via a WeakReference. Thus, if something else doesn't hold onto it, it will be garbage collected and this method will return null.
Parameters:
  id - The last bus by the given ID.



getConfiguration
abstract public Configuration getConfiguration()(Code)
Returns the Configuration of this Bus. Configuration the configuration of this bus.



getCurrent
public static Bus getCurrent()(Code)
Returns the current Bus on this thread. If no bus has been initialised on this thread, return the default bus. the current Bus on this thread.



getEndpointRegistry
abstract public EndpointRegistry getEndpointRegistry()(Code)
Get the Endpoint Registry from bus , which contains the jaxws endpoint reference



getEventCache
abstract public BusEventCache getEventCache()(Code)
Provides access to BusEventCache associated with the Bus. BusEventCache The BusEventCache object.
See Also:   BusEventCache



getInstrumentationManager
abstract public InstrumentationManager getInstrumentationManager()(Code)
Returns the InstrumenatationManager of this Bus InstrumentationManager of this Bus



getLifeCycleManager
abstract public BusLifeCycleManager getLifeCycleManager()(Code)
Returns the BusLifeCycleManager of this Bus. BusLifeCycleManager of this Bus.



getPluginManager
abstract public PluginManager getPluginManager()(Code)
Returns the PluginManager of this Bus. PluginManager the plugin manager of this Bus.



getResourceManager
abstract public ResourceManager getResourceManager()(Code)
Returns the ResourceManager of this Bus. ResourceManager of this Bus.



getTransportFactoryManager
abstract public TransportFactoryManager getTransportFactoryManager()(Code)
Returns the TransportFactoryManager of this Bus. TransportRegistry the servant registry of this Bus.



getWSDLManager
abstract public WSDLManager getWSDLManager()(Code)
Returns the ClientRegistry of this Bus. WSDLManager the wsdl manager of this Bus.



getWorkQueueManager
abstract public WorkQueueManager getWorkQueueManager()(Code)
Returns the WorkQueueManager of this Bus. WorkQueueManager of this Bus.



init
public static synchronized Bus init() throws BusException(Code)
Returns a newly created and fully initialised Bus. Bus the newly created Bus.
throws:
  BusException - If there is an error initializing Bus.



init
public static synchronized Bus init(String[] args) throws BusException(Code)
Returns a newly created and fully initialised Bus.
Parameters:
  args - any args, such as domain name, bus class, and other configurationoptions that can be used to initialize this Bus. Bus the newly created Bus.
throws:
  BusException - If there is an error initializing Bus.



init
public static synchronized Bus init(String[] args, Map<String, Object> properties) throws BusException(Code)
Returns a newly created and fully initialised Bus.
Parameters:
  args - any args, such as domain name, bus class, and other configurationoptions that can be used to initialize this Bus.
Parameters:
  properties - any properties, such as bus identifier, bus class, and other configurationoptions that can be used to identify and initialize this Bus. The properties are superceded by the settings in the args parameter,and they in turn supercede system properties. Bus the newly created Bus.
throws:
  BusException - If there is an error initializing Bus.



init
public static synchronized Bus init(String[] args, Map<String, Object> properties, ClassLoader classLoader) throws BusException(Code)
Returns a newly created and fully initialised Bus.
Parameters:
  args - any args, such as domain name, bus class, and other configurationoptions that can be used to initialize this Bus.
Parameters:
  properties - any properties, such as domain name, bus class, and other configurationoptions that can be used to initialize this Bus. The properties are superceded by the settings in the args parameter,and they in turn supercede system properties.
Parameters:
  classLoader - an optional classloader to use when instantiating a Busneeds to be instantiated (defaults to the current thread's context classloader). Bus the newly created Bus.
throws:
  BusException - If there is an error initializing Bus.



initialize
abstract public void initialize(String[] args, Map<String, Object> properties) throws BusException(Code)



removeByID
protected void removeByID(String id)(Code)



removeListener
abstract public void removeListener(BusEventListener l) throws BusException(Code)
Removes the specified event listener from the Bus.
Parameters:
  l - The BusEventListener to be removed.
throws:
  BusException - If there is an error removing the listener.



run
abstract public void run()(Code)
Starts processing bus events, and returns only after the Bus has been shut down (from another thread).



sendEvent
abstract public void sendEvent(BusEvent event)(Code)
Sends the event specified to the Bus.
Parameters:
  event - The BusEvent to send.



setCurrent
public static void setCurrent(Bus bus)(Code)
Sets the current Bus. If a bus is explicitly initialised on a thread, this is the current bus. If no thread has been initialised (implicitly or explicitly), setting the current bus will set the default bus for all threads
Parameters:
  bus - the current bus



shutdown
abstract public void shutdown(boolean wait) throws BusException(Code)
Shuts down the Bus.
Parameters:
  wait - If true, waits for the Busto shutdown before returning, otherwise returns immediately.
throws:
  BusException -



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.