Package 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
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:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturn the localized display name of this service.getIcon(int iconKind) Get an icon for this service.Return a localized short description of this service.
-
Constructor Details
-
ServiceType
public ServiceType()Instantiate this class.
-
-
Method Details
-
getIcon
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
Return the localized display name of this service.- Returns:
- the localized display name of this service
-
getShortDescription
Return a localized short description of this service.- Returns:
- a String representing the short description of this service
-