Package | Description |
---|---|
net.jini.core.entry |
The
Entry interface and its associated
UnusableEntryException are used by the lookup service
to represent service-specific attributes and by the JavaSpace
interface to mark entries. |
net.jini.core.lookup |
These are the lookup service interfaces and classes.
|
Modifier and Type | Interface and Description |
---|---|
interface |
CloneableEntry
Required by service utilities to avoid sharing internal state.
|
Modifier and Type | Field and Description |
---|---|
Entry |
UnusableEntryException.partialEntry
The partial entry.
|
Modifier and Type | Method and Description |
---|---|
Entry |
CloneableEntry.clone()
Clone has been implemented in AbstractEntry to allow utilities such as
net.jini.lookup.ServiceDiscoveryManager to avoid sharing
internally stored mutable Entry instances with client code. |
Constructor and Description |
---|
UnusableEntryException(Entry partial,
String[] badFields,
Throwable[] exceptions)
Create an exception for the given partial entry and vectors of
bad field names/nested exception pairs.
|
Modifier and Type | Field and Description |
---|---|
Entry[] |
ServiceItem.attributeSets
Attribute sets.
|
Entry[] |
ServiceTemplate.attributeSetTemplates
Attribute set templates to match, or null.
|
Modifier and Type | Method and Description |
---|---|
void |
ServiceRegistration.addAttributes(Entry[] attrSets)
Adds the specified attribute sets (those that aren't duplicates of
existing attribute sets) to the registered service item.
|
void |
ServiceRegistration.modifyAttributes(Entry[] attrSetTemplates,
Entry[] attrSets)
Modifies existing attribute sets.
|
void |
ServiceRegistration.modifyAttributes(Entry[] attrSetTemplates,
Entry[] attrSets)
Modifies existing attribute sets.
|
void |
ServiceRegistration.setAttributes(Entry[] attrSets)
Deletes all of the service item's existing attributes, and replaces
them with the specified attribute sets.
|
Constructor and Description |
---|
ServiceItem(ServiceID serviceID,
Object service,
Entry[] attrSets)
Simple constructor.
|
ServiceTemplate(ServiceID serviceID,
Class[] serviceTypes,
Entry[] attrSetTemplates)
Simple constructor.
|
Copyright © 2016–2018 The Apache Software Foundation. All rights reserved.