| 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. 
 | 
| net.jini.entry | 
 Provides classes that are useful when handling or implementing
entries. 
 | 
| net.jini.space | 
 JavaSpaces servers provide a place on the network, a space,
for clients to store and exchange objects. 
 | 
| 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
  
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. 
 | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
AbstractEntry
An abstract implementation of  
Entry that provides useful
 implementations of equals, hashCode, and
 toString. | 
| Modifier and Type | Method and Description | 
|---|---|
Entry | 
AbstractEntry.clone()
Clone has been implemented to allow utilities such as
  
ServiceDiscoveryManager to avoid sharing 
 internally stored instances with client code. | 
| Modifier and Type | Method and Description | 
|---|---|
static boolean | 
AbstractEntry.equals(Entry e1,
      Entry e2)
Returns  
true if the two arguments are of the same
 class and for each entry field F, the arguments'
 values for F are either both null or the
 invocation of equals on one argument's value for
 F with the other argument's value for F as
 its parameter returns true. | 
static int | 
AbstractEntry.hashCode(Entry entry)
Returns zero XORed with the result of invoking
  
hashCode on each of the argument's
 non-null entry fields. | 
static String | 
AbstractEntry.toString(Entry entry)
Returns a  
String representation of its argument
 that will contain the name of the argument's class and a
 representation of each of the argument's entry fields. | 
| Modifier and Type | Method and Description | 
|---|---|
abstract Entry | 
AvailabilityEvent.getEntry()
Returns a copy of the  
Entry whose transition
 triggered this event. | 
Entry | 
MatchSet.getSnapshot()
 | 
abstract Entry | 
AvailabilityEvent.getSnapshot()
Returns a snapshot of the  
Entry whose
 transition triggered this event. | 
Entry | 
MatchSet.next()
Removes one  
Entry from the match set and
 returns a copy to the caller. | 
Entry | 
JavaSpace.read(Entry tmpl,
    Transaction txn,
    long timeout)
Read any matching entry from the space, blocking until one exists. 
 | 
Entry | 
JavaSpace.readIfExists(Entry tmpl,
            Transaction txn,
            long timeout)
Read any matching entry from the space, returning
  
null if there is currently is none. | 
Entry | 
JavaSpace.snapshot(Entry e)
The process of serializing an entry for transmission to a JavaSpaces
 service will be identical if the same entry is used twice. 
 | 
Entry | 
JavaSpace.take(Entry tmpl,
    Transaction txn,
    long timeout)
Take a matching entry from the space, waiting until one exists. 
 | 
Entry | 
JavaSpace.takeIfExists(Entry tmpl,
            Transaction txn,
            long timeout)
Take a matching entry from the space, returning
  
null if there is currently is none. | 
| Modifier and Type | Method and Description | 
|---|---|
EventRegistration | 
JavaSpace.notify(Entry tmpl,
      Transaction txn,
      RemoteEventListener listener,
      long lease,
      MarshalledObject handback)
When entries are written that match this template notify the
 given  
listener with a RemoteEvent that
 includes the handback object. | 
Entry | 
JavaSpace.read(Entry tmpl,
    Transaction txn,
    long timeout)
Read any matching entry from the space, blocking until one exists. 
 | 
Entry | 
JavaSpace.readIfExists(Entry tmpl,
            Transaction txn,
            long timeout)
Read any matching entry from the space, returning
  
null if there is currently is none. | 
Entry | 
JavaSpace.snapshot(Entry e)
The process of serializing an entry for transmission to a JavaSpaces
 service will be identical if the same entry is used twice. 
 | 
Entry | 
JavaSpace.take(Entry tmpl,
    Transaction txn,
    long timeout)
Take a matching entry from the space, waiting until one exists. 
 | 
Entry | 
JavaSpace.takeIfExists(Entry tmpl,
            Transaction txn,
            long timeout)
Take a matching entry from the space, returning
  
null if there is currently is none. | 
Lease | 
JavaSpace.write(Entry entry,
     Transaction txn,
     long lease)
Write a new entry into the space. 
 |