Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## net.jini.core.lookup
Class ServiceItem

    java.lang.Object
      net.jini.core.lookup.ServiceItem

All Implemented Interfaces:
  Serializable

public class ServiceItem
extends Object
implements Serializable

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

Since:
  1.0
See Also:
  Serialized Form

Field Summary
`Entry[]` | `attributeSets` Attribute sets.
`Object` | `service` A service object.
`ServiceID` | `serviceID` A service ID, or null if registering for the first time.

Constructor Summary
`ServiceItem(ServiceID serviceID, 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 Object service

  A service object.

### attributeSets

    public Entry[] attributeSets

  Attribute sets.

Constructor Detail

### ServiceItem

    public ServiceItem(ServiceID serviceID,
                       Object service,
                       Entry[] attrSets)

  Simple constructor.

Parameters:
  `serviceID` - service ID, or null if registering for the first time
  `service` - service object
  `attrSets` - attribute sets

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2004 Sun Microsystems, Inc. All rights reserved