net.jini.lookup.entry
Class ServiceInfo

java.lang.Object
  |
  +--net.jini.entry.AbstractEntry
        |
        +--net.jini.lookup.entry.ServiceInfo

public class ServiceInfo
extends AbstractEntry
implements ServiceControlled

Generic information about a service. This includes the name of the manufacturer, the product, and the vendor.

See Also:
ServiceInfoBean, Serialized Form

Field Summary
 java.lang.String manufacturer
          The name of the manufacturer or author of this service.
 java.lang.String model
          The model name or number of this service, if any.
 java.lang.String name
          The name of the product or package of which this service is an instance.
 java.lang.String serialNumber
          The serial number of this instance of the service, if any.
 java.lang.String vendor
          The name of the vendor of this service.
 java.lang.String version
          The version of this service.
 
Constructor Summary
ServiceInfo()
          Construct an empty instance of this class.
ServiceInfo(java.lang.String name, java.lang.String manufacturer, java.lang.String vendor, java.lang.String version, java.lang.String model, java.lang.String serialNumber)
          Construct an instance of this class, with all fields initialized appropriately.
 
Methods inherited from class net.jini.entry.AbstractEntry
equals, equals, hashCode, hashCode, toString, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

name

public java.lang.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 java.lang.String manufacturer
The name of the manufacturer or author of this service. For example, "Sun Microsystems".

vendor

public java.lang.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 java.lang.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 java.lang.String model
The model name or number of this service, if any.

serialNumber

public java.lang.String serialNumber
The serial number of this instance of the service, if any.
Constructor Detail

ServiceInfo

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

ServiceInfo

public ServiceInfo(java.lang.String name,
                   java.lang.String manufacturer,
                   java.lang.String vendor,
                   java.lang.String version,
                   java.lang.String model,
                   java.lang.String serialNumber)
Construct an instance of this class, with all fields initialized appropriately.


Copyright © 1999 Sun Microsystems, Inc. All rights reserved