net.jini.lookup.entry
Class ServiceType
java.lang.Object
net.jini.entry.AbstractEntry
net.jini.lookup.entry.ServiceType
- All Implemented Interfaces:
- Serializable, Entry, ServiceControlled
- Direct Known Subclasses:
- BasicServiceType
public abstract class ServiceType
- extends AbstractEntry
- implements ServiceControlled
Human-oriented information about the "type" of a service. This is
not related to its data or class types, and is more oriented towards
allowing someone to determine what a service (for example, a printer)
does and that it is similar to another, without needing to know
anything about data or class types for the Java(TM) platform.
- Author:
- Sun Microsystems, Inc.
- See Also:
- Serialized Form
Constructor Summary |
ServiceType()
Instantiate this class. |
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
ServiceType
public ServiceType()
- Instantiate this class.
getIcon
public Image getIcon(int iconKind)
- Get an icon for this service. This icon may be localized where
appropriate. The valid parameter values are the same as for
the getIcon method of java.beans.BeanInfo.
- Parameters:
iconKind
- the kind of icon to return
- Returns:
- the icon for this service
getDisplayName
public String getDisplayName()
- Return the localized display name of this service.
- Returns:
- the localized display name of this service
getShortDescription
public String getShortDescription()
- Return a localized short description of this service.
- Returns:
- a String representing the short description of this service
Copyright 2007-2010, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.