|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | 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()
Deprecated. |
Method Summary | |
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 |
services()
Deprecated. Get all available services managed by the engine. |
Enumeration |
services(Class 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. |
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 of
ServiceType
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 for
null
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 find
null
if it does not exist
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |