|
org.openide.util 6.8.22 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.openide.ServiceType
Lookup
as described in
services registration and lookup page.
public abstract class ServiceType
This class represents an abstract subclass for services (compilation, execution, debugging, etc.) that can be registered in the system.
Nested Class Summary | |
---|---|
static class |
ServiceType.Handle
Deprecated. The prefered way to register and lookup services is now Lookup as described in
services registration and lookup page. |
static class |
ServiceType.Registry
Deprecated. Use lookup instead. |
Field Summary | |
---|---|
static String |
PROP_NAME
Deprecated. Name of property for the name of the service type. |
Constructor Summary | |
---|---|
ServiceType()
Deprecated. |
Method Summary | |
---|---|
void |
addPropertyChangeListener(PropertyChangeListener l)
Deprecated. Add a property change listener. |
protected Object |
clone()
Deprecated. Service instance files should instead be copied in order to clone them. |
ServiceType |
createClone()
Deprecated. Service instance files should instead be copied in order to clone them. |
protected String |
displayName()
Deprecated. Default human-presentable name of the service type. |
protected void |
firePropertyChange(String name,
Object o,
Object n)
Deprecated. Fire information about change of a property in the service type. |
abstract HelpCtx |
getHelpCtx()
Deprecated. Get context help for this service type. |
String |
getName()
Deprecated. Get the name of the service type. |
void |
removePropertyChangeListener(PropertyChangeListener l)
Deprecated. Remove a property change listener. |
void |
setName(String name)
Deprecated. Set the name of the service type. |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String PROP_NAME
Constructor Detail |
---|
public ServiceType()
Method Detail |
---|
protected String displayName()
FeatureDescriptor.getDisplayName()
public final ServiceType createClone()
Cloneable
interface, in such case the clone
method is called as a result
of calling this method. If the subclass does not implement
Cloneable
, it is serialized and deserialized,
thus new instance created.
IllegalStateException
- if something goes wrong, but should not happenprotected Object clone() throws CloneNotSupportedException
CloneNotSupportedException
public void setName(String name)
displayName()
,
or just to provide a BeanDescriptor
for the class.
name
- the new human-presentable namepublic String getName()
displayName()
.
public abstract HelpCtx getHelpCtx()
getHelpCtx
in interface HelpCtx.Provider
public final void addPropertyChangeListener(PropertyChangeListener l)
l
- the listener to addpublic final void removePropertyChangeListener(PropertyChangeListener l)
l
- the listener to removeprotected final void firePropertyChange(String name, Object o, Object n)
name
- name of the propertyo
- old valuen
- new value
|
org.openide.util 6.8.22 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |