@Deprecated public abstract static class ServiceType.Registry extends Object implements Serializable
This class can be serialized to securely save settings of all services in the system.
| Constructor and Description |
|---|
Registry()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
ServiceType |
find(Class clazz)
Deprecated.
Just use lookup.
|
ServiceType |
find(String name)
Deprecated.
Find a service type of a supplied name in the registry.
|
abstract List |
getServiceTypes()
Deprecated.
Getter for list of all service types.
|
abstract Enumeration<ServiceType> |
services()
Deprecated.
Get all available services managed by the engine.
|
<T extends ServiceType> |
services(Class<T> clazz)
Deprecated.
Get all available services that are assignable to the given superclass.
|
abstract void |
setServiceTypes(List arr)
Deprecated.
Better to change service instance files instead.
|
public abstract Enumeration<ServiceType> services()
ServiceTypespublic <T extends ServiceType> Enumeration<T> services(Class<T> clazz)
clazz - the class that all services should be subclass ofServiceTypespublic abstract List getServiceTypes()
ServiceTypes@Deprecated public abstract void setServiceTypes(List arr)
arr - a list of ServiceTypes@Deprecated public ServiceType find(Class clazz)
This could be used during (de-)serialization of a service type: only store its class name and then try to find the type implemented by that class later.
clazz - the class of the service type looked fornull if it does not existpublic ServiceType find(String name)
This could be used during (de-)serialization of a service type: only store its name and then try to find the type later.
name - (display) name of service type to findnull if it does not existBuilt on August 24 2014. | Portions Copyright 1997-2014 Sun Microsystems, Inc. All rights reserved.