|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface EndpointRegistry
The Registry is used to register endpoints, unregister them, query endpoints and create a Channel to interfact with them.
| Method Summary | |
|---|---|
Reference |
lookup(org.w3c.dom.Document xml)
This methods creates a Reference from its xml representation. |
Reference |
lookup(java.util.Map<java.lang.String,?> properties)
From a given amount of metadata which could include interface name, service name policy data and so forth, choose an available endpoint reference to use for invocations. |
Reference |
lookup(java.lang.String filter)
Creates a Reference that select endpoints that match the given LDAP filter. |
java.util.List<Endpoint> |
query(java.util.Map<java.lang.String,?> properties)
Query the registry for a list of registered endpoints. |
void |
register(Endpoint endpoint,
java.util.Map<java.lang.String,?> properties)
Register the given endpoint in the registry. |
void |
unregister(Endpoint endpoint,
java.util.Map<java.lang.String,?> properties)
Unregister a previously register enpoint. |
| Methods inherited from interface org.apache.servicemix.nmr.api.service.ServiceRegistry |
|---|
getProperties, getServices |
| Method Detail |
|---|
void register(Endpoint endpoint,
java.util.Map<java.lang.String,?> properties)
Channel will be injected onto the Endpoint using
the Endpoint.setChannel(Channel) method.
register in interface ServiceRegistry<Endpoint>endpoint - the endpoint to registerproperties - the metadata associated with this endpoint
void unregister(Endpoint endpoint,
java.util.Map<java.lang.String,?> properties)
unregister in interface ServiceRegistry<Endpoint>endpoint - the endpoint to unregisterproperties - the metadata associated with this endpointjava.util.List<Endpoint> query(java.util.Map<java.lang.String,?> properties)
properties - filtering data
Reference lookup(java.util.Map<java.lang.String,?> properties)
properties - filtering dataReference lookup(org.w3c.dom.Document xml)
xml - the xml document describing this reference
Reference.toXml()Reference lookup(java.lang.String filter)
filter - a LDAP filter used to find matching endpoints
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||