java.io.Serializable, HelpCtx.ProviderLookup as described in
services registration and lookup page.@Deprecated public abstract class ServiceType extends java.lang.Object implements java.io.Serializable, HelpCtx.Provider
| Modifier and Type | Class | Description |
|---|---|---|
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.
|
| Modifier and Type | Field | Description |
|---|---|---|
static java.lang.String |
PROP_NAME |
Deprecated.
Name of property for the name of the service type.
|
| Constructor | Description |
|---|---|
ServiceType() |
Deprecated.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
addPropertyChangeListener(java.beans.PropertyChangeListener l) |
Deprecated.
Add a property change listener.
|
protected java.lang.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 java.lang.String |
displayName() |
Deprecated.
Default human-presentable name of the service type.
|
protected void |
firePropertyChange(java.lang.String name,
java.lang.Object o,
java.lang.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.
|
java.lang.String |
getName() |
Deprecated.
Get the name of the service type.
|
void |
removePropertyChangeListener(java.beans.PropertyChangeListener l) |
Deprecated.
Remove a property change listener.
|
void |
setName(java.lang.String name) |
Deprecated.
Set the name of the service type.
|
public static final java.lang.String PROP_NAME
protected java.lang.String displayName()
FeatureDescriptor.getDisplayName()@Deprecated 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.java.lang.IllegalStateException - if something goes wrong, but should not happen@Deprecated
protected java.lang.Object clone()
throws java.lang.CloneNotSupportedException
clone in class java.lang.Objectjava.lang.CloneNotSupportedExceptionpublic void setName(java.lang.String name)
displayName(),
or just to provide a BeanDescriptor for the class.name - the new human-presentable namepublic java.lang.String getName()
displayName().public abstract HelpCtx getHelpCtx()
getHelpCtx in interface HelpCtx.Providerpublic final void addPropertyChangeListener(java.beans.PropertyChangeListener l)
l - the listener to addpublic final void removePropertyChangeListener(java.beans.PropertyChangeListener l)
l - the listener to removeprotected final void firePropertyChange(java.lang.String name,
java.lang.Object o,
java.lang.Object n)
name - name of the propertyo - old valuen - new valueBuilt on April 24 2018. | Portions Copyright 1997-2018 Oracle. All rights reserved.