@Deprecated public final class Services extends ServiceType.Registry implements LookupListener
Constructor and Description |
---|
Services()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
ServiceType |
find(Class clazz)
Deprecated.
|
ServiceType |
find(String name)
Deprecated.
Override to specially look up no-op services.
|
static Services |
getDefault()
Deprecated.
Default instance
|
List<ServiceType> |
getServiceTypes()
Deprecated.
Getter for list of all services types.
|
void |
resultChanged(LookupEvent ev)
Deprecated.
A change in lookup occured.
|
Enumeration<ServiceType> |
services()
Deprecated.
all services
|
<T extends ServiceType> |
services(Class<T> clazz)
Deprecated.
Get all available services that are subclass of given class
|
void |
setServiceTypes(List arr0)
Deprecated.
Setter for list of all services types.
|
public static Services getDefault()
public ServiceType find(Class clazz)
find
in class ServiceType.Registry
public ServiceType find(String name)
find
in class ServiceType.Registry
public void resultChanged(LookupEvent ev)
resultChanged
in interface LookupListener
ev
- event describing the changepublic List<ServiceType> getServiceTypes()
getServiceTypes
in class ServiceType.Registry
public void setServiceTypes(List arr0)
setServiceTypes
in class ServiceType.Registry
arr0
- list of ServiceTypespublic Enumeration<ServiceType> services()
services
in class ServiceType.Registry
public <T extends ServiceType> Enumeration<T> services(Class<T> clazz)
services
in class ServiceType.Registry
clazz
- the class that all services should be subclass ofServiceType
s that are subclasses of
given class