Class ServiceInfo

java.lang.Object
net.jini.entry.AbstractEntry
net.jini.lookup.entry.ServiceInfo
All Implemented Interfaces:
SmartExternalizable, Externalizable, Serializable, Entry, ServiceControlled

public class ServiceInfo extends AbstractEntry implements ServiceControlled, SmartExternalizable
Generic information about a service. This includes the name of the manufacturer, the product, and the vendor.
Author:
Sun Microsystems, Inc.
See Also:
  • Field Details

    • name

      public String name
      The name of the product or package of which this service is an instance. This field should not include the name of the manufacturer or vendor.
    • manufacturer

      public String manufacturer
      The name of the manufacturer or author of this service. For example, "Sun Microsystems".
    • vendor

      public String vendor
      The name of the vendor of this service. This may have the same value as the manufacturer field, or it may be different.
    • version

      public String version
      The version of this service. This is a free-form field, but should follow accepted version-naming conventions to make visual identification easier.
    • model

      public String model
      The model name or number of this service, if any.
    • serialNumber

      public String serialNumber
      The serial number of this instance of the service, if any.
  • Constructor Details

    • ServiceInfo

      public ServiceInfo()
      Construct an empty instance of this class.
    • ServiceInfo

      public ServiceInfo(String name, String manufacturer, String vendor, String version, String model, String serialNumber)
      Construct an instance of this class, with all fields initialized appropriately.
      Parameters:
      name - a String representing the name value
      manufacturer - a String representing the manufacturer value
      vendor - a String representing the vendor value
      version - a String representing the version value
      model - a String representing the model value
      serialNumber - a String representing the serial number value
  • Method Details