Package net.jini.core.lookup
Class ServiceItem
java.lang.Object
net.jini.core.lookup.ServiceItem
- All Implemented Interfaces:
Serializable
Items are stored in and retrieved from the lookup service using instances of this class.
- Since:
- 1.0
- Author:
- Sun Microsystems, Inc.
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionServiceItem(ServiceID serviceID, Object service, Entry[] attrSets) Simple constructor. -
Method Summary
Modifier and TypeMethodDescriptiontoString()Returns aStringrepresentation of thisServiceItem.
-
Field Details
-
serviceID
A service ID, or null if registering for the first time. -
service
A service object. -
attributeSets
Attribute sets.
-
-
Constructor Details
-
ServiceItem
Simple constructor.- Parameters:
serviceID- service ID, or null if registering for the first timeservice- service objectattrSets- attribute sets
-
-
Method Details