|
|||||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||||
| Packages that use Entry | |
| com.sun.jini.lookup.entry | Helper utility classes for managing entries used as lookup service attributes. |
| com.sun.jini.outrigger | This is an implementation of a JavaSpaces(TM) technology-enabled service. |
| net.jini.admin | These interfaces provide common ways to export particular administrative functionality. |
| 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 | These are standard utility classes for implementers of Entry classes. |
| net.jini.lookup | Standard utility classes for managing the join state of a service and the service discovery duties of a client or service. |
| net.jini.lookup.entry | These are common entry classes for use as attributes in lookup services and their associated JavaBeans(TM) component wrapping classes. |
| net.jini.space | The JavaSpacesTM technology package. |
| Uses of Entry in com.sun.jini.lookup.entry |
| Classes in com.sun.jini.lookup.entry that implement Entry | |
class |
BasicServiceType
An implementation of ServiceType that uses ResourceBundles. |
| Methods in com.sun.jini.lookup.entry that return Entry | |
static Entry[] |
LookupAttributes.add(Entry[] attrSets,
Entry[] addAttrSets)
Returns a new array containing the elements of the addAttrSets parameter (that are not duplicates of
any of the elements already in the attrSets parameter)
added to the elements of attrSets. |
static Entry[] |
LookupAttributes.add(Entry[] attrSets,
Entry[] addAttrSets,
boolean checkSC)
Returns a new array containing the elements of the addAttrSets parameter (that are not duplicates of
any of the elements already in the attrSets parameter)
added to the elements of attrSets. |
static Entry[] |
LookupAttributes.modify(Entry[] attrSets,
Entry[] attrSetTmpls,
Entry[] modAttrSets)
Returns a new array that contains copies of the attributes in the attrSets parameter, modified according to the contents
of both the attrSetTmpls parameter and the
modAttrSets parameter. |
static Entry[] |
LookupAttributes.modify(Entry[] attrSets,
Entry[] attrSetTmpls,
Entry[] modAttrSets,
boolean checkSC)
Returns a new array that contains copies of the attributes in the attrSets parameter, modified according to the contents
of both the attrSetTmpls parameter and the
modAttrSets parameter. |
| Methods in com.sun.jini.lookup.entry with parameters of type Entry | |
static Entry[] |
LookupAttributes.add(Entry[] attrSets,
Entry[] addAttrSets)
Returns a new array containing the elements of the addAttrSets parameter (that are not duplicates of
any of the elements already in the attrSets parameter)
added to the elements of attrSets. |
static Entry[] |
LookupAttributes.add(Entry[] attrSets,
Entry[] addAttrSets,
boolean checkSC)
Returns a new array containing the elements of the addAttrSets parameter (that are not duplicates of
any of the elements already in the attrSets parameter)
added to the elements of attrSets. |
static Entry[] |
LookupAttributes.modify(Entry[] attrSets,
Entry[] attrSetTmpls,
Entry[] modAttrSets)
Returns a new array that contains copies of the attributes in the attrSets parameter, modified according to the contents
of both the attrSetTmpls parameter and the
modAttrSets parameter. |
static Entry[] |
LookupAttributes.modify(Entry[] attrSets,
Entry[] attrSetTmpls,
Entry[] modAttrSets,
boolean checkSC)
Returns a new array that contains copies of the attributes in the attrSets parameter, modified according to the contents
of both the attrSetTmpls parameter and the
modAttrSets parameter. |
static boolean |
LookupAttributes.equal(Entry e1,
Entry e2)
Test that two entries are the same type, with the same public fields. |
static boolean |
LookupAttributes.equal(Entry[] attrSet1,
Entry[] attrSet2)
Tests that two Entry[] arrays are the same. |
static boolean |
LookupAttributes.matches(Entry tmpl,
Entry e)
Test if the parameter tmpl is the same class as, or a
superclass of, the parameter e, and that every
non-null public field of tmpl is the
same as the corresponding field of e. |
static void |
LookupAttributes.check(Entry[] attrs,
boolean nullOK)
Throws an IllegalArgumentException if any element of
the array is not an instance of a valid Entry class
(the class is not public, or does not have a no-arg constructor, or
has primitive public non-static non-final fields). |
| Uses of Entry in com.sun.jini.outrigger |
| Methods in com.sun.jini.outrigger that return Entry | |
Entry[] |
OutriggerServerImpl.getLookupAttributes()
|
Entry |
AdminIterator.next()
Return the next entry in the sequence. |
| Methods in com.sun.jini.outrigger with parameters of type Entry | |
void |
OutriggerServerImpl.addLookupAttributes(Entry[] attrSets)
|
void |
OutriggerServerImpl.modifyLookupAttributes(Entry[] attrSetTemplates,
Entry[] attrSets)
|
AdminIterator |
ConstrainableJavaSpaceAdmin.contents(Entry tmpl,
Transaction txn)
Return an AdminIterator that will iterate over all
the entries in the space that match the given template and are
visible under the given transaction.
|
AdminIterator |
ConstrainableJavaSpaceAdmin.contents(Entry tmpl,
Transaction txn,
int fetchSize)
Return an AdminIterator that will iterate over all
the entries in the space that match the given template and are
visible under the given transaction.
|
AdminIterator |
ConstrainableJavaSpaceAdmin.contents(Entry tmpl,
Transaction txn,
int fetchSize,
MethodConstraints constrains)
Return an AdminIterator that will iterate over all
the entries in the space that match the given template and are
visible under the given transaction. |
AdminIterator |
JavaSpaceAdmin.contents(Entry tmpl,
Transaction txn)
Return an AdminIterator that will iterate over all
the entries in the space that match the given template and are
visible under the given transaction.
|
AdminIterator |
JavaSpaceAdmin.contents(Entry tmpl,
Transaction txn,
int fetchSize)
Return an AdminIterator that will iterate over all
the entries in the space that match the given template and are
visible under the given transaction.
|
| Uses of Entry in net.jini.admin |
| Methods in net.jini.admin that return Entry | |
Entry[] |
JoinAdmin.getLookupAttributes()
Get the current attribute sets for the service. |
| Methods in net.jini.admin with parameters of type Entry | |
void |
JoinAdmin.addLookupAttributes(Entry[] attrSets)
Add attribute sets for the service. |
void |
JoinAdmin.modifyLookupAttributes(Entry[] attrSetTemplates,
Entry[] attrSets)
Modify the current attribute sets, using the same semantics as ServiceRegistration.modifyAttributes. |
| Uses of Entry in net.jini.core.entry |
| Fields in net.jini.core.entry declared as Entry | |
Entry |
UnusableEntryException.partialEntry
The partial entry. |
| Constructors in net.jini.core.entry with parameters of type Entry | |
UnusableEntryException(Entry partial,
String[] badFields,
Throwable[] exceptions)
Create an exception for the given partial entry and vectors of bad field names/nested exception pairs. |
|
| Uses of Entry in net.jini.core.lookup |
| Fields in net.jini.core.lookup declared as Entry | |
Entry[] |
ServiceItem.attributeSets
Attribute sets. |
Entry[] |
ServiceTemplate.attributeSetTemplates
Attribute set templates to match, or null. |
| Methods in net.jini.core.lookup with parameters of type Entry | |
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.setAttributes(Entry[] attrSets)
Deletes all of the service item's existing attributes, and replaces them with the specified attribute sets. |
| Constructors in net.jini.core.lookup with parameters of type Entry | |
ServiceItem(ServiceID serviceID,
Object service,
Entry[] attrSets)
Simple constructor. |
|
ServiceTemplate(ServiceID serviceID,
Class[] serviceTypes,
Entry[] attrSetTemplates)
Simple constructor. |
|
| Uses of Entry in net.jini.entry |
| Classes in net.jini.entry that implement Entry | |
class |
AbstractEntry
This class is a specific, generally useful base class for entry types. |
| Methods in net.jini.entry with parameters of type Entry | |
static boolean |
AbstractEntry.equals(Entry e1,
Entry e2)
Returns true if the two objects have the same value.
|
static int |
AbstractEntry.hashCode(Entry entry)
Returns a hash code. |
static String |
AbstractEntry.toString(Entry entry)
Print out the given entry as the sum of all its fields. |
| Uses of Entry in net.jini.lookup |
| Methods in net.jini.lookup that return Entry | |
Entry[] |
JoinManager.getAttributes()
Returns an array containing the set of attributes currently associated with the service. |
| Methods in net.jini.lookup with parameters of type Entry | |
void |
JoinManager.addAttributes(Entry[] attrSets)
Associates a new set of attributes with the service, in addition to the service's current set of attributes. |
void |
JoinManager.addAttributes(Entry[] attrSets,
boolean checkSC)
Associates a new set of attributes with the service, in addition to the service's current set of attributes. |
void |
JoinManager.setAttributes(Entry[] attrSets)
Replaces the service's current set of attributes with a new set of attributes. |
void |
JoinManager.modifyAttributes(Entry[] attrSetTemplates,
Entry[] attrSets)
Changes the service's current set of attributes using the same semantics as the modifyAttributes method of the
ServiceRegistration class.
|
void |
JoinManager.modifyAttributes(Entry[] attrSetTemplates,
Entry[] attrSets,
boolean checkSC)
Changes the service's current set of attributes using the same semantics as the modifyAttributes method of the
ServiceRegistration class.
|
| Constructors in net.jini.lookup with parameters of type Entry | |
JoinManager(Object obj,
Entry[] attrSets,
ServiceIDListener callback,
DiscoveryManagement discoveryMgr,
LeaseRenewalManager leaseMgr)
Constructs an instance of this class that will notify the service when a service ID is assigned by the first lookup service with which the service is registered. |
|
JoinManager(Object obj,
Entry[] attrSets,
ServiceIDListener callback,
DiscoveryManagement discoveryMgr,
LeaseRenewalManager leaseMgr,
Configuration config)
Constructs an instance of this class, which is configured using the items retrieved through the given Configuration, that will
notify the service when a service ID is assigned by the first lookup
service with which the service is registered. |
|
JoinManager(Object obj,
Entry[] attrSets,
ServiceID serviceID,
DiscoveryManagement discoveryMgr,
LeaseRenewalManager leaseMgr)
Constructs an instance of this class that will register the service with all discovered lookup services, using the supplied service ID. |
|
JoinManager(Object obj,
Entry[] attrSets,
ServiceID serviceID,
DiscoveryManagement discoveryMgr,
LeaseRenewalManager leaseMgr,
Configuration config)
Constructs an instance of this class, which is configured using the items retrieved through the given Configuration, that will
register the service with all discovered lookup services, using the
supplied service ID. |
|
| Uses of Entry in net.jini.lookup.entry |
| Classes in net.jini.lookup.entry that implement Entry | |
class |
Address
The address of the physical component of a service. |
class |
Comment
A free-form comment about a service. |
class |
Location
The location of the physical component of a service. |
class |
Name
The name of a service as used by users. |
class |
ServiceInfo
Generic information about a service. |
class |
ServiceType
Human-oriented information about the "type" of a service. |
class |
Status
The base class from which other status-related entry classes may be derived. |
| Methods in net.jini.lookup.entry that return Entry | |
Entry |
StatusBean.followLink()
Return the Entry linked to by this JavaBeans component. |
Entry |
ServiceInfoBean.followLink()
Return the Entry linked to by this JavaBeans component. |
Entry |
NameBean.followLink()
Return the Name linked to by this JavaBeans component. |
Entry |
LocationBean.followLink()
Return the Entry linked to by this JavaBeans component. |
Entry |
CommentBean.followLink()
Return the Entry linked to by this JavaBeans component. |
Entry |
EntryBean.followLink()
Return the Entry linked to by this JavaBeans component. |
Entry |
AddressBean.followLink()
Return the Entry linked to by this JavaBeans component. |
| Methods in net.jini.lookup.entry with parameters of type Entry | |
void |
StatusBean.makeLink(Entry e)
Make a link to an Entry object. |
void |
ServiceInfoBean.makeLink(Entry e)
Make a link to an Entry object. |
void |
NameBean.makeLink(Entry e)
Make a link to an Entry object. |
void |
LocationBean.makeLink(Entry e)
Make a link to an Entry object. |
static EntryBean |
EntryBeans.createBean(Entry ent)
Create a bean of the appropriate type for the given Entry object, and link it to the object for immediate manipulation. |
void |
CommentBean.makeLink(Entry e)
Make a link to an Entry object. |
void |
EntryBean.makeLink(Entry e)
Make a link to an Entry object. |
void |
AddressBean.makeLink(Entry e)
Make a link to an Entry object. |
| Uses of Entry in net.jini.space |
| Methods in net.jini.space that return Entry | |
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.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. |
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. |
| Methods in net.jini.space with parameters of type Entry | |
Lease |
JavaSpace.write(Entry entry,
Transaction txn,
long lease)
Write a new entry into the space. |
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.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. |
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.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. |
|
|||||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||||