org.ow2.petals.jbi.messaging.registry
Class AbstractEndpointRegistry
java.lang.Object
org.ow2.petals.jbi.messaging.registry.AbstractEndpointRegistry
- All Implemented Interfaces:
- EndpointRegistry, EndpointRegistryMBean, RegistryManagement
- Direct Known Subclasses:
- BaseEndpointRegistry
public abstract class AbstractEndpointRegistry
- extends java.lang.Object
- implements EndpointRegistry
The abstract endoint registry.
- Author:
- chamerling - eBM WebSourcing
|
Field Summary |
protected org.ow2.petals.util.LoggingUtil |
log
|
|
Method Summary |
java.util.List<java.util.Map<java.lang.String,java.lang.Object>> |
getAllEndpoints()
Retrieve all activated endpoints (internal, external and connections)
information for the current Domain. |
java.util.List<java.util.Map<java.lang.String,java.lang.Object>> |
getAllExternalEndpoints()
Retrieve all activated external endpoints information for the current
Domain. |
java.util.List<java.util.Map<java.lang.String,java.lang.Object>> |
getAllInternalEndpoints()
Retrieve all activated internal endpoints information for the current
Domain. |
java.util.List<ServiceEndpoint> |
getEndpoints()
|
protected static java.util.List<java.lang.String> |
interfaceQNameToString(ServiceEndpoint abstractEndpoint)
Extract interface QName from the given endpoint. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.ow2.petals.jbi.messaging.registry.EndpointRegistry |
activateEndpoint, deactivateEndpoint, deregisterConnection, deregisterConnection, deregisterExternalEndpoint, getEndpoint, getEndpointDescriptorForEndpoint, getExternalEndpoints, getExternalEndpointsForInterface, getExternalEndpointsForService, getInterfacesForEndpoint, getInternalEndpoints, getInternalEndpointsForInterface, getInternalEndpointsForService, getListeners, query, registerConnection, registerConnection, registerExternalEndpoint, removeAllLocalEndpoints |
log
protected org.ow2.petals.util.LoggingUtil log
AbstractEndpointRegistry
public AbstractEndpointRegistry()
getAllEndpoints
public java.util.List<java.util.Map<java.lang.String,java.lang.Object>> getAllEndpoints()
- Retrieve all activated endpoints (internal, external and connections)
information for the current Domain. An endpoint is mapped to a
Map with the following fields :
| key |
type |
| componentName |
String |
| containerName |
String |
| endpointName |
String |
| serviceName |
String |
| interfaceNames |
String[] |
| type |
String |
The type field follow this pattern : 'internal' if it's an internal
endpoint, 'external' if it's an external endpoint or
'{serviceNamespace}serviceLocalpart@endpointName' if it's a connection
- Specified by:
getAllEndpoints in interface EndpointRegistryMBean
- Returns:
- a
List of all activated endpoints (internal, external and
connections) information for the current Joram Domain. Must be
non null, may be empty
getAllInternalEndpoints
public java.util.List<java.util.Map<java.lang.String,java.lang.Object>> getAllInternalEndpoints()
- Retrieve all activated internal endpoints information for the current
Domain. An endpoint is mapped to a
Map with the following fields
:
| key |
type |
| componentName |
String |
| containerName |
String |
| endpointName |
String |
| serviceName |
String |
| interfaceNames |
String[] |
- Specified by:
getAllInternalEndpoints in interface EndpointRegistryMBean
- Returns:
- a
List of all activated internal endpoints information
for the current Joram Domain. Must be non null, may be empty
getAllExternalEndpoints
public java.util.List<java.util.Map<java.lang.String,java.lang.Object>> getAllExternalEndpoints()
- Retrieve all activated external endpoints information for the current
Domain. An endpoint is mapped to a
Map with the following fields
:
| key |
type |
| componentName |
String |
| containerName |
String |
| endpointName |
String |
| serviceName |
String |
| interfaceNames |
String[] |
- Specified by:
getAllExternalEndpoints in interface EndpointRegistryMBean
- Returns:
- a
List of all activated external endpoints information
for the current Domain. Must be non null, may be empty
interfaceQNameToString
protected static final java.util.List<java.lang.String> interfaceQNameToString(ServiceEndpoint abstractEndpoint)
- Extract interface QName from the given endpoint.
- Parameters:
abstractEndpoint -
- Returns:
getEndpoints
public java.util.List<ServiceEndpoint> getEndpoints()
-
- Specified by:
getEndpoints in interface EndpointRegistry
Copyright © 2005-2011 Petals Link (EBM Websourcing). All Rights Reserved.