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:
  • Constructor Details

    • ServiceType

      public ServiceType()
      Instantiate this class.
  • Method Details

    • 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