public class EndpointRegistry extends Object implements ConnectionManager
| Modifier and Type | Method and Description |
|---|---|
void |
addEndpointConnection(QName fromService,
String fromEndpoint,
QName toService,
String toEndpoint,
Link linkType)
######################################################################
##################### CONNECTION MANAGEMENT ##########################
####################################################################
|
boolean |
addEndpointConnectionInternal(QName fromService,
String fromEndpoint,
QName toService,
String toEndpoint,
Link linkType) |
void |
addInterfaceConnection(QName fromInterface,
QName toService,
String toEndpoint) |
RegisteredEndpoint |
getExternalEndpoint(QName service,
String endpoint) |
RegisteredEndpoint[] |
getExternalEndpointsForInterface(QName interfaceName) |
RegisteredEndpoint[] |
getExternalEndpointsForService(QName service) |
RegisteredEndpoint |
getInternalEndpoint(QName service,
String endpoint)
Return a registered endpoint with the specified name, if one exists.
|
RegisteredEndpoint |
getInternalEndpointByName(String epName)
Return a registered endpoint with the specified name, if one exists.
|
RegisteredEndpoint[] |
getInternalEndpointsForInterface(QName interfaceName)
Find internal endpoints that implement the specified interface.
|
RegisteredEndpoint |
getLinkedEndpointByName(String epName)
Return a linked endpoint with the specified name, if one exists.
|
String[] |
getLinkedEndpointsByChannel(String dcName)
Return a list of linked endpoint owned by the specified channel.
|
RegisteredEndpoint |
registerExternalEndpoint(ServiceEndpoint endpoint,
String ownerId)
######################################################################
####################### EXTERNAL ENDPOINTS ###########################
####################################################################
|
RegisteredEndpoint |
registerInternalEndpoint(QName service,
String endpoint,
String ownerId)
######################################################################
####################### INTERNAL ENDPOINTS ###########################
####################################################################
|
void |
removeEndpoint(ServiceEndpoint ref)
Remove an endpoint reference from the registry.
|
boolean |
removeEndpointConnection(QName fromService,
String fromEndpoint,
QName toService,
String toEndpoint) |
boolean |
removeEndpointConnectionInternal(QName fromService,
String fromEndpoint,
QName toService,
String toEndpoint) |
boolean |
removeInterfaceConnection(QName fromInterface,
QName toService,
String toEndpoint) |
RegisteredEndpoint |
resolveLinkedEndpoint(LinkedEndpoint link)
Translates a linked endpoint to its internal counterpart based on
a service connection specification.
|
String |
toString() |
public RegisteredEndpoint registerExternalEndpoint(ServiceEndpoint endpoint, String ownerId) throws MessagingException
MessagingExceptionpublic RegisteredEndpoint getExternalEndpoint(QName service, String endpoint)
public RegisteredEndpoint[] getExternalEndpointsForService(QName service)
public RegisteredEndpoint[] getExternalEndpointsForInterface(QName interfaceName)
public RegisteredEndpoint registerInternalEndpoint(QName service, String endpoint, String ownerId) throws MessagingException
MessagingExceptionpublic RegisteredEndpoint getInternalEndpoint(QName service, String endpoint)
public RegisteredEndpoint getInternalEndpointByName(String epName)
public RegisteredEndpoint getLinkedEndpointByName(String epName)
public String[] getLinkedEndpointsByChannel(String dcName)
public RegisteredEndpoint[] getInternalEndpointsForInterface(QName interfaceName)
public void removeEndpoint(ServiceEndpoint ref)
public void addEndpointConnection(QName fromService, String fromEndpoint, QName toService, String toEndpoint, Link linkType) throws MessagingException
addEndpointConnection in interface ConnectionManagerMessagingExceptionpublic boolean addEndpointConnectionInternal(QName fromService, String fromEndpoint, QName toService, String toEndpoint, Link linkType) throws MessagingException
MessagingExceptionpublic boolean removeEndpointConnection(QName fromService, String fromEndpoint, QName toService, String toEndpoint)
removeEndpointConnection in interface ConnectionManagerpublic boolean removeEndpointConnectionInternal(QName fromService, String fromEndpoint, QName toService, String toEndpoint)
public void addInterfaceConnection(QName fromInterface, QName toService, String toEndpoint) throws MessagingException
addInterfaceConnection in interface ConnectionManagerMessagingExceptionpublic boolean removeInterfaceConnection(QName fromInterface, QName toService, String toEndpoint)
removeInterfaceConnection in interface ConnectionManagerpublic RegisteredEndpoint resolveLinkedEndpoint(LinkedEndpoint link)
Copyright © 2011-2016 OpenESB Community. All Rights Reserved.