Serialized Form


Package com.sun.jini.lease

Class com.sun.jini.lease.AbstractLease implements Serializable

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream stream)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
If serialFormat is DURATION, add the current time to the expiration, to make it absolute (and if the result of the addition is negative, correct the overflow by resetting the expiration to Long.MAX_VALUE).

writeObject

private void writeObject(java.io.ObjectOutputStream stream)
                  throws java.io.IOException
Serial Data:
a long, which is the absolute expiration if serialFormat is ABSOLUTE, or the relative duration if serialFormat is DURATION
Serialized Fields

serialFormat

int serialFormat
Serialization format for the expiration.

Class com.sun.jini.lease.AbstractLeaseMap implements Serializable

Serialized Fields

map

java.util.Map map
Map from Lease to Long(duration), where all leases have the same destination.

Class com.sun.jini.lease.LeaseRenewalEvent implements Serializable

Serialized Fields

ex

java.lang.Exception ex
Deprecated. 
The exception that caused the failure, if any.

expiration

long expiration
Deprecated. 
The desired expiration of the failed lease.

lease

Lease lease
Deprecated. 
The failed lease.


Package com.sun.jini.lease.landlord

Class com.sun.jini.lease.landlord.Landlord.RenewResults implements Serializable

Serialized Fields

denied

java.lang.Exception[] denied
The ith -1 in granted was denied because of denied[i]. If nothing was denied, this field is null.

granted

long[] granted
For each cookie passed to renewAll, granted[i] is the granted lease time, or -1 if the renewal for that least generated an exception. If there was an exception, the exception is held in denied.
See Also:
Landlord.RenewResults.denied

Class com.sun.jini.lease.landlord.LandlordLease implements Serializable

Serialized Fields

cookie

java.lang.Object cookie
Object passed to landlord when renewal and cancel calls are make on this lease. Should uniquely identify the lease.

landlord

Landlord landlord
Owner of the resource associated with this lease.

Class com.sun.jini.lease.landlord.LandlordLeaseMap implements Serializable

Serialized Fields

landlord

Landlord landlord
The landlord which this map will talk to.


Package com.sun.jini.lookup.entry

Class com.sun.jini.lookup.entry.BasicServiceType implements Serializable

Serialized Fields

type

java.lang.String type
The type of service.


Package net.jini.core.discovery

Class net.jini.core.discovery.LookupLocator implements Serializable

Serialized Fields

host

java.lang.String host
The name of the host at which to perform discovery.

port

int port
The port number on the host at which to perform discovery.


Package net.jini.core.entry

Class net.jini.core.entry.UnusableEntryException implements Serializable

Serialized Fields

nestedExceptions

java.lang.Throwable[] nestedExceptions
The exception that caused the failure for the corresponding field named in unusableFields. If the entry was entirely unusable, nestedExceptions will be an array with the one exception that prevented its use.

partialEntry

Entry partialEntry
The partial entry. Fields that could not be deserialized will be null.

unusableFields

java.lang.String[] unusableFields
The names of the unusable fields. If the entry was entirely unusable, unusableFields will be null.


Package net.jini.core.event

Class net.jini.core.event.EventRegistration implements Serializable

Serialized Fields

eventID

long eventID
The event identifier.

lease

Lease lease
The registration lease.

seqNum

long seqNum
The current sequence number.

source

java.lang.Object source
The event source.

Class net.jini.core.event.RemoteEvent implements Serializable

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream stream)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Serialization support
Serialized Fields

eventID

long eventID
The event identifier.

handback

java.rmi.MarshalledObject handback
The handback object.

seqNum

long seqNum
The event sequence number.

source

java.lang.Object source
The event source.

Class net.jini.core.event.UnknownEventException implements Serializable


Package net.jini.core.lease

Class net.jini.core.lease.LeaseDeniedException implements Serializable

Class net.jini.core.lease.LeaseException implements Serializable

Class net.jini.core.lease.LeaseMapException implements Serializable

Serialized Fields

exceptionMap

java.util.Map exceptionMap
A Map from Lease to Exception, containing each lease that failed to renew or cancel, and the exception that resulted from that lease's renewal or cancel attempt.

Class net.jini.core.lease.UnknownLeaseException implements Serializable


Package net.jini.core.lookup

Class net.jini.core.lookup.ServiceEvent implements Serializable

Serialized Fields

serviceID

ServiceID serviceID
ServiceID of the item that triggered the event.

transition

int transition
One of ServiceRegistrar.TRANSITION_*MATCH_*MATCH

Class net.jini.core.lookup.ServiceID implements Serializable

Serialized Fields

leastSig

long leastSig
The least significant 64 bits.

mostSig

long mostSig
The most significant 64 bits.

Class net.jini.core.lookup.ServiceItem implements Serializable

Serialized Fields

attributeSets

Entry[] attributeSets
Attribute sets

service

java.lang.Object service
A service object

serviceID

ServiceID serviceID
A service ID, or null if registering for the first time

Class net.jini.core.lookup.ServiceMatches implements Serializable

Serialized Fields

items

ServiceItem[] items
Matching items (up to maxMatches from lookup method)

totalMatches

int totalMatches
Total number of matching items

Class net.jini.core.lookup.ServiceTemplate implements Serializable

Serialized Fields

attributeSetTemplates

Entry[] attributeSetTemplates
Attribute set templates to match, or null

serviceID

ServiceID serviceID
Service ID to match, or null

serviceTypes

java.lang.Class[] serviceTypes
Service types to match, or null


Package net.jini.core.transaction

Class net.jini.core.transaction.CannotAbortException implements Serializable

Class net.jini.core.transaction.CannotCommitException implements Serializable

Class net.jini.core.transaction.CannotJoinException implements Serializable

Class net.jini.core.transaction.CannotNestException implements Serializable

Class net.jini.core.transaction.NestableTransaction.Created implements Serializable

Serialized Fields

lease

Lease lease
The lease.

transaction

NestableTransaction transaction
The transaction.

Class net.jini.core.transaction.TimeoutExpiredException implements Serializable

Serialized Fields

committed

boolean committed
True if the transaction committed before the timeout.

Class net.jini.core.transaction.Transaction.Created implements Serializable

Serialized Fields

lease

Lease lease
The lease.

transaction

Transaction transaction
The transaction.

Class net.jini.core.transaction.TransactionException implements Serializable

Class net.jini.core.transaction.UnknownTransactionException implements Serializable


Package net.jini.core.transaction.server

Class net.jini.core.transaction.server.CrashCountException implements Serializable

Class net.jini.core.transaction.server.NestableServerTransaction implements Serializable

Serialized Fields

parent

NestableServerTransaction parent
The parent transaction, if any.

Class net.jini.core.transaction.server.ServerTransaction implements Serializable

Serialized Fields

id

long id
The transaction id.

mgr

TransactionManager mgr
The transaction manager.

Class net.jini.core.transaction.server.TransactionManager.Created implements Serializable

Serialized Fields

id

long id
The transaction id.

lease

Lease lease
The lease.


Package net.jini.discovery

Class net.jini.discovery.DiscoveryEvent implements Serializable

Serialized Fields

regs

ServiceRegistrar[] regs
The registrars with which this event is associated.

Class net.jini.discovery.DiscoveryPermission implements Serializable

Class net.jini.discovery.LookupUnmarshalException implements Serializable

Serialized Fields

exceptions

java.lang.Throwable[] exceptions
Array containing the set of exceptions that occurred during the unmarshalling process. Each element in this set should be an instance of IOException, ClassNotFoundException, or some unchecked exception. Furthermore, there should be a one-to-one correspondence between each element in this set and each element in the set of still-to-be-unmarshalled ServiceRegistrar instances. That is, the element of this set corresponding to index i should be an instance of the exception that occurred while attempting to unmarshal the element at index i of stillMarshalledRegs.

stillMarshalledRegs

java.rmi.MarshalledObject[] stillMarshalledRegs
Array containing the set of ServiceRegistrar instances that could not be unmarshalled. This set should contain at least one element.

unmarshalledRegs

ServiceRegistrar[] unmarshalledRegs
Array containing the set of instances of ServiceRegistrar that were successfully unmarshalled during the process in which at least one failure occurred.

Class net.jini.discovery.RemoteDiscoveryEvent implements Serializable

Serialized Fields

discarded

boolean discarded
Flag indicating whether the event is a discovery event or a discard event. If this variable is true, then the lookup services referenced by the event were just discovered; if false, then those lookup services were just discarded.

marshalledRegs

java.util.ArrayList marshalledRegs
Set consisting of marshalled proxy objects where each proxy implements the ServiceRegistrar interface, and each is a proxy of one of the recently discovered or discarded lookup service(s); the lookup service(s) to which the event is associated.

The proxies are marshalled in order to add an additional 'layer' of serialization. Doing so has the following benefit: if not all of the elements can be deserialized on the client side (or by a third party, if the client requests that events be sent to a third party such as a mailbox), then an IOException will be propagated by the readObject method, and all of the elements (even those that could be successfully deserialized) will be unavailable to the client.


regs

ServiceRegistrar[] regs
Array containing a subset of the proxy objects of the lookup service(s) to which this event is associated. The elements of this array correspond to those elements of the marshalledRegs array that were successfully un-marshalled (at least once) as a result of one or more invocations of the getRegistrars method of this class. The array returned in this event is empty, but of the same size as marshalledRegs, and will be populated when the recipient of this event retrieves the registrars corresponding to the elements of marshalledRegs.


Package net.jini.entry

Class net.jini.entry.AbstractEntry implements Serializable


Package net.jini.lease

Class net.jini.lease.ExpirationWarningEvent implements Serializable

Serialized Fields

lease

Lease lease
Lease which is about to expire

Class net.jini.lease.LeaseRenewalEvent implements Serializable

Serialized Fields

ex

java.lang.Exception ex
The exception that caused the failure, if any.

expiration

long expiration
The desired expiration of the failed lease.

lease

Lease lease
The failed lease.

Class net.jini.lease.RenewalFailureEvent implements Serializable

Serialized Fields

marshaledLease

java.rmi.MarshalledObject marshaledLease
Lease, in marshaled form, returned by getLease method.

throwable

java.lang.Throwable throwable
Throwable returned by getThrowable method.


Package net.jini.lookup

Class net.jini.lookup.ServiceDiscoveryEvent implements Serializable

Serialized Fields

postEventItem

ServiceItem postEventItem

preEventItem

ServiceItem preEventItem


Package net.jini.lookup.entry

Class net.jini.lookup.entry.Address implements Serializable

Serialized Fields

country

java.lang.String country
Country name.

locality

java.lang.String locality
City or locality name. For example, "Palo Alto".

organization

java.lang.String organization
Name of the company or organization that provides this service. For example, "Sun Microsystems".

organizationalUnit

java.lang.String organizationalUnit
The unit within the organization that provides this service. For example, "Information Services".

postalCode

java.lang.String postalCode
Postal code. For example, in the United States, this is a ZIP code; in Ireland, it might be either empty or a postal district of Dublin.

stateOrProvince

java.lang.String stateOrProvince
Full name or standard postal abbreviation of a state or province. For example, "CA" (for California).

street

java.lang.String street
Street address. For example, "901 San Antonio Road".

Class net.jini.lookup.entry.AddressBean implements Serializable

Serialized Fields

assoc

Address assoc
The Address object associated with this JavaBeans component.

Class net.jini.lookup.entry.Comment implements Serializable

Serialized Fields

comment

java.lang.String comment
The comment itself.

Class net.jini.lookup.entry.CommentBean implements Serializable

Serialized Fields

assoc

Comment assoc
The Entry object associated with this JavaBeans component.

Class net.jini.lookup.entry.Location implements Serializable

Serialized Fields

building

java.lang.String building
A building name or code. For example, "SUN04".

floor

java.lang.String floor
A floor designation. For example, "2".

room

java.lang.String room
A room or cube number. For example, "B250".

Class net.jini.lookup.entry.LocationBean implements Serializable

Serialized Fields

assoc

Location assoc
The Location object associated with this JavaBeans component.

Class net.jini.lookup.entry.Name implements Serializable

Serialized Fields

name

java.lang.String name
The name itself.

Class net.jini.lookup.entry.NameBean implements Serializable

Serialized Fields

assoc

Name assoc
The Name object associated with this JavaBeans component.

Class net.jini.lookup.entry.ServiceInfo implements Serializable

Serialized Fields

manufacturer

java.lang.String manufacturer
The name of the manufacturer or author of this service. For example, "Sun Microsystems".

model

java.lang.String model
The model name or number of this service, if any.

name

java.lang.String name
The name of the product or package of which this service is an instance. This field should not include the name of the manufacturer or vendor.

serialNumber

java.lang.String serialNumber
The serial number of this instance of the service, if any.

vendor

java.lang.String vendor
The name of the vendor of this service. This may have the same value as the manufacturer field, or it may be different.

version

java.lang.String version
The version of this service. This is a free-form field, but should follow accepted version-naming conventions to make visual identification easier.

Class net.jini.lookup.entry.ServiceInfoBean implements Serializable

Serialized Fields

assoc

ServiceInfo assoc
The ServiceInfo object associated with this JavaBeans component.

Class net.jini.lookup.entry.ServiceType implements Serializable

Class net.jini.lookup.entry.Status implements Serializable

Serialized Fields

severity

StatusType severity
The severity level of this status object.

Class net.jini.lookup.entry.StatusBean implements Serializable

Serialized Fields

assoc

Status assoc
The Status object associated with this JavaBeans component.

Class net.jini.lookup.entry.StatusType implements Serializable

Serialized Fields

type

int type


Package net.jini.space

Class net.jini.space.InternalSpaceException implements Serializable

Serialized Fields

nestedException

java.lang.Throwable nestedException
The exception (if any) that trigged the internal exception. This may be null.



Copyright © 1999 Sun Microsystems, Inc. All rights reserved