Lookup as described in
services registration and lookup page.@Deprecated public abstract class ServiceType extends Object implements Serializable, HelpCtx.Provider
| Modifier and Type | Class and 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 and Description |
|---|---|
static String |
PROP_NAME
Deprecated.
Name of property for the name of the service type.
|
| Constructor and Description |
|---|
ServiceType()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
public static final String PROP_NAME
protected 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.IllegalStateException - if something goes wrong, but should not happen@Deprecated protected Object clone() throws CloneNotSupportedException
clone in class ObjectCloneNotSupportedExceptionpublic 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.Providerpublic final void addPropertyChangeListener(PropertyChangeListener l)
l - the listener to addpublic final void removePropertyChangeListener(PropertyChangeListener l)
l - the listener to removeBuilt on August 24 2014. | Portions Copyright 1997-2014 Sun Microsystems, Inc. All rights reserved.