- AboutUI - Interface in net.jini.lookup.ui
-
UI role interface implemented by About UIs, which enable users to
view (or in some way experience) information about a service.
- AbstractEntry - Class in net.jini.entry
-
An abstract implementation of
Entry
that provides useful
implementations of
equals
,
hashCode
, and
toString
.
- AbstractEntry() - Constructor for class net.jini.entry.AbstractEntry
-
Creates an instance of this class.
- AbstractIDLeaseMap<K extends Lease> - Class in org.apache.river.lease
-
AbstractIDLeaseMap is intended to work around some minor design warts in the
Lease
interface:
In the real world, when a Lease is renewed, a new Lease contract document
is issued, however when an electronic Lease is renewed the Lease expiry
date is changed and the record of the previous Lease is lost.
- AbstractIDLeaseMap() - Constructor for class org.apache.river.lease.AbstractIDLeaseMap
-
Constructor for subclasses.
- AbstractLease - Class in org.apache.river.lease
-
A base class for implementing lease objects.
- AbstractLease(AtomicSerial.GetArg) - Constructor for class org.apache.river.lease.AbstractLease
-
- AbstractLease(long) - Constructor for class org.apache.river.lease.AbstractLease
-
Construct a relative-format lease.
- AbstractLeasedResource - Class in org.apache.river.landlord
-
This is a convenience abstract LeasedResource that creates a
new LeasedResource instead of modifying the original.
- AbstractLeasedResource() - Constructor for class org.apache.river.landlord.AbstractLeasedResource
-
- AbstractLeaseMap - Class in org.apache.river.lease
-
A base class for implementing LeaseMaps.
- AbstractLeaseMap(Lease, long) - Constructor for class org.apache.river.lease.AbstractLeaseMap
-
Default to using a small HashMap.
- AbstractLeaseMap(Map, Lease, long) - Constructor for class org.apache.river.lease.AbstractLeaseMap
-
Provide a map of your choice.
- AccessibleUI - Class in net.jini.lookup.ui.attribute
-
UI attribute that indicates a generated
UI implements the the javax.accessibility.Accessible
interface
and that the designer of the UI did the necessary work to make sure the UI
would work well with assistive technologies that are aware of the Java Accessibility API.
- AccessibleUI() - Constructor for class net.jini.lookup.ui.attribute.AccessibleUI
-
Constructs a new AccessibleUI
attribute.
- ActivationAdmin - Interface in org.apache.river.activation
-
An administrative interface for the activation system daemon.
- add(Entry[], Entry[]) - Static method in class org.apache.river.lookup.entry.LookupAttributes
-
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
.
- add(Entry[], Entry[], boolean) - Static method in class org.apache.river.lookup.entry.LookupAttributes
-
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
.
- addAttributes(Entry[]) - Method in class net.jini.lookup.JoinManager
-
Associates a new set of attributes with the service, in addition to
the service's current set of attributes.
- addAttributes(Entry[], boolean) - Method in class net.jini.lookup.JoinManager
-
Associates a new set of attributes with the service, in addition to
the service's current set of attributes.
- addListener(ServiceDiscoveryListener) - Method in interface net.jini.lookup.LookupCache
-
Registers a ServiceDiscoveryListener
object with
the event mechanism of a LookupCache
.
- addLookupAttributes(Entry[]) - Method in interface net.jini.admin.JoinAdmin
-
Add attribute sets for the service.
- addLookupGroups(String[]) - Method in interface net.jini.admin.JoinAdmin
-
Add new groups to the set to join.
- addLookupLocators(LookupLocator[]) - Method in interface net.jini.admin.JoinAdmin
-
Add locators for specific new lookup services to join.
- addMemberGroups(String[]) - Method in interface net.jini.lookup.DiscoveryAdmin
-
Adds the given set of names to the set whose elements are the names
of the groups in which the lookup service is currently a member.
- Address - Class in net.jini.lookup.entry
-
The address of the physical component of a service.
- Address() - Constructor for class net.jini.lookup.entry.Address
-
Construct an empty instance of this class.
- Address(String, String, String, String, String, String, String) - Constructor for class net.jini.lookup.entry.Address
-
Construct an instance of this class, with all fields
initialized appropriately.
- AddressBean - Class in net.jini.lookup.entry
-
A JavaBeans(TM) component that encapsulates an Address object.
- AddressBean() - Constructor for class net.jini.lookup.entry.AddressBean
-
Construct an instance of this JavaBeans component that is
linked to a new Address object.
- AddressBean(String, String, String, String, String, String, String) - Constructor for class net.jini.lookup.entry.AddressBean
-
- addUnknownEvents(Collection<? extends RemoteEvent>) - Method in interface net.jini.event.MailboxPullRegistration
-
Adds the provided collection of unknown events to this registration.
- Administrable - Interface in net.jini.admin
-
Every administrable service should implement this interface.
- AdminIterator - Interface in org.apache.river.admin
-
- AdminUI - Interface in net.jini.lookup.ui
-
UI role interface implemented by Admin UIs,
which enable users to administer a service.
- assoc - Variable in class net.jini.lookup.entry.AddressBean
-
The Address object associated with this JavaBeans component.
- assoc - Variable in class net.jini.lookup.entry.CommentBean
-
The Entry object associated with this JavaBeans component.
- assoc - Variable in class net.jini.lookup.entry.LocationBean
-
The Location object associated with this JavaBeans component.
- assoc - Variable in class net.jini.lookup.entry.NameBean
-
The Name object associated with this JavaBeans component.
- assoc - Variable in class net.jini.lookup.entry.ServiceInfoBean
-
The ServiceInfo object associated with this JavaBeans component.
- assoc - Variable in class net.jini.lookup.entry.StatusBean
-
The Status object associated with this JavaBeans component.
- assoc - Variable in class net.jini.lookup.entry.UIDescriptorBean
-
- atomicityEnforced(ObjectStreamContext) - Static method in class org.apache.river.proxy.MarshalledWrapper
-
Returns the atomicity protection setting of the given stream, determined
as follows: if the stream implements
ObjectStreamContext
and has
in its context collection an object of type
AtomicValidationEnforcement
, the
enforced
method
of that object is called and the resulting value returned; otherwise,
false
is returned.
- attributes - Variable in class net.jini.lookup.entry.UIDescriptor
-
An unmodifiable set of objects that describe the UI generated by the marshalled UI factory.
- AvailabilityEvent - Class in net.jini.space
-
- AvailabilityEvent(AtomicSerial.GetArg) - Constructor for class net.jini.space.AvailabilityEvent
-
- AvailabilityEvent(JavaSpace, long, long, MarshalledObject, boolean) - Constructor for class net.jini.space.AvailabilityEvent
-
Create a new AvailabilityEvent
instance.
- calculateDuration(LeasedResource, long) - Method in class org.apache.river.landlord.FixedLeasePeriodPolicy
-
Returns the duration this policy is willing to grant for the
passed resource at this time.
- canBatch(Lease) - Method in class org.apache.river.landlord.ConstrainableLandlordLease
-
- canBatch(Lease) - Method in class org.apache.river.landlord.LandlordLease
-
- cancel(Lease) - Method in class net.jini.lease.LeaseRenewalManager
-
Removes a given lease from the managed set, and cancels it.
- cancel(Uuid) - Method in interface org.apache.river.landlord.Landlord
-
Called by the lease when its
cancel
method is
called.
- cancel() - Method in class org.apache.river.landlord.LandlordLease
-
- cancel(Uuid) - Method in interface org.apache.river.landlord.LocalLandlord
-
Cancel the lease that is associated with the given cookie.
- cancelAll(Uuid[]) - Method in interface org.apache.river.landlord.Landlord
-
Called by the lease map when its
cancelAll
method is called.
- cancelAll() - Method in class org.apache.river.landlord.LandlordLeaseMap
-
- cancelAll(LocalLandlord, Uuid[]) - Static method in class org.apache.river.landlord.LandlordUtil
-
Call landlord.cancel()
for each object in
cookies[]
, passing cookies[i]
.
- canContainKey(Object) - Method in class org.apache.river.landlord.ConstrainableLandlordLeaseMap
-
- canContainKey(Object) - Method in class org.apache.river.landlord.LandlordLeaseMap
-
- check(ServiceItem) - Method in interface net.jini.lookup.ServiceItemFilter
-
This method defines the implementation of the additional selection
criteria (additional matching and/or proxy preparation) to apply to a
ServiceItem
object found
through standard template matching.
- check(Entry[], boolean) - Static method in class org.apache.river.lookup.entry.LookupAttributes
-
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).
- checkKey(Object) - Method in class org.apache.river.lease.AbstractLeaseMap
-
Check that the key is valid for this map
- checkValue(Object) - Static method in class org.apache.river.lease.AbstractLeaseMap
-
Check that the value is a Long
- clear() - Method in class net.jini.lease.LeaseRenewalManager
-
Removes all leases from the managed set of leases.
- clear() - Method in class org.apache.river.lease.AbstractLeaseMap
-
- clearExpirationWarningListener() - Method in interface net.jini.lease.LeaseRenewalSet
-
Remove the listener currently registered for expiration warning
events.
- clearRenewalFailureListener() - Method in interface net.jini.lease.LeaseRenewalSet
-
Remove the listener currently registered for renewal failure
events.
- clone() - Method in class net.jini.entry.AbstractEntry
-
Clone has been implemented to allow utilities such as
net.jini.lookup.ServiceDiscoveryManager
to avoid sharing
internally stored instances with client code.
- clone() - Method in class org.apache.river.landlord.AbstractLeasedResource
-
- close() - Method in interface net.jini.event.RemoteEventIterator
-
Ends all event processing being performed by this iterator
and invalidates the iterator.
- close() - Method in class net.jini.lease.LeaseRenewalManager
-
- close() - Method in interface org.apache.river.admin.AdminIterator
-
Deprecated.
Tell the server that this iterator is no longer in use.
- CodebaseProvider - Class in org.apache.river.proxy
-
Provided only for proxy binary backward compatibility with River versions
before 3.0
- Comment - Class in net.jini.lookup.entry
-
A free-form comment about a service.
- Comment() - Constructor for class net.jini.lookup.entry.Comment
-
Construct an empty instance of this class.
- Comment(String) - Constructor for class net.jini.lookup.entry.Comment
-
Construct an instance of this class, with all fields
initialized appropriately.
- comment - Variable in class net.jini.lookup.entry.Comment
-
The comment itself.
- CommentBean - Class in net.jini.lookup.entry
-
A JavaBeans(TM) component that encapsulates a Comment object.
- CommentBean() - Constructor for class net.jini.lookup.entry.CommentBean
-
Construct a new JavaBeans component, linked to a new empty
Comment object.
- CommentBean(String) - Constructor for class net.jini.lookup.entry.CommentBean
-
- ConsistentMap<K,V> - Class in org.apache.river.lookup.util
-
An implementation of the java.util.Map
interface that has
a serialized form consistent in all virtual machines.
- ConsistentMap() - Constructor for class org.apache.river.lookup.util.ConsistentMap
-
Constructs a new, empty ConsistentMap
.
- ConsistentMap(Map<K, V>) - Constructor for class org.apache.river.lookup.util.ConsistentMap
-
Constructs a new ConsistentMap
containing the elements
in the passed collection.
- ConsistentMap(AtomicSerial.GetArg) - Constructor for class org.apache.river.lookup.util.ConsistentMap
-
- ConsistentSet<T> - Class in org.apache.river.lookup.util
-
An implementation of the java.util.Set
interface that has
a serialized form consistent in all virtual machines.
- ConsistentSet() - Constructor for class org.apache.river.lookup.util.ConsistentSet
-
Constructs a new, empty ConsistentSet
.
- ConsistentSet(Collection<T>) - Constructor for class org.apache.river.lookup.util.ConsistentSet
-
Constructs a new ConsistentSet
containing the elements
in the passed collection.
- ConsistentSet(AtomicSerial.GetArg) - Constructor for class org.apache.river.lookup.util.ConsistentSet
-
- ConstrainableLandlordLease - Class in org.apache.river.landlord
-
Constrainable sub-class of LandlordLease
.
- ConstrainableLandlordLease(Uuid, Landlord, Uuid, long, MethodConstraints) - Constructor for class org.apache.river.landlord.ConstrainableLandlordLease
-
Create a new ConstrainableLandlordLease
.
- ConstrainableLandlordLeaseMap - Class in org.apache.river.landlord
-
Constrainable sub-class of LandlordLeaseMap
.
- ConstrainableProxyUtil - Class in org.apache.river.proxy
-
A collection of utility methods for use in implementing constrainable
proxies.
- containsKey(Object) - Method in class org.apache.river.lease.AbstractIDLeaseMap
-
Determines whether the ID of the key matches the ID of another key
in the map.
- containsKey(Object) - Method in class org.apache.river.lease.AbstractLeaseMap
-
- containsValue(Object) - Method in class org.apache.river.lease.AbstractIDLeaseMap
-
- containsValue(Object) - Method in class org.apache.river.lease.AbstractLeaseMap
-
- contents(Collection, Transaction, long, long) - Method in interface net.jini.space.JavaSpace05
-
Creates a
match set that can be used to
exhaustively read through all of the matching entries in
the space that are visible to the passed
Transaction
and remain visible for the lifetime of the
match set.
- contents(Entry, Transaction) - Method in interface org.apache.river.admin.JavaSpaceAdmin
-
Deprecated.
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.
- contents(Entry, Transaction, int) - Method in interface org.apache.river.admin.JavaSpaceAdmin
-
Deprecated.
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.
- country - Variable in class net.jini.lookup.entry.Address
-
Country name.
- create(Object) - Static method in class org.apache.river.proxy.Bootstrap
-
- createBean(Entry) - Static method in class net.jini.lookup.entry.EntryBeans
-
Create a bean of the appropriate type for the given Entry
object, and link it to the object for immediate manipulation.
- createLeaseMap(long) - Method in class org.apache.river.landlord.ConstrainableLandlordLease
-
- createLeaseMap(long) - Method in class org.apache.river.landlord.LandlordLease
-
- createLeaseRenewalSet(long) - Method in interface net.jini.lease.LeaseRenewalService
-
Create a new LeaseRenewalSet
that the client can
populate with leases to be renewed.
- createLookupCache(ServiceTemplate, ServiceItemFilter, ServiceDiscoveryListener) - Method in class net.jini.lookup.ServiceDiscoveryManager
-
The createLookupCache
method allows the client-like entity
to request that the ServiceDiscoveryManager
create a new
managed set (or cache) and populate it with services, which match
criteria defined by the entity, and whose references are registered with
one or more of the lookup services the entity has targeted for discovery.
- currentTime() - Method in class org.apache.river.landlord.FixedLeasePeriodPolicy
-
Method that provides some notion of the current time in milliseconds
since the beginning of the epoch.
- get(Object) - Method in class org.apache.river.lease.AbstractIDLeaseMap
-
- get(Object) - Method in class org.apache.river.lease.AbstractLeaseMap
-
- get() - Method in class org.apache.river.proxy.MarshalledWrapper
-
Returns the result of calling the
get
method of the wrapped
MarshalledInstance
, passing the
integrity value sampled during deserialization as the
verifyCodebaseIntegrity
argument.
- get(ClassLoader, ClassLoader) - Method in class org.apache.river.proxy.MarshalledWrapper
-
Returns the result of calling the
get
method of the wrapped
MarshalledInstance
, passing the
integrity value sampled during deserialization as the
verifyCodebaseIntegrity
argument.
- getActivatableObjects(ActivationGroupID) - Method in interface org.apache.river.activation.ActivationAdmin
-
Returns a map from
ActivationID
to
ActivationDesc
for all activatable objects
registered in the group registered under the specified activation
group identifier.
- getActivationGroups() - Method in interface org.apache.river.activation.ActivationAdmin
-
- getAdmin() - Method in interface net.jini.admin.Administrable
-
Returns an object that implements whatever administration interfaces
are appropriate for the particular service.
- getAttributes() - Method in class net.jini.lookup.entry.UIDescriptorBean
-
Return the value of the attributes
field in the object linked to by
this JavaBeans component.
- getAttributes() - Method in class net.jini.lookup.JoinManager
-
Returns an array containing the set of attributes currently associated
with the service.
- getBeanClass(Class) - Static method in class net.jini.lookup.entry.EntryBeans
-
Return the class of JavaBeans component that corresponds to a particular
Entry class.
- getBuilding() - Method in class net.jini.lookup.entry.LocationBean
-
Return the value of the building field in the Location object linked to
by this JavaBeans component.
- getClassAnnotation(Class) - Static method in class org.apache.river.proxy.CodebaseProvider
-
- getComment() - Method in class net.jini.lookup.entry.CommentBean
-
Return the value of the comment field in the Comment object linked to
by this JavaBeans component.
- getConstraints() - Method in class org.apache.river.landlord.ConstrainableLandlordLease
-
- getCookie() - Method in interface org.apache.river.landlord.LeasedResource
-
Returns the universally unique identifier associated with this
lease.
- getCountry() - Method in class net.jini.lookup.entry.AddressBean
-
Return the value of the country field in the Address object linked to
by this JavaBeans component.
- getDenied(int) - Method in class org.apache.river.landlord.Landlord.RenewResults
-
For each cookie passed to
renewAll
,
getGranted(i)
is the granted lease time, or -1 if the
renewal for that lease generated an exception.
- getDiscoveryManager() - Method in class net.jini.lookup.JoinManager
-
Returns the instance of DiscoveryManagement
that was
either passed into the constructor, or that was created as a result
of null
being input to that parameter.
- getDiscoveryManager() - Method in class net.jini.lookup.ServiceDiscoveryManager
-
The getDiscoveryManager
method will return an object that
implements the DiscoveryManagement
interface.
- getDisplayName() - Method in class net.jini.lookup.entry.ServiceType
-
Return the localized display name of this service.
- getDisplayName() - Method in class org.apache.river.lookup.entry.BasicServiceType
-
Returns the resource named "name", else the type field
stripped of any package prefix (i.e., any characters up to
and including the last dot ('.').
- getEntries() - Method in exception net.jini.entry.UnusableEntriesException
-
Returns a
Collection
of the entries that could be
unmarshalled by the operation.
- getEntry() - Method in class net.jini.space.AvailabilityEvent
-
Returns a copy of the
Entry
whose transition
triggered this event.
- getException() - Method in class net.jini.lease.LeaseRenewalEvent
-
Returns the exception (if any) that caused the event to be sent.
- getExceptions() - Method in exception net.jini.lease.LeaseUnmarshalException
-
Accessor method that returns an array consisting of instances of
Throwable
, where each element of the array
corresponds to one of the exceptions that occurred during the
unmarshalling process.
- getExpiration() - Method in class net.jini.lease.LeaseRenewalEvent
-
Returns the desired expiration time of the lease to which event
pertains.
- getExpiration(Lease) - Method in class net.jini.lease.LeaseRenewalManager
-
Returns the current desired expiration time associated with a
particular lease, (not the actual expiration that was granted
when the lease was created or last renewed).
- getExpiration() - Method in interface org.apache.river.landlord.LeasedResource
-
Returns the expiration time of the lease.
- getExpiration() - Method in class org.apache.river.lease.AbstractLease
-
Return the lease expiration.
- getFactory() - Method in class net.jini.lookup.entry.UIDescriptorBean
-
Return the value of the factory
field in the object linked to by
this JavaBeans component.
- getFirstSupportedLocale(Locale[]) - Method in class net.jini.lookup.ui.attribute.Locales
-
Looks through the passed array of Locale
s
(in the order they appear in the array)
and returns the first Locale
that is
supported by the UI (as defined by isLocaleSupported()
),
or null
, if none of the Locale
s in
the passed array are supported by the UI.
- getFirstSupportedLocale(List) - Method in class net.jini.lookup.ui.attribute.Locales
-
Iterates through the passed List
of Locale
s
and returns the first Locale
that is
supported by the UI (as defined by isLocaleSupported()
),
or null
, if none of the Locale
s in
the passed array are supported by the UI.
- getFloor() - Method in class net.jini.lookup.entry.LocationBean
-
Return the value of the floor field in the Location object linked to by
this JavaBeans component.
- getGranted(int) - Method in class org.apache.river.landlord.Landlord.RenewResults
-
For each cookie passed to
renewAll
,
getGranted(i)
is the granted lease time, or -1 if the
renewal for that lease generated an exception.
- getIcon(int) - Method in class net.jini.lookup.entry.ServiceType
-
Get an icon for this service.
- getIcon(int) - Method in class org.apache.river.lookup.entry.BasicServiceType
-
Returns the resource named "icon.
- getIntegrity() - Method in class org.apache.river.proxy.MarshalledWrapper
-
Returns the integrity value sampled during deserialization of this
MarshalledWrapper
instance, or false
if this
instance was not produced by deserialization or was deserialized from a
stream with no integrity protection setting.
- getJoinSet() - Method in class net.jini.lookup.JoinManager
-
Returns an array of ServiceRegistrar
objects, each
corresponding to a lookup service with which the service is currently
registered (joined).
- getLease() - Method in interface net.jini.event.MailboxRegistration
-
Returns the Lease
object associated
with this registration.
- getLease() - Method in class net.jini.lease.LeaseRenewalEvent
-
Returns a reference to the lease to which the event pertains.
- getLease() - Method in class net.jini.lease.RenewalFailureEvent
-
Returns the lease that could not be renewed.
- getLease() - Method in interface net.jini.space.MatchSet
-
Returns a proxy to the
Lease
associated with this
match set, or
null
if this match set is not
leased.
- getLease() - Method in class org.apache.river.lease.BasicRenewalFailureEvent
-
Returns the lease that could not be renewed.
- getLeaseBound() - Method in interface org.apache.river.admin.FiddlerAdmin
-
Retrieves the least upper bound applied to all lease durations granted
by the lookup discovery service.
- getLeaseRenewalManager() - Method in class net.jini.lookup.JoinManager
-
Returns the instance of the LeaseRenewalManager
class
that was either passed into the constructor, or that was created
as a result of null
being input to that parameter.
- getLeaseRenewalManager() - Method in class net.jini.lookup.ServiceDiscoveryManager
-
The getLeaseRenewalManager
method will return an instance of
the LeaseRenewalManager
class.
- getLeases() - Method in interface net.jini.lease.LeaseRenewalSet
-
Returns all the leases currently in the set.
- getLeases() - Method in exception net.jini.lease.LeaseUnmarshalException
-
Accessor method that returns an array consisting of instances of
Lease
, where each element of the array corresponds
to a successfully unmarshalled object.
- getListener() - Method in interface net.jini.event.MailboxRegistration
-
Returns the RemoteEventListener
associated
with this registration.
- getLocales() - Method in class net.jini.lookup.ui.attribute.Locales
-
Returns an unmodifiable java.util.Set
that contains
java.util.Locale
objects, one for each locale supported
by the UI generated by the UI factory stored in
the marshalled object of the same UIDescriptor
.
- getLocality() - Method in class net.jini.lookup.entry.AddressBean
-
Return the value of the locality field in the Address object linked
to by this JavaBeans component.
- getLookupAttributes() - Method in interface net.jini.admin.JoinAdmin
-
Get the current attribute sets for the service.
- getLookupGroups() - Method in interface net.jini.admin.JoinAdmin
-
Get the list of groups to join.
- getLookupLocators() - Method in interface net.jini.admin.JoinAdmin
-
Get the list of locators of specific lookup services to join.
- getManufacturer() - Method in class net.jini.lookup.entry.ServiceInfoBean
-
Return the value of the manufacturer field in the ServiceInfo
object linked to by this JavaBeans component.
- getMarshalledInstance() - Method in class org.apache.river.proxy.MarshalledWrapper
-
Returns the MarshalledInstance
wrapped by this
MarshalledWrapper
.
- getMarshalledLeases() - Method in exception net.jini.lease.LeaseUnmarshalException
-
Accessor method that returns an array consisting of instances of
MarshalledObject
, where each element of the array is
a marshalled instance of the Lease
interface, and
corresponds to an object that could not be successfully
unmarshalled.
- getMemberGroups() - Method in interface net.jini.lookup.DiscoveryAdmin
-
Returns an array consisting of the names of the groups in which the
lookup service is a member.
- getMessage() - Method in exception org.apache.river.proxy.ThrowThis
-
Returns the detail message, including the message from the nested
exception the server wants thrown
- getModel() - Method in class net.jini.lookup.entry.ServiceInfoBean
-
Return the value of the model field in the ServiceInfo object
linked to by this JavaBeans component.
- getName() - Method in class net.jini.lookup.entry.NameBean
-
Return the value of the name field in the object linked to by
this JavaBeans component.
- getName() - Method in class net.jini.lookup.entry.ServiceInfoBean
-
Return the value of the name field in the ServiceInfo object linked
to by this JavaBeans component.
- getOrganization() - Method in class net.jini.lookup.entry.AddressBean
-
Return the value of the organization field in the Address object linked
to by this JavaBeans component.
- getOrganizationalUnit() - Method in class net.jini.lookup.entry.AddressBean
-
Return the value of the organizationalUnit field in the Address object
linked to by this JavaBeans component.
- getPersistenceSnapshotThreshold() - Method in interface org.apache.river.admin.FiddlerAdmin
-
Retrieve the value of the size threshold of the snapshot; which is
employed by the lookup discovery service in the test to determine
whether or not to take a "snapshot" of the system state.
- getPersistenceSnapshotWeight() - Method in interface org.apache.river.admin.FiddlerAdmin
-
Retrieve the weight factor applied by the lookup discovery service
to the snapshot size during the test to determine whether or not to
take a "snapshot" of the system state.
- getPostalCode() - Method in class net.jini.lookup.entry.AddressBean
-
Return the value of the postalCode field in the Address object linked
to by this JavaBeans component.
- getPostEventServiceItem() - Method in class net.jini.lookup.ServiceDiscoveryEvent
-
Returns an instance of a ServiceItem
containing the
service reference corresponding to the given event.
- getPreEventServiceItem() - Method in class net.jini.lookup.ServiceDiscoveryEvent
-
Returns an instance of a ServiceItem
containing the
service reference corresponding to the given event.
- getProxy() - Method in class org.apache.river.landlord.LandlordLease
-
- getReferentUuid() - Method in class org.apache.river.landlord.LandlordLease
-
- getRemoteEvents() - Method in interface net.jini.event.MailboxPullRegistration
-
Retrieves stored notifications, if any.
- getRenewalSetLease() - Method in class net.jini.lease.ExpirationWarningEvent
-
Convenience method to retrieve the Lease
associated
with the source of this event.
- getRenewalSetLease() - Method in interface net.jini.lease.LeaseRenewalSet
-
Returns the lease that controls the lifetime of this set.
- getRequiredPackages() - Method in class net.jini.lookup.ui.attribute.RequiredPackages
-
Returns a java.util.Map
whose keys
are String
s that represent fully
qualified names of required packages and whose
values are be the oldest version number of the
package (defined by the
key) that is compatible with the UI.
- getRole() - Method in class net.jini.lookup.entry.UIDescriptorBean
-
Return the value of the role
field in the object linked to by
this JavaBeans component.
- getRoom() - Method in class net.jini.lookup.entry.LocationBean
-
Return the value of the room field in the Location object linked to by
this JavaBeans component.
- getSerialFormat() - Method in class org.apache.river.lease.AbstractLease
-
Return the serialization format for the expiration.
- getSerialNumber() - Method in class net.jini.lookup.entry.ServiceInfoBean
-
Return the value of the serialNumber field in the ServiceInfo object
linked to by this JavaBeans component.
- getServiceAttributes() - Method in interface net.jini.lookup.ServiceAttributesAccessor
-
Allows clients to retrieve a services attributes prior to the service
itself, this allows the clients to perform additional filtering, before
a service code-base download is required.
- getServiceProxy() - Method in interface net.jini.lookup.ServiceProxyAccessor
-
Returns a proxy object for this object.
- getSeverity() - Method in class net.jini.lookup.entry.StatusBean
-
Get the value of the severity field of the Status object to
which this JavaBeans component is linked.
- getShortDescription() - Method in class net.jini.lookup.entry.ServiceType
-
Return a localized short description of this service.
- getShortDescription() - Method in class org.apache.river.lookup.entry.BasicServiceType
-
Returns the resource named "desc", else null.
- getSnapshot() - Method in class net.jini.space.AvailabilityEvent
-
Returns a
snapshot of the
Entry
whose
transition triggered this event.
- getSnapshot() - Method in interface net.jini.space.MatchSet
-
Returns a
snapshot of the
Entry
removed by
the last call to
next
.
- getStateOrProvince() - Method in class net.jini.lookup.entry.AddressBean
-
Return the value of the stateOrProvince field in the Address object
linked to by this JavaBeans component.
- getStorageLocation() - Method in interface org.apache.river.admin.StorageLocationAdmin
-
Returns the location of the service's persistent storage.
- getStreet() - Method in class net.jini.lookup.entry.AddressBean
-
Return the value of the street field in the Address object linked to by
this JavaBeans component.
- getThrowable() - Method in class net.jini.lease.RenewalFailureEvent
-
Returns the Throwable
(if any) that was thrown by
the last renewal attempt.
- getThrowable() - Method in class org.apache.river.lease.BasicRenewalFailureEvent
-
Returns the exception (if any) that was thrown by the last renewal
attempt.
- getToolkit() - Method in class net.jini.lookup.entry.UIDescriptorBean
-
Return the value of the toolkit
field in the object linked to by
this JavaBeans component.
- getTypeNames() - Method in class net.jini.lookup.ui.attribute.UIFactoryTypes
-
Returns an unmodifiable Set of fully qualified type name
String
s of which
a UI factory is an instance in no particular order.
- getUIFactory(ClassLoader) - Method in class net.jini.lookup.entry.UIDescriptor
-
A convenience method for unmarshalling the UI factory stored
in the MarshalledObject
referenced from the
factory
field.
- getUnicastPort() - Method in interface net.jini.lookup.DiscoveryAdmin
-
Returns the port number on which the lookup service listens for
unicast discovery queries.
- getUnusableEntryExceptions() - Method in exception net.jini.entry.UnusableEntriesException
-
- getVendor() - Method in class net.jini.lookup.entry.ServiceInfoBean
-
Return the value of the vendor field in the ServiceInfo object
linked to by this JavaBeans component.
- getVerifier() - Method in class org.apache.river.landlord.LeaseFactory
-
Return a TrustVerifier
that will verify the
proxies produced by this factory.
- getVersion() - Method in class net.jini.lookup.entry.ServiceInfoBean
-
Return the value of the version field in the ServiceInfo object
linked to by this JavaBeans component.
- getVersion(String) - Method in class net.jini.lookup.ui.attribute.RequiredPackages
-
Returns a version number for the required package
whose fully qualified package name is passed as
the packageName
parameter.
- grant(LeasedResource, long) - Method in class org.apache.river.landlord.FixedLeasePeriodPolicy
-
- grant(LeasedResource, long) - Method in interface org.apache.river.landlord.LeasePeriodPolicy
-
Calculate the initial expiration and duration for
a new lease.
- Landlord - Interface in org.apache.river.landlord
-
Interface that granters of leases must implement in order to work
with the LandlordLease
implementation of the
Lease
interface.
- Landlord.RenewResults - Class in org.apache.river.landlord
-
- LandlordLease - Class in org.apache.river.landlord
-
Basic implementation of net.jini.core.lease.Lease
that works
with the the Landlord protocol.
- LandlordLease(Uuid, Landlord, Uuid, long) - Constructor for class org.apache.river.landlord.LandlordLease
-
Create a new LandlordLease
.
- LandlordLeaseMap - Class in org.apache.river.landlord
-
Implementation of LeaseMap
for LandlordLease
.
- LandlordProxyVerifier - Class in org.apache.river.landlord
-
This class defines a trust verifier for the proxies defined
in the landlord package.
- LandlordProxyVerifier(Landlord, Uuid) - Constructor for class org.apache.river.landlord.LandlordProxyVerifier
-
Returns a verifier for the proxies defined in the landlord
package with the specified server reference and server
Uuid
.
- LandlordUtil - Class in org.apache.river.landlord
-
Static methods useful for implementing landlords.
- LandlordUtil() - Constructor for class org.apache.river.landlord.LandlordUtil
-
- LeasedResource - Interface in org.apache.river.landlord
-
Server side representation of a lease
- LeaseFactory - Class in org.apache.river.landlord
-
- LeaseFactory(Landlord, Uuid) - Constructor for class org.apache.river.landlord.LeaseFactory
-
Create a new LeaseFactory
that will create
LandlordLease
s with the specified
Landlord
and landlord Uuid
.
- LeaseListener - Interface in net.jini.lease
-
The interface that receivers of LeaseRenewalEvent
instances must implement.
- LeasePeriodPolicy - Interface in org.apache.river.landlord
-
Interface for objects that define what policy to use
when calculating lease grants and renewals.
- LeasePeriodPolicy.Result - Class in org.apache.river.landlord
-
Simple class that holds a pair of times, the
new expiration and duration for a lease.
- LeaseRenewalEvent - Class in net.jini.lease
-
Event generated when a LeaseRenewalManager
cannot renew
a lease.
- LeaseRenewalEvent(LeaseRenewalManager, Lease, long, Throwable) - Constructor for class net.jini.lease.LeaseRenewalEvent
-
Constructs an instance of this class with the specified state.
- LeaseRenewalEvent(AtomicSerial.GetArg) - Constructor for class net.jini.lease.LeaseRenewalEvent
-
- LeaseRenewalManager - Class in net.jini.lease
-
Provides for the systematic renewal and overall management of a set
of leases associated with one or more remote entities on behalf of a
local entity.
- LeaseRenewalManager() - Constructor for class net.jini.lease.LeaseRenewalManager
-
No-argument constructor that creates an instance of this class
that initially manages no leases.
- LeaseRenewalManager(Configuration) - Constructor for class net.jini.lease.LeaseRenewalManager
-
Constructs an instance of this class that initially manages no leases
and that uses config
to control implementation-specific
details of the behavior of the instance created.
- LeaseRenewalManager(Lease, long, LeaseListener) - Constructor for class net.jini.lease.LeaseRenewalManager
-
Constructs an instance of this class that will initially manage a
single lease.
- LeaseRenewalService - Interface in net.jini.lease
-
Interface to the lease renewal service.
- LeaseRenewalSet - Interface in net.jini.lease
-
A collection of leases being managed by a lease renewal service.
- LeaseUnmarshalException - Exception in net.jini.lease
-
Exception thrown when a lease renewal set can't unmarshal one or more
leases being returned by a getLeases
call.
- LeaseUnmarshalException(String, Lease[], MarshalledObject[], Throwable[]) - Constructor for exception net.jini.lease.LeaseUnmarshalException
-
Constructs a new instance of LeaseUnmarshalException
with a specified message.
- LeaseUnmarshalException(Lease[], MarshalledObject[], Throwable[]) - Constructor for exception net.jini.lease.LeaseUnmarshalException
-
Constructs a new instance of LeaseUnmarshalException
.
- LeaseUnmarshalException(AtomicSerial.GetArg) - Constructor for exception net.jini.lease.LeaseUnmarshalException
-
- loadClass(String, String, ClassLoader, boolean, ClassLoader) - Static method in class org.apache.river.proxy.CodebaseProvider
-
- loadProxyClass(String, String[], ClassLoader, boolean, ClassLoader) - Static method in class org.apache.river.proxy.CodebaseProvider
-
- Locales - Class in net.jini.lookup.ui.attribute
-
UI attribute that lists the locales supported
by a generated UI.
- Locales(Set) - Constructor for class net.jini.lookup.ui.attribute.Locales
-
Constructs a Locales
using the
passed Set
.
- locality - Variable in class net.jini.lookup.entry.Address
-
City or locality name.
- LocalLandlord - Interface in org.apache.river.landlord
-
Interface that defines the basic landlord primitives (renew and
cancel) as local methods.
- Location - Class in net.jini.lookup.entry
-
The location of the physical component of a service.
- Location() - Constructor for class net.jini.lookup.entry.Location
-
Construct an empty instance of this class.
- Location(String, String, String) - Constructor for class net.jini.lookup.entry.Location
-
Construct an instance of this class, with all fields
initialized appropriately.
- LocationBean - Class in net.jini.lookup.entry
-
A JavaBeans(TM) component that encapsulates a Location object.
- LocationBean() - Constructor for class net.jini.lookup.entry.LocationBean
-
Construct a new JavaBeans component linked to a new empty
Location object.
- LocationBean(String, String, String) - Constructor for class net.jini.lookup.entry.LocationBean
-
- lookup(ServiceItemFilter) - Method in interface net.jini.lookup.LookupCache
-
Finds a ServiceItem
object that satisfies the given
filter
parameter.
- lookup(ServiceItemFilter, int) - Method in interface net.jini.lookup.LookupCache
-
Finds an array of instances of ServiceItem
that each
satisfy the given filter
parameter.
- lookUp(ServiceTemplate, int) - Method in interface net.jini.lookup.SafeServiceRegistrar
-
Returns an array with a maximum length of maxProxies, containing bootstrap
proxies matching the template with service proxies that are likely to
be compatible with the clients constraints.
- lookup(ServiceTemplate, ServiceItemFilter) - Method in class net.jini.lookup.ServiceDiscoveryManager
-
Queries each available lookup service in the set of lookup services
managed by the ServiceDiscoveryManager
(the managed
set) for a service reference that matches criteria defined by the
entity that invokes this method.
- lookup(ServiceTemplate, ServiceItemFilter, long) - Method in class net.jini.lookup.ServiceDiscoveryManager
-
Queries each available lookup service in the managed set for a service
that matches the input criteria.
- lookup(ServiceTemplate, int, ServiceItemFilter) - Method in class net.jini.lookup.ServiceDiscoveryManager
-
Queries each available lookup service in the managed set for service(s)
that match the input criteria.
- lookup(ServiceTemplate, int, int, ServiceItemFilter, long) - Method in class net.jini.lookup.ServiceDiscoveryManager
-
Queries each available lookup service in the managed set for service(s)
that match the input criteria.
- LookupAttributes - Class in org.apache.river.lookup.entry
-
Some simple utilities for manipulating lookup service attributes.
- LookupCache - Interface in net.jini.lookup
-
- MailboxPullRegistration - Interface in net.jini.event
-
The MailboxPullRegistration
defines the interface through which
a client manages its registration and its notification processing.
- MailboxRegistration - Interface in net.jini.event
-
The MailboxRegistration
defines the interface through which
a client manages its registration and its notification processing.
- MainUI - Interface in net.jini.lookup.ui
-
UI role interface implemented by Main UIs,
which enable client programs to grant users general access to a service.
- makeLink(Entry) - Method in class net.jini.lookup.entry.AddressBean
-
Make a link to an Entry object.
- makeLink(Entry) - Method in class net.jini.lookup.entry.CommentBean
-
Make a link to an Entry object.
- makeLink(Entry) - Method in interface net.jini.lookup.entry.EntryBean
-
Make a link to an Entry object.
- makeLink(Entry) - Method in class net.jini.lookup.entry.LocationBean
-
Make a link to an Entry object.
- makeLink(Entry) - Method in class net.jini.lookup.entry.NameBean
-
Make a link to an Entry object.
- makeLink(Entry) - Method in class net.jini.lookup.entry.ServiceInfoBean
-
Make a link to an Entry object.
- makeLink(Entry) - Method in class net.jini.lookup.entry.StatusBean
-
Make a link to an Entry object.
- makeLink(Entry) - Method in class net.jini.lookup.entry.UIDescriptorBean
-
Make a link to a UIDescriptor
object.
- manufacturer - Variable in class net.jini.lookup.entry.ServiceInfo
-
The name of the manufacturer or author of this service.
- map - Variable in class org.apache.river.lease.AbstractLeaseMap
-
Map from Lease to Long(duration), where all leases have the same
destination.
- mapLock - Variable in class org.apache.river.lease.AbstractLeaseMap
-
- MarshalledWrapper - Class in org.apache.river.proxy
-
Wrapper around
MarshalledInstance
that samples the integrity setting
(if any) of the stream it is unmarshalled from, and uses that setting to
determine whether or not to verify codebase integrity when calling the
get
method of the contained
MarshalledInstance
.
- MarshalledWrapper(Object) - Constructor for class org.apache.river.proxy.MarshalledWrapper
-
Creates a new MarshalledWrapper
wrapping a
MarshalledInstance
containing the given object.
- MarshalledWrapper(MarshalledInstance) - Constructor for class org.apache.river.proxy.MarshalledWrapper
-
Creates a new MarshalledWrapper
wrapping the given
MarshalledInstance
.
- MarshalledWrapper(AtomicSerial.GetArg) - Constructor for class org.apache.river.proxy.MarshalledWrapper
-
- matches(Entry, Entry) - Static method in class org.apache.river.lookup.entry.LookupAttributes
-
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
.
- MatchSet - Interface in net.jini.space
-
A collection of
Entry
instances to be incrementally
returned from a JavaSpaces service.
- model - Variable in class net.jini.lookup.entry.ServiceInfo
-
The model name or number of this service, if any.
- modify(Entry[], Entry[], Entry[]) - Static method in class org.apache.river.lookup.entry.LookupAttributes
-
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.
- modify(Entry[], Entry[], Entry[], boolean) - Static method in class org.apache.river.lookup.entry.LookupAttributes
-
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.
- modifyAttributes(Entry[], Entry[]) - Method in class net.jini.lookup.JoinManager
-
Changes the service's current set of attributes using the same
semantics as the modifyAttributes
method of the
ServiceRegistration
class.
- modifyAttributes(Entry[], Entry[], boolean) - Method in class net.jini.lookup.JoinManager
-
Changes the service's current set of attributes using the same
semantics as the modifyAttributes
method of the
ServiceRegistration
class.
- modifyLookupAttributes(Entry[], Entry[]) - Method in interface net.jini.admin.JoinAdmin
-
Modify the current attribute sets, using the same semantics as
ServiceRegistration.modifyAttributes.
- name - Variable in class net.jini.lookup.entry.jmx.JMXProperty
-
- Name - Class in net.jini.lookup.entry
-
The name of a service as used by users.
- Name() - Constructor for class net.jini.lookup.entry.Name
-
Construct an empty instance of this class.
- Name(String) - Constructor for class net.jini.lookup.entry.Name
-
Construct an instance of this class, with all fields
initialized appropriately.
- name - Variable in class net.jini.lookup.entry.Name
-
The name itself.
- name - Variable in class net.jini.lookup.entry.ServiceInfo
-
The name of the product or package of which this service is an
instance.
- NameBean - Class in net.jini.lookup.entry
-
A JavaBeans(TM) component that encapsulates a Name object.
- NameBean() - Constructor for class net.jini.lookup.entry.NameBean
-
Construct a new JavaBeans component, linked to a new empty Name object.
- NameBean(String) - Constructor for class net.jini.lookup.entry.NameBean
-
- nestedException - Variable in exception net.jini.space.InternalSpaceException
-
The exception (if any) that triggered the internal exception.
- net.jini.admin - package net.jini.admin
-
These interfaces provide common ways to export
particular administrative functionality.
- net.jini.entry - package net.jini.entry
-
Provides classes that are useful when handling or implementing
entries.
- net.jini.event - package net.jini.event
-
- net.jini.lease - package net.jini.lease
-
Standard service and utility classes for managing leases.
- net.jini.lookup - package 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 - package 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.lookup.entry.jmx - package net.jini.lookup.entry.jmx
-
- net.jini.lookup.ui - package net.jini.lookup.ui
-
- net.jini.lookup.ui.attribute - package net.jini.lookup.ui.attribute
-
- net.jini.space - package net.jini.space
-
JavaSpaces servers provide a place on the network, a space,
for clients to store and exchange objects.
- newLease(Uuid, long) - Method in class org.apache.river.landlord.LeaseFactory
-
Return a new LandlordLease
with the specified
initial expiration and cookie using the inner proxy and
Uuid
the factory was created with.
- next(long) - Method in interface net.jini.event.RemoteEventIterator
-
Retrieves stored event notifications, if any.
- next() - Method in interface net.jini.space.MatchSet
-
Removes one Entry
from the match set and
returns a copy to the caller.
- next() - Method in interface org.apache.river.admin.AdminIterator
-
Deprecated.
Return the next entry in the sequence.
- NO_WAIT - Static variable in interface net.jini.space.JavaSpace
-
Wait for no time at all.
- noneDenied() - Method in class org.apache.river.landlord.Landlord.RenewResults
-
- NORMAL - Static variable in class net.jini.lookup.entry.StatusType
-
A noteworthy event is occurring during the normal operation of
a service.
- NOTICE - Static variable in class net.jini.lookup.entry.StatusType
-
An unusual event is occurring, but the event is not necessarily
a problem.
- notify(LeaseRenewalEvent) - Method in interface net.jini.lease.LeaseListener
-
Called by the LeaseRenewalManager
when it cannot
renew a lease that it is managing, and the lease's desired
expiration time has not yet been reached.
- notiFy(ServiceTemplate, int, RemoteEventListener, MarshalledInstance, long) - Method in interface net.jini.lookup.SafeServiceRegistrar
-
Registers for event notification.
- notify(Entry, Transaction, RemoteEventListener, long, MarshalledObject) - Method in interface net.jini.space.JavaSpace
-
When entries are written that match this template notify the
given listener
with a RemoteEvent
that
includes the handback
object.
- read(Entry, Transaction, long) - Method in interface net.jini.space.JavaSpace
-
Read any matching entry from the space, blocking until one exists.
- readIfExists(Entry, Transaction, long) - Method in interface net.jini.space.JavaSpace
-
Read any matching entry from the space, returning
null
if there is currently is none.
- register(long) - Method in interface net.jini.event.EventMailbox
-
Defines the interface to the event mailbox service.
- registerForAvailabilityEvent(Collection, Transaction, boolean, RemoteEventListener, long, MarshalledObject) - Method in interface net.jini.space.JavaSpace05
-
Register for events triggered when a matching
Entry
transitions from unavailable to available.
- RemoteEventIterator - Interface in net.jini.event
-
RemoteEventIterator
defines the interface through which
a client can synchronously retrieve events associated with a given
registration.
- remove(Lease) - Method in class net.jini.lease.LeaseRenewalManager
-
Removes a given lease from the managed set of leases; but does
not cancel the given lease.
- remove(Lease) - Method in interface net.jini.lease.LeaseRenewalSet
-
Removes the specified lease from set.
- remove(Object) - Method in class org.apache.river.lease.AbstractIDLeaseMap
-
- remove(Object) - Method in class org.apache.river.lease.AbstractLeaseMap
-
- removeListener(ServiceDiscoveryListener) - Method in interface net.jini.lookup.LookupCache
-
Removes a ServiceDiscoveryListener
object from the set
of listeners currently registered with the LookupCache
.
- removeLookupGroups(String[]) - Method in interface net.jini.admin.JoinAdmin
-
Remove groups from the set to join.
- removeLookupLocators(LookupLocator[]) - Method in interface net.jini.admin.JoinAdmin
-
Remove locators for specific lookup services from the set to join.
- removeMemberGroups(String[]) - Method in interface net.jini.lookup.DiscoveryAdmin
-
Deletes the elements of the given set of names from the set whose
elements are the names of the groups in which the lookup service is
currently a member.
- renew(long) - Method in class org.apache.river.landlord.AbstractLeasedResource
-
Returns a copy of the lease with a new expiration time.
- renew(LeasedResource, long) - Method in class org.apache.river.landlord.FixedLeasePeriodPolicy
-
- renew(Uuid, long) - Method in interface org.apache.river.landlord.Landlord
-
Called by the lease when its
renew
method is called.
- renew(LeasedResource, long) - Method in interface org.apache.river.landlord.LeasePeriodPolicy
-
Calculate the expiration and duration for an
existing lease that is being renewed.
- renew(Uuid, long) - Method in interface org.apache.river.landlord.LocalLandlord
-
Renew the lease that is associated with the given cookie.
- renew(long) - Method in class org.apache.river.lease.AbstractLease
-
Renew the lease for a duration relative to now.
- RENEWAL_FAILURE_EVENT_ID - Static variable in interface net.jini.lease.LeaseRenewalSet
-
The event id for all RenewalFailureEvent
objects.
- RenewalFailureEvent - Class in net.jini.lease
-
Event generated by a lease renewal set when it can't renew a lease it
is responsible for.
- RenewalFailureEvent(LeaseRenewalSet, long, MarshalledObject) - Constructor for class net.jini.lease.RenewalFailureEvent
-
Simple constructor.
- RenewalFailureEvent(AtomicSerial.GetArg) - Constructor for class net.jini.lease.RenewalFailureEvent
-
Can only be called by subclasses that implement @AtomicSerial
- renewAll(Uuid[], long[]) - Method in interface org.apache.river.landlord.Landlord
-
Called by the lease map when its
renewAll
method is called.
- renewAll() - Method in class org.apache.river.landlord.LandlordLeaseMap
-
- renewAll(LocalLandlord, Uuid[], long[]) - Static method in class org.apache.river.landlord.LandlordUtil
-
Call landlord.renew()
for each object in
cookie[]
, passing cookie[i]
and
durations[i]
.
- renewFor(Lease, long, LeaseListener) - Method in class net.jini.lease.LeaseRenewalManager
-
Include a lease in the managed set for a specified duration.
- renewFor(Lease, long, long, LeaseListener) - Method in class net.jini.lease.LeaseRenewalManager
-
Include a lease in the managed set for a specified duration and
with specified renewal duration.
- renewFor(Lease, long, long) - Method in interface net.jini.lease.LeaseRenewalSet
-
Include a client lease in the set for a specified duration and
with a specified renewal duration.
- renewFor(Lease, long) - Method in interface net.jini.lease.LeaseRenewalSet
-
Include a client lease in the set for a specified duration.
- RenewResults(long[]) - Constructor for class org.apache.river.landlord.Landlord.RenewResults
-
Create a RenewResults
object setting the field
granted
to the passed value, and denied
to null
.
- RenewResults(long[], Exception[]) - Constructor for class org.apache.river.landlord.Landlord.RenewResults
-
Create a RenewResults
object setting the field
granted
and denied
fields to the
passed values.
- RenewResults(AtomicSerial.GetArg) - Constructor for class org.apache.river.landlord.Landlord.RenewResults
-
- renewUntil(Lease, long, LeaseListener) - Method in class net.jini.lease.LeaseRenewalManager
-
Include a lease in the managed set until a specified time.
- renewUntil(Lease, long, long, LeaseListener) - Method in class net.jini.lease.LeaseRenewalManager
-
Include a lease in the managed set until a specified time and
with a specified renewal duration.
- replaceRegistration(Object) - Method in class net.jini.lookup.JoinManager
-
Registers a new reference to the service with all current and future
discovered lookup services.
- replaceRegistration(Object, Entry[]) - Method in class net.jini.lookup.JoinManager
-
Registers a new reference to the service with all current and future
discovered lookup services, applying semantics identical to the
one-argument form of this method, except with respect to the
registration of the given attribute sets.
- RequiredPackages - Class in net.jini.lookup.ui.attribute
-
UI attribute that enables clients to get a list of
the fully qualified names and version numbers of packages
required by a UI.
- RequiredPackages(Map) - Constructor for class net.jini.lookup.ui.attribute.RequiredPackages
-
Constructs a RequiredPackages
attribute
with the passed Map
.
- Result(long, long) - Constructor for class org.apache.river.landlord.LeasePeriodPolicy.Result
-
Simple constructor to create a new Result
object.
- RMI - Static variable in class net.jini.lookup.entry.jmx.JMXProtocolType
-
- role - Variable in class net.jini.lookup.entry.UIDescriptor
-
Gives the fully qualified name of the interface that represents
the role of the UI generated by the marshalled UI factory.
- ROLE - Static variable in interface net.jini.lookup.ui.AboutUI
-
Convenience constant to use in the role
field of UIDescriptor
s for AboutUI role UIs.
- ROLE - Static variable in interface net.jini.lookup.ui.AdminUI
-
Convenience constant to use in the role
field of UIDescriptor
s for AdminUI role UIs.
- ROLE - Static variable in interface net.jini.lookup.ui.MainUI
-
Convenience constant to use in the role
field of UIDescriptor
s for MainUI role UIs.
- room - Variable in class net.jini.lookup.entry.Location
-
A room or cube number.
- SafeServiceRegistrar - Interface in net.jini.lookup
-
ServiceRegistrar that provides safe lookup and notify methods to allow
authentication prior to download and delayed un-marshaling.
- serialFormat - Variable in class org.apache.river.lease.AbstractLease
-
Serialization format for the expiration.
- serialNumber - Variable in class net.jini.lookup.entry.ServiceInfo
-
The serial number of this instance of the service, if any.
- serviceAdded(ServiceDiscoveryEvent) - Method in interface net.jini.lookup.ServiceDiscoveryListener
-
When the cache receives from one of the managed lookup services,
an event signaling the registration of a service of
interest for the first time (or for the first time since
the service has been discarded), the cache invokes the
serviceAdded
method on all instances of
ServiceDiscoveryListener
that are registered with the
cache; doing so notifies the entity that a service of interest has
been discovered.
- ServiceAttributesAccessor - Interface in net.jini.lookup
-
Provides a means to obtain attributes from a bootstrap proxy returned from
net.jini.core.lookup.ServiceRegistrar#lookUp(net.jini.core.lookup.ServiceTemplate, int)
Services should implement this interface.
- serviceChanged(ServiceDiscoveryEvent) - Method in interface net.jini.lookup.ServiceDiscoveryListener
-
When the cache receives, from a managed lookup service, an event
signaling the unique modification of the attributes of a service
of interest (across the attribute sets of all references to the
service), the cache invokes the serviceChanged
method on all instances of ServiceDiscoveryListener
that are registered with the cache; doing so notifies the entity
that the state of a service of interest has changed.
- ServiceControlled - Interface in net.jini.lookup.entry
-
This interface indicates that an Entry class is created and
modified by the service with which it is associated.
- ServiceDiscoveryEvent - Class in net.jini.lookup
-
The
ServiceDiscoveryEvent
class encapsulates the
service discovery information made available by the event mechanism
of the
LookupCache
.
- ServiceDiscoveryEvent(Object, ServiceItem, ServiceItem) - Constructor for class net.jini.lookup.ServiceDiscoveryEvent
-
The constructor of ServiceDiscoveryEvent
takes
three arguments:
An instance of Object
corresponding to the
instance of LookupCache
from which the given event
originated
A ServiceItem
reference representing the state
of the service (associated with the given event) prior to the
occurrence of the event
A ServiceItem
reference representing the state
of the service after the occurrence of the event
If null
is passed as the source parameter for the
constructor, a NullPointerException
will be thrown.
- ServiceDiscoveryEvent(AtomicSerial.GetArg) - Constructor for class net.jini.lookup.ServiceDiscoveryEvent
-
AtomicSerial constructor
- ServiceDiscoveryListener - Interface in net.jini.lookup
-
The
ServiceDiscoveryListener
interface defines the
methods used by objects such as a
LookupCache
to notify an entity that events of interest related to
the elements of the cache have occurred.
- ServiceDiscoveryManager - Class in net.jini.lookup
-
The ServiceDiscoveryManager
class is a helper utility class that
any client-like entity can use to "discover" services registered with any
number of lookup services of interest.
- ServiceDiscoveryManager(DiscoveryManagement, LeaseRenewalManager) - Constructor for class net.jini.lookup.ServiceDiscoveryManager
-
Constructs an instance of ServiceDiscoveryManager
which
will, on behalf of the entity that constructs this class, discover and
manage a set of lookup services, as well as discover and manage sets of
services registered with those lookup services.
- ServiceDiscoveryManager(DiscoveryManagement, LeaseRenewalManager, Configuration) - Constructor for class net.jini.lookup.ServiceDiscoveryManager
-
Constructs an instance of this class, which is configured using the items
retrieved through the given Configuration
, that will, on
behalf of the entity that constructs this class, discover and manage a
set of lookup services, as well as discover and manage sets of services
registered with those lookup services.
- serviceID() - Method in interface net.jini.lookup.ServiceIDAccessor
-
A remote method to be implemented by a service, allowing clients to obtain
this information from a bootstrap proxy, prior to downloading the
services proxy.
- ServiceIDAccessor - Interface in net.jini.lookup
-
Allows clients to obtain the ServiceID from a bootstrap service
proxy.
- ServiceIDListener - Interface in net.jini.lookup
-
Interface used by a service that does not yet have a service ID, for
callback from the JoinManager when a service ID is assigned.
- serviceIDNotify(ServiceID) - Method in interface net.jini.lookup.ServiceIDListener
-
Called when the JoinManager gets a valid ServiceID from a lookup
service.
- ServiceInfo - Class in net.jini.lookup.entry
-
Generic information about a service.
- ServiceInfo() - Constructor for class net.jini.lookup.entry.ServiceInfo
-
Construct an empty instance of this class.
- ServiceInfo(String, String, String, String, String, String) - Constructor for class net.jini.lookup.entry.ServiceInfo
-
Construct an instance of this class, with all fields
initialized appropriately.
- ServiceInfoBean - Class in net.jini.lookup.entry
-
A JavaBeans(TM) component that encapsulates a ServiceInfo object.
- ServiceInfoBean() - Constructor for class net.jini.lookup.entry.ServiceInfoBean
-
Construct a new JavaBeans component, linked to a new empty
ServiceInfo object.
- ServiceInfoBean(String, String, String, String, String, String) - Constructor for class net.jini.lookup.entry.ServiceInfoBean
-
- ServiceItemFilter - Interface in net.jini.lookup
-
The
ServiceItemFilter
interface defines the methods used by
an object such as the
ServiceDiscoveryManager
or the
LookupCache
to apply additional selection criteria when searching for
services in which an entity has registered interest.
- ServiceProxyAccessor - Interface in net.jini.lookup
-
Provides a means to obtain a client-side proxy from a
"base" service object.
- serviceRemoved(ServiceDiscoveryEvent) - Method in interface net.jini.lookup.ServiceDiscoveryListener
-
When the cache receives, from a managed lookup service, an event
signaling the removal of a service of interest from the last such
lookup service with which it was registered, the cache invokes
the serviceRemoved
method on all instances of
ServiceDiscoveryListener
that are registered with
the cache; doing so notifies the entity that a service of interest
has been discarded.
- ServiceType - Class in net.jini.lookup.entry
-
Human-oriented information about the "type" of a service.
- ServiceType() - Constructor for class net.jini.lookup.entry.ServiceType
-
Instantiate this class.
- serviceType - Variable in class net.jini.lookup.entry.ServiceTypes
-
Service type to match, or null.
- ServiceTypes - Class in net.jini.lookup.entry
-
Represents a ServiceType implemented by a service.
- ServiceTypes() - Constructor for class net.jini.lookup.entry.ServiceTypes
-
- ServiceTypes(Class) - Constructor for class net.jini.lookup.entry.ServiceTypes
-
- setAttributes(Set) - Method in class net.jini.lookup.entry.UIDescriptorBean
-
Set the value of the attributes
field in the object linked to by this
JavaBeans component.
- setAttributes(Entry[]) - Method in class net.jini.lookup.JoinManager
-
Replaces the service's current set of attributes with a new set of
attributes.
- setBuilding(String) - Method in class net.jini.lookup.entry.LocationBean
-
Set the value of the building field in the Location object linked to by
this JavaBeans component.
- setComment(String) - Method in class net.jini.lookup.entry.CommentBean
-
Set the value of the comment field in the Comment object linked to by
this JavaBeans component.
- setConstraints(MethodConstraints) - Method in class org.apache.river.landlord.ConstrainableLandlordLease
-
- setCountry(String) - Method in class net.jini.lookup.entry.AddressBean
-
Set the value of the country field in the Address object linked to by
this JavaBeans component.
- setExpiration(Lease, long) - Method in class net.jini.lease.LeaseRenewalManager
-
Replaces the current desired expiration of a given lease from the
managed set with a new desired expiration time.
- setExpiration(long) - Method in interface org.apache.river.landlord.LeasedResource
-
Changes the expiration time of the lease.
- setExpirationWarningListener(RemoteEventListener, long, MarshalledObject) - Method in interface net.jini.lease.LeaseRenewalSet
-
Register for the expiration warning event associated with this
set.
- setFactory(MarshalledObject) - Method in class net.jini.lookup.entry.UIDescriptorBean
-
Set the value of the factory
field in the object linked to by this
JavaBeans component.
- setFloor(String) - Method in class net.jini.lookup.entry.LocationBean
-
Set the value of the floor field in the Location object linked to by
this JavaBeans component.
- setLeaseBound(long) - Method in interface org.apache.river.admin.FiddlerAdmin
-
Changes the least upper bound applied to all lease durations granted
by the lookup discovery service.
- setLocality(String) - Method in class net.jini.lookup.entry.AddressBean
-
Set the value of the locality field in the Address object linked to
by this JavaBeans component.
- setLookupGroups(String[]) - Method in interface net.jini.admin.JoinAdmin
-
Replace the list of groups to join with a new list.
- setLookupLocators(LookupLocator[]) - Method in interface net.jini.admin.JoinAdmin
-
Replace the list of locators of specific lookup services to join
with a new list.
- setManufacturer(String) - Method in class net.jini.lookup.entry.ServiceInfoBean
-
Set the value of the manufacturer field in the ServiceInfo
object linked to by this JavaBeans component.
- setMemberGroups(String[]) - Method in interface net.jini.lookup.DiscoveryAdmin
-
Replaces the set whose elements are the names of the groups in which
the lookup service is currently a member with the given set of group
names.
- setModel(String) - Method in class net.jini.lookup.entry.ServiceInfoBean
-
Set the value of the model field in the ServiceInfo object
linked to by this JavaBeans component.
- setName(String) - Method in class net.jini.lookup.entry.NameBean
-
Set the value of the name field in the object linked to by this
JavaBeans component.
- setName(String) - Method in class net.jini.lookup.entry.ServiceInfoBean
-
Set the value of the name field in the ServiceInfo object
linked to by this JavaBeans component.
- setOrganization(String) - Method in class net.jini.lookup.entry.AddressBean
-
Set the value of the organization field in the Address object linked to
by this JavaBeans component.
- setOrganizationalUnit(String) - Method in class net.jini.lookup.entry.AddressBean
-
Set the value of the organizationalUnit field in the Address object
linked to by this JavaBeans component.
- setPersistenceSnapshotThreshold(int) - Method in interface org.apache.river.admin.FiddlerAdmin
-
Change the value of the size threshold of the snapshot; which is
employed by the lookup discovery service in the test to determine
whether or not to take a "snapshot" of the system state.
- setPersistenceSnapshotWeight(float) - Method in interface org.apache.river.admin.FiddlerAdmin
-
Change the weight factor applied by the lookup discovery service
to the snapshot size during the test to determine whether or not
to take a "snapshot" of the system state.
- setPostalCode(String) - Method in class net.jini.lookup.entry.AddressBean
-
Set the value of the postalCode field in the Address object linked to
by this JavaBeans component.
- setRenewalFailureListener(RemoteEventListener, MarshalledObject) - Method in interface net.jini.lease.LeaseRenewalSet
-
Register for the renewal failure event associated with this set.
- setRole(String) - Method in class net.jini.lookup.entry.UIDescriptorBean
-
Set the value of the role
field in the object linked to by this
JavaBeans component.
- setRoom(String) - Method in class net.jini.lookup.entry.LocationBean
-
Set the value of the room field in the Location object linked to by this
JavaBeans component.
- setSerialFormat(int) - Method in class org.apache.river.lease.AbstractLease
-
Set the serialization format for the expiration.
- setSerialNumber(String) - Method in class net.jini.lookup.entry.ServiceInfoBean
-
Set the value of the serialNumber field in the ServiceInfo object
linked to by this JavaBeans component.
- setSeverity(StatusType) - Method in class net.jini.lookup.entry.StatusBean
-
Set the value of the severity field of the Status object to
which this JavaBeans component is linked.
- setStateOrProvince(String) - Method in class net.jini.lookup.entry.AddressBean
-
Set the value of the stateOrProvince field in the Address object
linked to by this JavaBeans component.
- setStorageLocation(String) - Method in interface org.apache.river.admin.StorageLocationAdmin
-
Sets the location of the service's persistent storage,
moving all current persistent storage from the current
location to the specified new location.
- setStreet(String) - Method in class net.jini.lookup.entry.AddressBean
-
Set the value of the street field in the Address object linked to by
this JavaBeans component.
- setToolkit(String) - Method in class net.jini.lookup.entry.UIDescriptorBean
-
Set the value of the toolkit
field in the object linked to by this
JavaBeans component.
- setUnicastPort(int) - Method in interface net.jini.lookup.DiscoveryAdmin
-
Changes the number of the port on which the lookup service is currently
listening for unicast discovery queries to the given port number.
- setVendor(String) - Method in class net.jini.lookup.entry.ServiceInfoBean
-
Set the value of the vendor field in the ServiceInfo object
linked to by this JavaBeans component.
- setVersion(String) - Method in class net.jini.lookup.entry.ServiceInfoBean
-
Set the value of the version field in the ServiceInfo object
linked to by this JavaBeans component.
- severity - Variable in class net.jini.lookup.entry.Status
-
The severity level of this status object.
- SharedGroup - Interface in org.apache.river.start.group
-
The service starter
supported interface for shared group objects.
- size() - Method in class org.apache.river.lease.AbstractLeaseMap
-
- size() - Method in class org.apache.river.lookup.util.ConsistentSet
-
Returns the number of elements in this ConsistentSet
(its cardinality).
- snapshot(Entry) - Method in interface net.jini.space.JavaSpace
-
The process of serializing an entry for transmission to a JavaSpaces
service will be identical if the same entry is used twice.
- space() - Method in interface org.apache.river.admin.JavaSpaceAdmin
-
Deprecated.
Return the space that this administrative object governs.
- stateOrProvince - Variable in class net.jini.lookup.entry.Address
-
Full name or standard postal abbreviation of a state or
province.
- Status - Class in net.jini.lookup.entry
-
The base class from which other status-related entry classes may be
derived.
- Status() - Constructor for class net.jini.lookup.entry.Status
-
Construct an empty Status object.
- Status(StatusType) - Constructor for class net.jini.lookup.entry.Status
-
Construct a Status object with the given severity.
- StatusBean - Class in net.jini.lookup.entry
-
A JavaBeans(TM) component that encapsulates a Status object.
- StatusBean() - Constructor for class net.jini.lookup.entry.StatusBean
-
Unlike other EntryBean constructors, this one does not
establish a link to a new object.
- StatusType - Class in net.jini.lookup.entry
-
Information pertaining to the severity of a Status object.
- StorageLocationAdmin - Interface in org.apache.river.admin
-
Admin interface for controlling the location of a service's persistent
storage.
- street - Variable in class net.jini.lookup.entry.Address
-
Street address.