Java Doc for EndpointRegistry.java in  » ESB » servicemix » org » apache » servicemix » jbi » framework » 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 » servicemix » org.apache.servicemix.jbi.framework 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.apache.servicemix.jbi.framework.EndpointRegistry

EndpointRegistry
public class EndpointRegistry (Code)
Registry for Components
version:
   $Revision: 564900 $



Constructor Summary
public  EndpointRegistry(Registry registry)
    

Method Summary
protected  ServiceEndpoint[]asEndpointArray(Collection<ServiceEndpoint> collection)
    
protected  voidfireEvent(ServiceEndpoint ep, int type)
    
public  ServiceEndpoint[]getAllEndpointsForComponent(ComponentNameSpace cns)
    
public  ServiceEndpointgetEndpoint(QName service, String name)
    
public  Collection<Endpoint>getEndpointMBeans()
    
protected  Collection<ServiceEndpoint>getEndpointsByInterface(QName interfaceName, Collection<ServiceEndpoint> endpoints)
     Filters the given endpoints and returns those implementing the given interface name.
protected  Collection<ServiceEndpoint>getEndpointsByService(QName serviceName, Collection<ServiceEndpoint> endpoints)
    
public  ServiceEndpoint[]getEndpointsForComponent(ComponentNameSpace cns)
    
public  ServiceEndpoint[]getEndpointsForInterface(QName interfaceName)
     This will return the endpoints for all services and endpoints that implement the named interface (portType in WSDL 1.1).
public  ServiceEndpoint[]getEndpointsForService(QName serviceName)
    
protected  Collection<ServiceEndpoint>getExternalEndpoints()
    
public  ServiceEndpoint[]getExternalEndpointsForInterface(QName interfaceName)
     This methods returns only registered external endpoints
Parameters:
  interfaceName - qualified name of interface implemented by the endpoints; must be non-null.
public  ServiceEndpoint[]getExternalEndpointsForService(QName serviceName)
     Get external endpoints for the service
Parameters:
  serviceName - qualified name of service that contains the endpoints; must be non-null.
public  ServiceEndpointgetInternalEndpoint(QName service, String name)
    
protected  Collection<ServiceEndpoint>getInternalEndpoints()
    
public  voidregisterEndpointConnection(QName fromSvc, String fromEp, QName toSvc, String toEp, String link)
     Registers an endpoint connection.
public  voidregisterExternalEndpoint(ComponentNameSpace cns, ServiceEndpoint externalEndpoint)
     Registers the given external endpoint with the NMR.
public  voidregisterInterfaceConnection(QName fromItf, QName toSvc, String toEp)
     Registers an interface connection.
public  InternalEndpointregisterInternalEndpoint(ComponentContextImpl provider, QName serviceName, String endpointName)
    
public  voidregisterRemoteEndpoint(InternalEndpoint remote)
    
public  voidunregisterEndpointConnection(QName fromSvc, String fromEp)
     Unregister an endpoint connection.
public  voidunregisterExternalEndpoint(ComponentNameSpace cns, ServiceEndpoint externalEndpoint)
     Deregisters the given external endpoint with the NMR.
public  voidunregisterInterfaceConnection(QName fromItf)
     Unregisters an interface connection.
public  voidunregisterInternalEndpoint(ComponentContext provider, InternalEndpoint serviceEndpoint)
     Called by component context when endpoints are being deactivated.
public  voidunregisterRemoteEndpoint(InternalEndpoint remote)
    


Constructor Detail
EndpointRegistry
public EndpointRegistry(Registry registry)(Code)
Constructor
Parameters:
  cr -




Method Detail
asEndpointArray
protected ServiceEndpoint[] asEndpointArray(Collection<ServiceEndpoint> collection)(Code)
Helper method to convert the given collection into an array of endpoints
Parameters:
  collection - array of endpoints



fireEvent
protected void fireEvent(ServiceEndpoint ep, int type)(Code)



getAllEndpointsForComponent
public ServiceEndpoint[] getAllEndpointsForComponent(ComponentNameSpace cns)(Code)



getEndpoint
public ServiceEndpoint getEndpoint(QName service, String name)(Code)
Get the named ServiceEndpoint, if activated
Parameters:
  service -
Parameters:
  name - the activated ServiceEndpoint or null



getEndpointMBeans
public Collection<Endpoint> getEndpointMBeans()(Code)
Returns a collection of Endpoint objects



getEndpointsByInterface
protected Collection<ServiceEndpoint> getEndpointsByInterface(QName interfaceName, Collection<ServiceEndpoint> endpoints)(Code)
Filters the given endpoints and returns those implementing the given interface name. If interfaceName is null, then no filter is applied.



getEndpointsByService
protected Collection<ServiceEndpoint> getEndpointsByService(QName serviceName, Collection<ServiceEndpoint> endpoints)(Code)
return a collection of endpoints
Parameters:
  serviceName -
Parameters:
  endpoints - collection of endpoints



getEndpointsForComponent
public ServiceEndpoint[] getEndpointsForComponent(ComponentNameSpace cns)(Code)



getEndpointsForInterface
public ServiceEndpoint[] getEndpointsForInterface(QName interfaceName)(Code)
This will return the endpoints for all services and endpoints that implement the named interface (portType in WSDL 1.1). This method does NOT include external endpoints.
Parameters:
  interfaceName - qualified name of interface/portType that is implemented by the endpoint; ifnull then all activated endpoints in the JBI environment must be returned. an array of available endpoints for the specified interface name; must be non-null; may be empty.



getEndpointsForService
public ServiceEndpoint[] getEndpointsForService(QName serviceName)(Code)
Get all endpoints for a given service
Parameters:
  serviceName - array of endpoints



getExternalEndpoints
protected Collection<ServiceEndpoint> getExternalEndpoints()(Code)
all external endpoints



getExternalEndpointsForInterface
public ServiceEndpoint[] getExternalEndpointsForInterface(QName interfaceName)(Code)
This methods returns only registered external endpoints
Parameters:
  interfaceName - qualified name of interface implemented by the endpoints; must be non-null. an array of available external endpoints for the specified interface name; must be non-null; may beempty.



getExternalEndpointsForService
public ServiceEndpoint[] getExternalEndpointsForService(QName serviceName)(Code)
Get external endpoints for the service
Parameters:
  serviceName - qualified name of service that contains the endpoints; must be non-null. an array of available external endpoints for the specified service name; must be non-null; may be empty.



getInternalEndpoint
public ServiceEndpoint getInternalEndpoint(QName service, String name)(Code)



getInternalEndpoints
protected Collection<ServiceEndpoint> getInternalEndpoints()(Code)
all default endpoints



registerEndpointConnection
public void registerEndpointConnection(QName fromSvc, String fromEp, QName toSvc, String toEp, String link) throws JBIException(Code)
Registers an endpoint connection.
Parameters:
  fromSvc -
Parameters:
  fromEp -
Parameters:
  toSvc -
Parameters:
  toEp -
Parameters:
  link -
throws:
  JBIException -



registerExternalEndpoint
public void registerExternalEndpoint(ComponentNameSpace cns, ServiceEndpoint externalEndpoint) throws JBIException(Code)
Registers the given external endpoint with the NMR. This indicates to the NMR that the given endpoint is used as a proxy for external service consumers to access an internal service of the same service name (but a different endpoint name).
Parameters:
  provider -
Parameters:
  externalEndpoint - the external endpoint to be registered, must be non-null.
throws:
  JBIException -



registerInterfaceConnection
public void registerInterfaceConnection(QName fromItf, QName toSvc, String toEp) throws JBIException(Code)
Registers an interface connection.
Parameters:
  fromItf -
Parameters:
  toSvc -
Parameters:
  toEp -
throws:
  JBIException -



registerInternalEndpoint
public InternalEndpoint registerInternalEndpoint(ComponentContextImpl provider, QName serviceName, String endpointName) throws JBIException(Code)
Activate an endpoint
Parameters:
  provider -
Parameters:
  serviceName -
Parameters:
  endpointName - the endpoint
throws:
  JBIException -



registerRemoteEndpoint
public void registerRemoteEndpoint(InternalEndpoint remote)(Code)
Registers a remote endpoint
Parameters:
  remote -



unregisterEndpointConnection
public void unregisterEndpointConnection(QName fromSvc, String fromEp)(Code)
Unregister an endpoint connection.
Parameters:
  fromSvc -
Parameters:
  fromEp -



unregisterExternalEndpoint
public void unregisterExternalEndpoint(ComponentNameSpace cns, ServiceEndpoint externalEndpoint)(Code)
Deregisters the given external endpoint with the NMR. This indicates to the NMR that the given external endpoint can no longer be used as a proxy for external service consumers to access an internal service of the same service name.
Parameters:
  provider -
Parameters:
  externalEndpoint - the external endpoint to be deregistered; must be non-null.



unregisterInterfaceConnection
public void unregisterInterfaceConnection(QName fromItf)(Code)
Unregisters an interface connection.
Parameters:
  fromItf -



unregisterInternalEndpoint
public void unregisterInternalEndpoint(ComponentContext provider, InternalEndpoint serviceEndpoint)(Code)
Called by component context when endpoints are being deactivated.
Parameters:
  provider -
Parameters:
  serviceEndpoint -



unregisterRemoteEndpoint
public void unregisterRemoteEndpoint(InternalEndpoint remote)(Code)
Unregisters a remote endpoint
Parameters:
  remote -



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.