public abstract class ServiceRegistryEngines extends Object
Modifier and Type | Field and Description |
---|---|
protected static boolean |
isInitialized |
static String |
NAME_DEFAULT |
protected static Map<String,ServiceRegistryEngine> |
serviceRegistryEngines |
Constructor and Description |
---|
ServiceRegistryEngines() |
Modifier and Type | Method and Description |
---|---|
static void |
destroy()
Closes all service engines.
|
static ServiceRegistryEngine |
getDefaultServiceRegistryEngine() |
static ServiceRegistryEngine |
getServiceRegistryEngine(String serviceRegistryEngineName)
Obtain an service engine by name.
|
static Map<String,ServiceRegistryEngine> |
getServiceRegistryEngines()
Provides access to service engines to application clients in a managed server environment.
|
static boolean |
isInitialized() |
static void |
registerEngine(ServiceRegistryEngine serviceRegistryEngine)
Registers the given service engine.
|
static void |
setInitialized(boolean isInitialized) |
static void |
unregister(ServiceRegistryEngine serviceRegistryEngine)
Unregisters the given service engine.
|
public static final String NAME_DEFAULT
protected static boolean isInitialized
protected static Map<String,ServiceRegistryEngine> serviceRegistryEngines
public static void registerEngine(ServiceRegistryEngine serviceRegistryEngine)
EngineInfo
will be available for this service engine.
An engine that is registered will be closed when the destroy()
is called.public static void unregister(ServiceRegistryEngine serviceRegistryEngine)
public static ServiceRegistryEngine getDefaultServiceRegistryEngine()
public static ServiceRegistryEngine getServiceRegistryEngine(String serviceRegistryEngineName)
serviceRegistryEngineName
- is the name of the service enginepublic static Map<String,ServiceRegistryEngine> getServiceRegistryEngines()
public static void destroy()
public static boolean isInitialized()
public static void setInitialized(boolean isInitialized)