Package com.bc.ceres.core
Class ServiceRegistryManager
- java.lang.Object
-
- com.bc.ceres.core.ServiceRegistryManager
-
public class ServiceRegistryManager extends Object
A manager for service registries.- Since:
- 0.10
-
-
Constructor Summary
Constructors Constructor Description ServiceRegistryManager()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected <T> ServiceRegistry<T>
createServiceRegistry(Class<T> serviceType)
static ServiceRegistryManager
getInstance()
<T> ServiceRegistry<T>
getServiceRegistry(Class<T> serviceType)
static void
setInstance(ServiceRegistryManager instance)
<T> void
setServiceRegistry(Class<T> serviceType, ServiceRegistry<T> serviceRegistry)
-
-
-
Method Detail
-
getInstance
public static ServiceRegistryManager getInstance()
-
setInstance
public static void setInstance(ServiceRegistryManager instance)
-
getServiceRegistry
public <T> ServiceRegistry<T> getServiceRegistry(Class<T> serviceType)
-
setServiceRegistry
public <T> void setServiceRegistry(Class<T> serviceType, ServiceRegistry<T> serviceRegistry)
-
createServiceRegistry
protected <T> ServiceRegistry<T> createServiceRegistry(Class<T> serviceType)
-
-