net.jini.core.lookup
Class ServiceItem

java.lang.Object
  |
  +--net.jini.core.lookup.ServiceItem

public class ServiceItem
extends java.lang.Object
implements java.io.Serializable

Items are stored in and retrieved from the lookup service using instances of this class.

See Also:
Serialized Form

Field Summary
 Entry[] attributeSets
          Attribute sets
 java.lang.Object service
          A service object
 ServiceID serviceID
          A service ID, or null if registering for the first time
 
Constructor Summary
ServiceItem(ServiceID serviceID, java.lang.Object service, Entry[] attrSets)
          Simple constructor.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serviceID

public ServiceID serviceID
A service ID, or null if registering for the first time

service

public java.lang.Object service
A service object

attributeSets

public Entry[] attributeSets
Attribute sets
Constructor Detail

ServiceItem

public ServiceItem(ServiceID serviceID,
                   java.lang.Object service,
                   Entry[] attrSets)
Simple constructor.
Parameters:
serviceID - service ID, or null if registering for the first time
service - service object
attrSets - attribute sets


Copyright © 1999 Sun Microsystems, Inc. All rights reserved