|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.openide.ServiceType.Registry
The registry of all services. This class is provided by the implementation of the IDE and should hold all of the services registered to the system.
This class can be serialized to securely save settings of all services in the system.
Constructor Summary | |
ServiceType.Registry()
|
Method Summary | |
ServiceType |
find(Class clazz)
Find the service type implemented as a given class. |
ServiceType |
find(String name)
Find a service type of a supplied name in the registry. |
abstract List |
getServiceTypes()
Getter for list of all service types. |
abstract Enumeration |
services()
Get all available services managed by the engine. |
Enumeration |
services(Class clazz)
Get all available services that are assignable to the given superclass. |
abstract void |
setServiceTypes(List arr)
Setter for list of service types. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ServiceType.Registry()
Method Detail |
public abstract Enumeration services()
ServiceType
spublic Enumeration services(Class clazz)
clazz
- the class that all services should be subclass ofServiceType
spublic abstract List getServiceTypes()
ServiceType
spublic abstract void setServiceTypes(List arr)
arr
- a list of ServiceType
spublic 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 exist
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |