public class LocalServiceRegistry extends Object
| Constructor and Description |
|---|
LocalServiceRegistry() |
| Modifier and Type | Method and Description |
|---|---|
void |
addExcludedComponent(IComponentIdentifier cid)
Add an excluded component.
|
void |
addService(ClassInfo key,
IService service)
Add a service to the registry.
|
static String |
getApplicationName(IComponentIdentifier cid)
Get the application name.
|
static String |
getDotName(IComponentIdentifier cid) |
static String |
getSubcomponentName(IComponentIdentifier cid)
Get the subcomponent name.
|
boolean |
isIncluded(IComponentIdentifier cid,
IService ser)
Test if a service is included.
|
void |
removeExcludedComponent(IComponentIdentifier cid)
Remove an excluded component.
|
void |
removeService(ClassInfo key,
IService service)
Remove a service from the registry.
|
<T> IFuture<T> |
searchGlobalService(Class<T> type,
IComponentIdentifier cid,
IRemoteFilter<T> filter)
Search for services.
|
<T> ITerminableIntermediateFuture<T> |
searchGlobalServices(Class<T> type,
IComponentIdentifier cid,
IRemoteFilter<T> filter)
Search for services.
|
<T> T |
searchService(Class<T> type,
IComponentIdentifier cid,
String scope)
Search for services.
|
<T> T |
searchService(Class<T> type,
IComponentIdentifier cid,
String scope,
IFilter<T> filter)
Search for service.
|
<T> IFuture<T> |
searchService(Class<T> type,
IComponentIdentifier cid,
String scope,
IRemoteFilter<T> filter)
Search for service.
|
<T> Collection<T> |
searchServices(Class<T> type,
IComponentIdentifier cid,
String scope)
Search for services.
|
<T> Collection<T> |
searchServices(Class<T> type,
IComponentIdentifier cid,
String scope,
IFilter<T> filter)
Search for service.
|
<T> ISubscriptionIntermediateFuture<T> |
searchServices(Class<T> type,
IComponentIdentifier cid,
String scope,
IRemoteFilter<T> filter)
Search for services.
|
public void addExcludedComponent(IComponentIdentifier cid)
The - component identifier.public void removeExcludedComponent(IComponentIdentifier cid)
The - component identifier.public boolean isIncluded(IComponentIdentifier cid, IService ser)
ser - The service.public void addService(ClassInfo key, IService service)
sid - The service id.public void removeService(ClassInfo key, IService service)
sid - The service id.public <T> T searchService(Class<T> type, IComponentIdentifier cid, String scope)
public <T> Collection<T> searchServices(Class<T> type, IComponentIdentifier cid, String scope)
public <T> T searchService(Class<T> type, IComponentIdentifier cid, String scope, IFilter<T> filter)
public <T> Collection<T> searchServices(Class<T> type, IComponentIdentifier cid, String scope, IFilter<T> filter)
public <T> IFuture<T> searchService(Class<T> type, IComponentIdentifier cid, String scope, IRemoteFilter<T> filter)
public <T> ISubscriptionIntermediateFuture<T> searchServices(Class<T> type, IComponentIdentifier cid, String scope, IRemoteFilter<T> filter)
public <T> IFuture<T> searchGlobalService(Class<T> type, IComponentIdentifier cid, IRemoteFilter<T> filter)
public <T> ITerminableIntermediateFuture<T> searchGlobalServices(Class<T> type, IComponentIdentifier cid, IRemoteFilter<T> filter)
public static String getApplicationName(IComponentIdentifier cid)
public static String getSubcomponentName(IComponentIdentifier cid)
cid - The component id.public static String getDotName(IComponentIdentifier cid)
Copyright © 2015. All Rights Reserved.