public class DistributedServiceRegistry extends PlatformServiceRegistry
Modifier and Type | Class and Description |
---|---|
class |
DistributedServiceRegistry.InvalidateServiceListener<T> |
excluded, services
Constructor and Description |
---|
DistributedServiceRegistry(IInternalAccess access,
boolean provideOnly) |
Modifier and Type | Method and Description |
---|---|
void |
addService(ClassInfo key,
IService service)
Add a service to the registry.
|
protected <T> TerminableIntermediateFuture<T> |
getServiceProxies(java.util.Collection<ServiceRegistration> regs,
java.lang.Class<T> type,
IComponentIdentifier caller) |
protected <T> IFuture<T> |
getServiceProxy(IServiceIdentifier sid,
java.lang.Class<T> type,
IComponentIdentifier caller) |
protected boolean |
isValid(IDistributedServiceRegistryService kvService) |
protected <T> IFuture<T> |
searchRemoteService(IComponentIdentifier caller,
java.lang.Class<T> type,
IAsyncFilter<T> filter)
Search for services on remote platforms.
|
protected <T> ITerminableIntermediateFuture<T> |
searchRemoteServices(IComponentIdentifier caller,
java.lang.Class<T> type,
IAsyncFilter<T> filter)
Search for services on remote platforms.
|
addExcludedComponent, checkPublicationScope, checkSearchScope, getApplicationName, getDotName, getRegistry, getRegistry, getService, getServices, getSubcomponentName, isIncluded, removeExcludedComponent, removeService, searchGlobalService, searchGlobalServices, searchLoopService, searchLoopServices, searchService, searchService, searchService, searchServices, searchServices, searchServices
public DistributedServiceRegistry(IInternalAccess access, boolean provideOnly)
protected boolean isValid(IDistributedServiceRegistryService kvService)
public void addService(ClassInfo key, IService service)
PlatformServiceRegistry
addService
in class PlatformServiceRegistry
protected <T> ITerminableIntermediateFuture<T> searchRemoteServices(IComponentIdentifier caller, java.lang.Class<T> type, IAsyncFilter<T> filter)
PlatformServiceRegistry
searchRemoteServices
in class PlatformServiceRegistry
caller
- The component that started the search.type
- The type.filter
- The filter.protected <T> TerminableIntermediateFuture<T> getServiceProxies(java.util.Collection<ServiceRegistration> regs, java.lang.Class<T> type, IComponentIdentifier caller)
protected <T> IFuture<T> getServiceProxy(IServiceIdentifier sid, java.lang.Class<T> type, IComponentIdentifier caller)
protected <T> IFuture<T> searchRemoteService(IComponentIdentifier caller, java.lang.Class<T> type, IAsyncFilter<T> filter)
PlatformServiceRegistry
searchRemoteService
in class PlatformServiceRegistry
type
- The type.