Serialized Form


Package com.sun.jini.discovery

Class com.sun.jini.discovery.DiscoveryProtocolException extends IOException implements Serializable

serialVersionUID: 5142921342798824511L

Class com.sun.jini.discovery.DiscoveryProtocolVersion extends Object implements Serializable

serialVersionUID: 1781016120938012150L

Serialization Methods

readObject

private void readObject(ObjectInputStream in)
                 throws IOException,
                        ClassNotFoundException
Throws:
IOException
ClassNotFoundException
Serialized Fields

version

int version
The protocol version number.

 

Class com.sun.jini.discovery.MulticastMaxPacketSize extends Object implements Serializable

serialVersionUID: 2277375127808559673L

Serialization Methods

readObject

private void readObject(ObjectInputStream in)
                 throws IOException,
                        ClassNotFoundException
Throws:
IOException
ClassNotFoundException
Serialized Fields

size

int size
The multicast packet size limit.

 

Class com.sun.jini.discovery.MulticastTimeToLive extends Object implements Serializable

serialVersionUID: 8899039913861829419L

Serialization Methods

readObject

private void readObject(ObjectInputStream in)
                 throws IOException,
                        ClassNotFoundException
Throws:
IOException
ClassNotFoundException
Serialized Fields

ttl

int ttl
The time to live value.

 

Class com.sun.jini.discovery.UnicastSocketTimeout extends Object implements Serializable

serialVersionUID: 6500477426762925657L

Serialization Methods

readObject

private void readObject(ObjectInputStream in)
                 throws IOException,
                        ClassNotFoundException
Throws:
IOException
ClassNotFoundException
Serialized Fields

timeout

int timeout
The socket timeout.

 

Package com.sun.jini.example.browser

Class com.sun.jini.example.browser.Browser extends JFrame implements Serializable

Class com.sun.jini.example.browser.Browser$Listener_Stub extends RemoteStub implements Serializable

serialVersionUID: 2L

Class com.sun.jini.example.browser.ServiceBrowser.UIDescriptorPopup extends JPopupMenu implements Serializable

Class com.sun.jini.example.browser.ServiceEditor.UIDescriptorPopup extends JPopupMenu implements Serializable

Class com.sun.jini.example.browser.ServiceEditor$NotifyReceiver_Stub extends RemoteStub implements Serializable

serialVersionUID: 2L


Package com.sun.jini.fiddler

Class com.sun.jini.fiddler.FiddlerImpl_Stub extends RemoteStub implements Serializable

serialVersionUID: 2L

Class com.sun.jini.fiddler.FiddlerPermission extends AccessPermission implements Serializable

serialVersionUID: 2L


Package com.sun.jini.landlord

Class com.sun.jini.landlord.ConstrainableLandlordLease extends LandlordLease implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(ObjectInputStream s)
                 throws IOException,
                        ClassNotFoundException
Throws:
IOException
ClassNotFoundException
Serialized Fields

methodConstraints

MethodConstraints methodConstraints
Client constraints placed on this proxy (may be null)

 

Class com.sun.jini.landlord.Landlord.RenewResults extends Object implements Serializable

serialVersionUID: 2L

Serialized Fields

granted

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

 
See Also:
Landlord.RenewResults.denied

denied

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

 

Class com.sun.jini.landlord.LandlordLease extends AbstractLease implements Serializable

serialVersionUID: 2L

Serialization Methods

readObject

private void readObject(ObjectInputStream in)
                 throws IOException,
                        ClassNotFoundException
Read this object back validating state.

Throws:
IOException
ClassNotFoundException

readObjectNoData

private void readObjectNoData()
                       throws InvalidObjectException
We should always have data in the stream, if this method gets called there is something wrong.

Throws:
InvalidObjectException
Serialized Fields

cookie

Uuid cookie
A universally unique ID that identifies the lease this object represents.

 

landlord

Landlord landlord
Owner of the resource associated with this lease.

 

landlordUuid

Uuid landlordUuid
The Uuid of the landlord. Used to determine if two leases can be batched together.

 

Class com.sun.jini.landlord.LandlordProxyVerifier extends Object implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(ObjectInputStream in)
                 throws IOException,
                        ClassNotFoundException
Verifies that the server reference implements TrustEquivalence.

Throws:
IOException
ClassNotFoundException
Serialized Fields

landlord

RemoteMethodControl landlord
The canonical instance of the server reference. This instance will be used by the isTrusted method as the known trusted object used to determine whether or not a given proxy is equivalent in trust, content, and function.

 

landlordUuid

Uuid landlordUuid
The Uuid associated landlord.

 

Package com.sun.jini.lease

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

serialVersionUID: -9067179156916102052L

Serialization Methods

readObject

private void readObject(ObjectInputStream stream)
                 throws IOException,
                        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).

Throws:
InvalidObjectException - if serialFormat is neither ABSOLUTE nor DURATION
IOException
ClassNotFoundException

writeObject

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

readObjectNoData

private void readObjectNoData()
                       throws InvalidObjectException
Throws an InvalidObjectException.

Throws:
InvalidObjectException - unconditionally
Serialized Fields

serialFormat

int serialFormat
Serialization format for the expiration.

 

Class com.sun.jini.lease.BasicRenewalFailureEvent extends RenewalFailureEvent implements Serializable

serialVersionUID: 4122133697986606684L

Serialization Methods

readObject

private void readObject(ObjectInputStream in)
                 throws IOException,
                        ClassNotFoundException
Throws:
IOException
ClassNotFoundException
Serialized Fields

marshalledThrowable

MarshalledInstance marshalledThrowable
Exception, in marshalled form, returned by getThrowable method. May be null.

 

marshalledLease

MarshalledInstance marshalledLease
Lease, in marshalled form, returned by getLease method.

 

Package com.sun.jini.lookup.entry

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

serialVersionUID: -9077088179092831351L

Serialized Fields

type

String type
The type of service.

 

Package com.sun.jini.mahalo

Class com.sun.jini.mahalo.JobException extends Exception implements Serializable

serialVersionUID: 4182966504752382657L

Class com.sun.jini.mahalo.JobNotStartedException extends com.sun.jini.mahalo.JobException implements Serializable

serialVersionUID: -454913962920091805L

Class com.sun.jini.mahalo.MahaloPermission extends AccessPermission implements Serializable

serialVersionUID: 1L

Class com.sun.jini.mahalo.PartialResultException extends com.sun.jini.mahalo.JobException implements Serializable

serialVersionUID: 7500111308448326412L

Class com.sun.jini.mahalo.ResultNotReadyException extends com.sun.jini.mahalo.JobException implements Serializable

serialVersionUID: 5079803403238096285L

Class com.sun.jini.mahalo.StorableObject extends Object implements Serializable

serialVersionUID: -3793675220968988873L

Serialized Fields

bytes

MarshalledObject bytes

Class com.sun.jini.mahalo.TxnManagerImpl_Stub extends RemoteStub implements Serializable

serialVersionUID: 2L

Class com.sun.jini.mahalo.UnknownTaskException extends com.sun.jini.mahalo.JobException implements Serializable

serialVersionUID: 180146961747276407L


Package com.sun.jini.mercury

Class com.sun.jini.mercury.InternalMailboxException extends RuntimeException implements Serializable

serialVersionUID: 1L

Serialized Fields

nestedException

Throwable nestedException
The exception (if any) that triggered the internal exception. This field may be null.

 

Class com.sun.jini.mercury.MailboxImpl_Stub extends RemoteStub implements Serializable

serialVersionUID: 2L

Class com.sun.jini.mercury.MercuryPermission extends AccessPermission implements Serializable

serialVersionUID: 1L


Package com.sun.jini.norm

Class com.sun.jini.norm.InternalNormException extends RuntimeException implements Serializable

serialVersionUID: 1L

Serialized Fields

nestedException

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

 

Class com.sun.jini.norm.NormPermission extends AccessPermission implements Serializable

serialVersionUID: 1L

Class com.sun.jini.norm.NormServerBaseImpl_Stub extends RemoteStub implements Serializable

serialVersionUID: 2L


Package com.sun.jini.outrigger

Class com.sun.jini.outrigger.OutriggerPermission extends AccessPermission implements Serializable

serialVersionUID: 1L

Class com.sun.jini.outrigger.OutriggerServerWrapper_Stub extends RemoteStub implements Serializable

serialVersionUID: 2L


Package com.sun.jini.phoenix

Class com.sun.jini.phoenix.AbstractActivator_Stub extends RemoteStub implements Serializable

serialVersionUID: 2L

Class com.sun.jini.phoenix.AbstractInstantiator_Stub extends RemoteStub implements Serializable

serialVersionUID: 2L

Class com.sun.jini.phoenix.AbstractMonitor_Stub extends RemoteStub implements Serializable

serialVersionUID: 2L

Class com.sun.jini.phoenix.AbstractRegistry_Stub extends RemoteStub implements Serializable

Class com.sun.jini.phoenix.AbstractSystem_Stub extends RemoteStub implements Serializable

serialVersionUID: 2L

Class com.sun.jini.phoenix.ActivationGroupData extends Object implements Serializable

serialVersionUID: 1135616886784731068L

Serialized Fields

config

String[] config
The configuration options.

 

Class com.sun.jini.phoenix.ActivationGroupImpl extends ActivationGroup implements Serializable

serialVersionUID: 5758693559430427303L

Serialization Methods

writeReplace

protected Object writeReplace()
Returns the proxy for this remote object. Group creation was designed to rely on automatic stub replacement (as provided by the JRMP runtime), which is not supported by all exporters.

Serialized Fields

Class com.sun.jini.phoenix.ActivatorPermission extends AccessPermission implements Serializable

serialVersionUID: 1133348041678833146L

Class com.sun.jini.phoenix.ExecOptionPermission extends Permission implements Serializable

serialVersionUID: 5842294756823092756L

Serialization Methods

readObject

private void readObject(ObjectInputStream s)
                 throws IOException,
                        ClassNotFoundException
Recreates any transient state.

Throws:
InvalidObjectException - if the target name is null
IOException
ClassNotFoundException

Class com.sun.jini.phoenix.ExecPermission extends Permission implements Serializable

serialVersionUID: -6208470287358147919L

Serialization Methods

readObject

private void readObject(ObjectInputStream s)
                 throws IOException,
                        ClassNotFoundException
Recreates any transient state.

Throws:
InvalidObjectException - if the target name is null
IOException
ClassNotFoundException

Class com.sun.jini.phoenix.InactiveGroupException extends ActivationException implements Serializable

serialVersionUID: -4596896675720356592L

Class com.sun.jini.phoenix.InstantiatorPermission extends AccessPermission implements Serializable

serialVersionUID: 6532912902541268520L

Class com.sun.jini.phoenix.MonitorPermission extends AccessPermission implements Serializable

serialVersionUID: 2475659022830374738L

Class com.sun.jini.phoenix.SystemPermission extends AccessPermission implements Serializable

serialVersionUID: -3058499612160420636L


Package com.sun.jini.proxy

Class com.sun.jini.proxy.BasicProxyTrustVerifier extends Object implements Serializable

serialVersionUID: 2L

Serialization Methods

readObject

private void readObject(ObjectInputStream in)
                 throws IOException,
                        ClassNotFoundException
Throws:
InvalidObjectException - if the proxy is not an instance of RemoteMethodControl and TrustEquivalence
IOException
ClassNotFoundException
Serialized Fields

proxy

RemoteMethodControl proxy
The trusted proxy.

 

Class com.sun.jini.proxy.MarshalledWrapper extends Object implements Serializable

serialVersionUID: 2L

Serialization Methods

readObject

private void readObject(ObjectInputStream in)
                 throws IOException,
                        ClassNotFoundException
Samples integrity protection setting (if any) of the stream from which this instance is being deserialized.

Throws:
IOException
ClassNotFoundException

readObjectNoData

private void readObjectNoData()
                       throws ObjectStreamException
Throws InvalidObjectException, since data for this class is required.

Throws:
ObjectStreamException
Serialized Fields

instance

MarshalledInstance instance
The wrapped MarshalledInstance.

 

Class com.sun.jini.proxy.ThrowThis extends Exception implements Serializable

serialVersionUID: 956456443698267251L

Serialized Fields

toThrow

RemoteException toThrow
Exception we want the proxy to throw

 

Package com.sun.jini.reggie

Class com.sun.jini.reggie.RegistrarImpl_Stub extends RemoteStub implements Serializable

serialVersionUID: 2L

Class com.sun.jini.reggie.RegistrarPermission extends AccessPermission implements Serializable

serialVersionUID: 2L


Package com.sun.jini.reliableLog

Class com.sun.jini.reliableLog.LogException extends IOException implements Serializable

serialVersionUID: 1870528169848832111L

Serialized Fields

detail

Throwable detail
 

Package com.sun.jini.resource

Class com.sun.jini.resource.ServiceConfigurationError extends Error implements Serializable

serialVersionUID: 5383327130135226968L


Package com.sun.jini.start

Class com.sun.jini.start.ActivateWrapper extends Object implements Serializable

Serialization Methods

writeReplace

private Object writeReplace()
                     throws ObjectStreamException
Return a reference to service being wrapped in place of this object.

Throws:
ObjectStreamException
Serialized Fields

impl

Object impl
The "wrapped" activatable object.

 

Class com.sun.jini.start.ActivateWrapper.ActivateDesc extends Object implements Serializable

serialVersionUID: 2L

Serialized Fields

className

String className
The activatable object's class name.

 

importLocation

URL[] importLocation
The codebase where the server classes are loaded from by the activation group.

 

exportLocation

URL[] exportLocation
The codebase where clients should load classes from for stubs, etc.

 

policy

String policy
The security policy filename or URL.

 

data

MarshalledObject data
The activatable object's initialization data.

 

Class com.sun.jini.start.NonActivatableServiceDescriptor extends Object implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(ObjectInputStream in)
                 throws IOException,
                        ClassNotFoundException
Reads the default serializable field values for this object and resets the tranisient fields to legal values. Also, verifies that the deserialized values are legal.

Throws:
IOException
ClassNotFoundException

readObjectNoData

private void readObjectNoData()
                       throws ObjectStreamException
Throws InvalidObjectException, since data for this class is required.

Throws:
ObjectStreamException
Serialized Fields

codebase

String codebase
String containing export codebase. That is, location where clients can download required service-related classes (for example, stubs, proxies, etc.).

policy

String policy
String containing server policy filename or URL

classpath

String classpath
String containing import codebase location. That is, location where server implementation classes can be found.

implClassName

String implClassName
String containing the name of server implementation class

serverConfigArgs

String[] serverConfigArgs
String[] containing server configuration arguments

Class com.sun.jini.start.SharedActivatableServiceDescriptor extends NonActivatableServiceDescriptor implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(ObjectInputStream in)
                 throws IOException,
                        ClassNotFoundException
Reads the default serializable field values for this object. Also, verifies that the deserialized values are legal.

Throws:
IOException
ClassNotFoundException

readObjectNoData

private void readObjectNoData()
                       throws ObjectStreamException
Throws InvalidObjectException, since data for this class is required.

Throws:
ObjectStreamException
Serialized Fields

sharedGroupLog

String sharedGroupLog
String representing the directory where the associated shared group identifier information is persisted

restart

boolean restart
boolean flag passed through as the restart parameter to the ActivationDesc constructor used to register the service with the activation system.

host

String host
String containing hostname of desired activation system.

port

int port
int representing port of desired activation system.

Class com.sun.jini.start.SharedActivationGroupDescriptor extends Object implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(ObjectInputStream in)
                 throws IOException,
                        ClassNotFoundException
Reads the default serializable field values for this object. Also, verifies that the deserialized values are legal.

Throws:
IOException
ClassNotFoundException

readObjectNoData

private void readObjectNoData()
                       throws ObjectStreamException
Throws InvalidObjectException, since data for this class is required.

Throws:
ObjectStreamException
Serialized Fields

policy

String policy
String representing VM policy filename or URL

classpath

String classpath
String representing the class path of the shared VM classes

log

String log
String representing the location where group identifier information will be persisted

serverCommand

String serverCommand
String representing the VM command to use

serverOptions

String[] serverOptions
String[] representing array of command line options to pass to the VM's command line

serverProperties

Properties serverProperties
Properties representing propperties to pass to the VM's command line

host

String host
String representing host name of the desired activation system

port

int port
int representing port of the desired activation system

Class com.sun.jini.start.SharedActivationPolicyPermission extends Permission implements Serializable

serialVersionUID: 1L

Serialized Fields

policyPermission

FilePermission policyPermission
FilePermission object that is the delegation target of the implies() checks.

 

Class com.sun.jini.start.SharedGroupImpl_Stub extends RemoteStub implements Serializable

serialVersionUID: 2L


Package com.sun.jini.thread

Class com.sun.jini.thread.ReadersWriter.ConcurrentLockException extends RuntimeException implements Serializable

serialVersionUID: 7027246653257040584L

Class com.sun.jini.thread.ThreadPoolPermission extends BasicPermission implements Serializable

serialVersionUID: -2515392803055387779L


Package net.jini.activation

Class net.jini.activation.ActivatableInvocationHandler extends Object implements Serializable

serialVersionUID: -428224070630550856L

Serialization Methods

readObject

private void readObject(ObjectInputStream s)
                 throws IOException,
                        ClassNotFoundException
Verifies that the activation identifier is not null, and that the constraints on this invocation handler and the underlying proxy are consistent.

Throws:
InvalidObjectException - if the activation identifier is null, or if the underlying proxy implements RemoteMethodControl and the constraints on the underlying proxy are not equivalent to this invocation handler's constraints
IOException
ClassNotFoundException
Serialized Fields

id

ActivationID id
The activation identifier.

 

uproxy

Remote uproxy
The underlying proxy or null.

 

clientConstraints

MethodConstraints clientConstraints
The client constraints or null.

 

Class net.jini.activation.ActivationGroup extends ActivationGroup implements Serializable


Package net.jini.config

Class net.jini.config.ConfigurationException extends Exception implements Serializable

serialVersionUID: -6556992318636509514L

Class net.jini.config.ConfigurationFile.ErrorDescriptor extends Object implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(ObjectInputStream in)
                 throws IOException,
                        ClassNotFoundException
Verifies that the deserialized field values for this error descriptor are valid.

Throws:
IOException
ClassNotFoundException

readObjectNoData

private void readObjectNoData()
                       throws ObjectStreamException
Throws InvalidObjectException, since a descriptor is always required.

Throws:
ObjectStreamException
Serialized Fields

lineno

int lineno
line number where this syntax error occurred

 

override

int override
override where this syntax error occurred

 

description

String description
textual description of the problem encountered

 

locationName

String locationName
configuration source location name

 

t

Throwable t
exception associated with this error

 

Class net.jini.config.ConfigurationNotFoundException extends ConfigurationException implements Serializable

serialVersionUID: -3084555497838803365L

Class net.jini.config.NoSuchEntryException extends ConfigurationException implements Serializable

serialVersionUID: 943820838185621405L


Package net.jini.constraint

Class net.jini.constraint.BasicMethodConstraints extends Object implements Serializable

serialVersionUID: 1432234194703790047L

Serialization Methods

readObject

private void readObject(ObjectInputStream s)
                 throws IOException,
                        ClassNotFoundException
Verifies legal descriptor ordering.

Throws:
InvalidObjectException - if any descriptor is null, or the descriptors array is empty, or if any descriptor is preceded by another descriptor that matches at least the same methods
IOException
ClassNotFoundException
Serialized Fields

descs

MethodDesc[] descs
The ordered method descriptors.

Class net.jini.constraint.BasicMethodConstraints.MethodDesc extends Object implements Serializable

serialVersionUID: 6773269226844208999L

Serialization Methods

readObject

private void readObject(ObjectInputStream s)
                 throws IOException,
                        ClassNotFoundException
Verifies that the method name, parameter types, and constraints are valid.

Throws:
InvalidObjectException - if types is non-null and name is either null or is not a syntactically valid method name; or if types is null and name is neither a syntactically valid method name, a syntactically valid method name with a '*' appended, nor a name constructed from some syntactically valid method name containing more than two characters by replacing the first character of that name with '*'; or if any element of types is null; or if constraints is non-null but empty
IOException
ClassNotFoundException
Serialized Fields

constraints

InvocationConstraints constraints
The non-empty constraints for the specified method or methods, or null if there are no constraints.

name

String name
The name of the method, with prefix or suffix '*' permitted if types is null, or null for a descriptor that matches all methods (in which case types must also be null).

types

Class[] types
The parameter types for the specified method, or null for wildcard parameter types.

Package net.jini.core.constraint

Class net.jini.core.constraint.ClientAuthentication extends Object implements Serializable

serialVersionUID: -6326974440670504555L

Serialization Methods

readResolve

private Object readResolve()
Canonicalize so that == can be used.

Serialized Fields

val

boolean val
true for YES, false for NO

 

Class net.jini.core.constraint.ClientMaxPrincipal extends Object implements Serializable

serialVersionUID: 8583596881949005395L

Serialization Methods

readObject

private void readObject(ObjectInputStream s)
                 throws IOException,
                        ClassNotFoundException
Verifies that there is at least one principal, that none of the principals is null, and that there are no duplicates.

Throws:
InvalidObjectException - if there are no principals, or any principal is null, or if there are duplicate principals
IOException
ClassNotFoundException
Serialized Fields

principals

Principal[] principals
The principals.

Class net.jini.core.constraint.ClientMaxPrincipalType extends Object implements Serializable

serialVersionUID: -2521616888337674811L

Serialization Methods

readObject

private void readObject(ObjectInputStream s)
                 throws IOException,
                        ClassNotFoundException
Verifies that there is at least one class, that none of the classes is null, primitive types, array types, or final classes that do not have Principal as a superinterface, and that no class is assignable to any other class.

Throws:
InvalidObjectException - if there are no classes, or any class is null, a primitive type, array type, or final class that does not have Principal as a superinterface, or if any class is assignable to any other class
IOException
ClassNotFoundException
Serialized Fields

classes

Class[] classes
The classes.

Class net.jini.core.constraint.ClientMinPrincipal extends Object implements Serializable

serialVersionUID: 1645837366147709569L

Serialization Methods

readObject

private void readObject(ObjectInputStream s)
                 throws IOException,
                        ClassNotFoundException
Verifies that there is at least one principal, that none of the principals is null, and that there are no duplicates.

Throws:
InvalidObjectException - if there are no principals, or any principal is null, or if there are duplicate principals
IOException
ClassNotFoundException
Serialized Fields

principals

Principal[] principals
The principals.

Class net.jini.core.constraint.ClientMinPrincipalType extends Object implements Serializable

serialVersionUID: 2389386543834321065L

Serialization Methods

readObject

private void readObject(ObjectInputStream s)
                 throws IOException,
                        ClassNotFoundException
Verifies that there is at least one class, that none of the classes is null, primitive types, array types, or final classes that do not have Principal as a superinterface, and that no class is assignable to any other class.

Throws:
InvalidObjectException - if there are no classes, or any class is null, a primitive type, array type, or final class that does not have Principal as a superinterface, or if any class is assignable to any other class
IOException
ClassNotFoundException
Serialized Fields

classes

Class[] classes
The classes.

Class net.jini.core.constraint.Confidentiality extends Object implements Serializable

serialVersionUID: 6173438948668674131L

Serialization Methods

readResolve

private Object readResolve()
Canonicalize so that == can be used.

Serialized Fields

val

boolean val
true for YES, false for NO

 

Class net.jini.core.constraint.ConnectionAbsoluteTime extends Object implements Serializable

serialVersionUID: 8039977689366799322L

Serialized Fields

time

long time
Deadline for connection establishment in milliseconds from midnight, January 1, 1970 UTC.

 

Class net.jini.core.constraint.ConnectionRelativeTime extends Object implements Serializable

serialVersionUID: 6854732178792183150L

Serialization Methods

readObject

private void readObject(ObjectInputStream s)
                 throws IOException,
                        ClassNotFoundException
Verifies that time is greater than or equal to zero.

Throws:
InvalidObjectException - if time is less than zero
IOException
ClassNotFoundException
Serialized Fields

time

long time
The maximum connection duration in milliseconds.

 

Class net.jini.core.constraint.ConstraintAlternatives extends Object implements Serializable

serialVersionUID: 7214615235302870613L

Serialization Methods

readObject

private void readObject(ObjectInputStream s)
                 throws IOException,
                        ClassNotFoundException
Verifies that there are at least two constraints, that none are null and none are instances of this class, and that there are no duplicates.

Throws:
InvalidObjectException - if there are less than two constraints, or any constraint is null or an instance of this class, or if there are duplicates
IOException
ClassNotFoundException
Serialized Fields

constraints

InvocationConstraint[] constraints
The alternative constraints.

Class net.jini.core.constraint.Delegation extends Object implements Serializable

serialVersionUID: -8636854709107393245L

Serialization Methods

readResolve

private Object readResolve()
Canonicalize so that == can be used.

Serialized Fields

val

boolean val
true for YES, false for NO

 

Class net.jini.core.constraint.DelegationAbsoluteTime extends Object implements Serializable

serialVersionUID: -2807470616717350051L

Serialization Methods

readObject

private void readObject(ObjectInputStream s)
                 throws IOException,
                        ClassNotFoundException
Verifies that minStart is less than or equal to maxStart, maxStart is less than or equal to minStop, and minStop is less than or equal to maxStop.

Throws:
InvalidObjectException - if minStart is greater than maxStart, or maxStart is greater than minStop, or minStop is greater than maxStop
IOException
ClassNotFoundException
Serialized Fields

minStart

long minStart
The minimum start time in milliseconds from midnight, January 1, 1970 UTC.

 

maxStart

long maxStart
The maximum start time in milliseconds from midnight, January 1, 1970 UTC.

 

minStop

long minStop
The minimum stop time in milliseconds from midnight, January 1, 1970 UTC.

 

maxStop

long maxStop
The maximum stop time in milliseconds from midnight, January 1, 1970 UTC.

 

Class net.jini.core.constraint.DelegationRelativeTime extends Object implements Serializable

serialVersionUID: 7148935984332761810L

Serialization Methods

readObject

private void readObject(ObjectInputStream s)
                 throws IOException,
                        ClassNotFoundException
Verifies that minStart is less than or equal to maxStart, maxStart is less than or equal to minStop, minStop is less than or equal to maxStop, and minStop is greater than or equal to zero.

Throws:
InvalidObjectException - if minStart is greater than maxStart, or maxStart is greater than minStop, or minStop is greater than maxStop, or minStop is less than zero
IOException
ClassNotFoundException
Serialized Fields

minStart

long minStart
The minimum start duration in milliseconds.

 

maxStart

long maxStart
The maximum start duration in milliseconds.

 

minStop

long minStop
The minimum stop duration in milliseconds.

 

maxStop

long maxStop
The maximum stop duration in milliseconds.

 

Class net.jini.core.constraint.Integrity extends Object implements Serializable

serialVersionUID: 418483423937969897L

Serialization Methods

readResolve

private Object readResolve()
Canonicalize so that == can be used.

Serialized Fields

val

boolean val
true for YES, false for NO

 

Class net.jini.core.constraint.InvocationConstraints extends Object implements Serializable

serialVersionUID: -3363161199079334224L

Serialization Methods

readObject

private void readObject(ObjectInputStream s)
                 throws IOException,
                        ClassNotFoundException
Verifies that there are no null elements and no duplicates.

Throws:
InvalidObjectException - if the requirements or preferences arrays are null, or any element is null, or if there are duplicate requirements, duplicate preferences, or preferences that are duplicates of requirements
IOException
ClassNotFoundException
Serialized Fields

prefs

InvocationConstraint[] prefs
The preferences.

reqs

InvocationConstraint[] reqs
The requirements.

Class net.jini.core.constraint.ServerAuthentication extends Object implements Serializable

serialVersionUID: 2837982503744131014L

Serialization Methods

readResolve

private Object readResolve()
Canonicalize so that == can be used.

Serialized Fields

val

boolean val
true for YES, false for NO

 

Class net.jini.core.constraint.ServerMinPrincipal extends Object implements Serializable

serialVersionUID: 6082629466615675811L

Serialization Methods

readObject

private void readObject(ObjectInputStream s)
                 throws IOException,
                        ClassNotFoundException
Verifies that there is at least one principal, that none of the principals is null, and that there are no duplicates.

Throws:
InvalidObjectException - if there are no principals, or any principal is null, or if there are duplicate principals
IOException
ClassNotFoundException
Serialized Fields

principals

Principal[] principals
The principals.

Package net.jini.core.discovery

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

serialVersionUID: 1448769379829432795L

Serialized Fields

host

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.

 

sf

SocketFactory sf
The socket factory that this LookupLocator uses to create Socket objects.

 

Package net.jini.core.entry

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

serialVersionUID: -2199083666668626172L

Serialization Methods

readObject

private void readObject(ObjectInputStream in)
                 throws IOException,
                        ClassNotFoundException
Throws:
InvalidObjectException - if:
  • partialEntry is null and unusableFields is not null or nestedExceptions does not have exactly one element,
  • if partialEntry is non-null and unusableFields and nestedExceptions are not the same length,
  • if partialEntry is non-null and unusableFields is null or any element of unusableFields is null, or
  • if nestedExceptions or any element of nestedExceptions is null
IOException
ClassNotFoundException

readObjectNoData

private void readObjectNoData()
                       throws InvalidObjectException
Throws:
InvalidObjectException - if called
Serialized Fields

partialEntry

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

 

unusableFields

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

 

nestedExceptions

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.

 

Package net.jini.core.event

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

serialVersionUID: 4055207527458053347L

Serialized Fields

eventID

long eventID
The event identifier.

 

source

Object source
The event source.

 

lease

Lease lease
The registration lease.

 

seqNum

long seqNum
The current sequence number.

 

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

serialVersionUID: 1777278867291906446L

Serialization Methods

readObject

private void readObject(ObjectInputStream stream)
                 throws IOException,
                        ClassNotFoundException
Serialization support

Throws:
IOException
ClassNotFoundException
Serialized Fields

source

Object source
The event source.

 

eventID

long eventID
The event identifier.

 

seqNum

long seqNum
The event sequence number.

 

handback

MarshalledObject handback
The handback object.

 

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

serialVersionUID: 5563758083292687048L


Package net.jini.core.lease

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

serialVersionUID: 5704943735577343495L

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

serialVersionUID: -7902272546257490469L

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

serialVersionUID: -4854893779678486122L

Serialization Methods

readObject

private void readObject(ObjectInputStream in)
                 throws IOException,
                        ClassNotFoundException
Throws:
InvalidObjectException - if exceptionMap is null, contains any key which is not an instance of Lease, or contains any value which in not an instance of Throwable
IOException
ClassNotFoundException

readObjectNoData

private void readObjectNoData()
                       throws InvalidObjectException
Throws:
InvalidObjectException - if called
Serialized Fields

exceptionMap

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 extends LeaseException implements Serializable

serialVersionUID: -2921099330511429288L


Package net.jini.core.lookup

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

serialVersionUID: 1304997274096842701L

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 extends Object implements Serializable

serialVersionUID: -7803375959559762239L

Serialized Fields

mostSig

long mostSig
The most significant 64 bits.

 

leastSig

long leastSig
The least significant 64 bits.

 

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

serialVersionUID: 717395451032330758L

Serialized Fields

serviceID

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

 

service

Object service
A service object.

 

attributeSets

Entry[] attributeSets
Attribute sets.

 

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

serialVersionUID: -5518280843537399398L

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 extends Object implements Serializable

serialVersionUID: 7854483807886483216L

Serialized Fields

serviceID

ServiceID serviceID
Service ID to match, or null.

 

serviceTypes

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

 

attributeSetTemplates

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

 

Package net.jini.core.transaction

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

serialVersionUID: 3597101646737510009L

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

serialVersionUID: -4497341152359563957L

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

serialVersionUID: 5568393043937204939L

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

serialVersionUID: 3409604500491735434L

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

serialVersionUID: -2979247545926318953L

Serialized Fields

transaction

NestableTransaction transaction
The transaction.

 

lease

Lease lease
The lease.

 

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

serialVersionUID: 3918773760682958000L

Serialized Fields

committed

boolean committed
True if the transaction committed before the timeout.

 

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

serialVersionUID: -5199291723008952986L

Serialized Fields

transaction

Transaction transaction
The transaction.

 

lease

Lease lease
The lease.

 

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

serialVersionUID: -5009935764793203986L

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

serialVersionUID: 443798629936327009L


Package net.jini.core.transaction.server

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

serialVersionUID: 4299226125245015671L

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

serialVersionUID: -3438419132543972925L

Serialized Fields

parent

NestableServerTransaction parent
The parent transaction, if any.

 

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

serialVersionUID: 4552277137549765374L

Serialized Fields

mgr

TransactionManager mgr
The transaction manager.

 

id

long id
The transaction id.

 

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

serialVersionUID: -4233846033773471113L

Serialized Fields

id

long id
The transaction ID.

 

lease

Lease lease
The lease.

 

Package net.jini.discovery

Class net.jini.discovery.ConstrainableLookupLocator extends LookupLocator implements Serializable

serialVersionUID: 7061417093114347317L

Serialized Fields

constraints

MethodConstraints constraints
The client-side method constraints for unicast discovery.

 

Class net.jini.discovery.DiscoveryEvent extends EventObject implements Serializable

serialVersionUID: 5280303374696501479L

Serialized Fields

regs

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

 

groups

Map groups
Map from the registrars of this event to the groups in which each is a member.

 

Class net.jini.discovery.DiscoveryPermission extends Permission implements Serializable

serialVersionUID: -3036978025008149170L

Class net.jini.discovery.LookupUnmarshalException extends Exception implements Serializable

serialVersionUID: 2956893184719950537L

Serialization Methods

readObject

private void readObject(ObjectInputStream s)
                 throws IOException,
                        ClassNotFoundException
When an instance of this class is deserialized, this method is automatically invoked. This implementation of this method validates the state of the deserialized instance.

Throws:
InvalidObjectException - if the state of the deserialized instance of this class is found to be invalid.
IOException
ClassNotFoundException
Serialized Fields

registrars

ServiceRegistrar[] registrars
Array containing the set of instances of ServiceRegistrar that were successfully unmarshalled during the process in which at least one failure occurred. This set may be null or have zero length.

 

marshalledRegistrars

MarshalledObject[] marshalledRegistrars
Array containing the set of ServiceRegistrar instances that could not be unmarshalled. This set should not be null and should contain at least one element.

 

exceptions

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 marshalledRegistrars. This set should not be null and should contain at least one element.

 

Class net.jini.discovery.RemoteDiscoveryEvent extends RemoteEvent implements Serializable

serialVersionUID: -9171289945014585248L

Serialization Methods

readObject

private void readObject(ObjectInputStream s)
                 throws IOException,
                        ClassNotFoundException
When an instance of this class is deserialized, this method is automatically invoked. This implementation of this method validates the state of the deserialized instance, and additionally determines whether or not codebase integrity verification was performed when unmarshalling occurred.

Throws:
InvalidObjectException - if the state of the deserialized instance of this class is found to be invalid.
IOException
ClassNotFoundException
Serialized Fields

discarded

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

 

marshalledRegs

ArrayList marshalledRegs
List 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) with which this event is associated.

Each proxy in this list is individually marshalled in order to add an additional 'layer' of serialization. Placing this serialization "wrapper" around each element prevents the deserialization mechanism from attempting to deserialize the individual elements in the list. That is, the deserialization mechanism will only deserialize the list itself. After the list itself is successfully deserialized, the client (or a third party, if the client requested that events be sent to a third party such as a mailbox), can then attempt to unmarshal each element separately. This allows each success to be captured, and each failure to be noted.

If the elements of this list were not each marshalled separately, then upon encountering failure while attempting to deserialize any one element of the list, the deserialization mechanism's readObject method will throw an IOException; resulting in the loss of all of the elements of the list, even those that could be successfully deserialized.

 

regs

ServiceRegistrar[] regs
Array containing a subset of the set of proxies to the lookup service(s) with which this event is associated. The elements of this array correspond to those elements of the marshalledRegs array that were successfully unmarshalled (at least once) as a result of one or more invocations of the getRegistrars method of this event. Upon deserializing this event, this array 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.

 

groups

Map groups
Map from the service IDs of the registrars of this event to the groups in which each registrar is a member.

 

Package net.jini.entry

Class net.jini.entry.AbstractEntry extends Object implements Serializable

serialVersionUID: 5071868345060424804L

Class net.jini.entry.UnusableEntriesException extends Exception implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(ObjectInputStream in)
                 throws IOException,
                        ClassNotFoundException
Throws:
InvalidObjectException - if the entries field is null, or contains an element which is not an Entry. Also throws an InvalidObjectException if the exceptions field is null, empty, or contains an element which is not an UnusableEntryException
IOException
ClassNotFoundException

readObjectNoData

private void readObjectNoData()
                       throws InvalidObjectException
Throws:
InvalidObjectException - if called
Serialized Fields

entries

Collection entries
The entries that could be unmarshalled

 

exceptions

Collection exceptions
Exceptions detailing why certain entries could not be unmarshalled.

 

Package net.jini.event

Class net.jini.event.InvalidIteratorException extends Exception implements Serializable

serialVersionUID: 1L


Package net.jini.export

Class net.jini.export.ExportPermission extends BasicPermission implements Serializable

serialVersionUID: 9221509074492981772L


Package net.jini.id

Class net.jini.id.Uuid extends Object implements Serializable

serialVersionUID: -106268922535833151L

Serialization Methods

readObject

private void readObject(ObjectInputStream in)
                 throws IOException,
                        ClassNotFoundException
Throws:
InvalidObjectException - if the class of this object implements Externalizable
IOException
ClassNotFoundException

readResolve

protected final Object readResolve()
Returns this object. This method prevents a subclass from declaring a readResolve method with an alternate implementation.


writeReplace

protected final Object writeReplace()
Returns this object. This method prevents a subclass from declaring a writeReplace method with an alternate implementation.


readObjectNoData

private void readObjectNoData()
                       throws InvalidObjectException
Throws:
InvalidObjectException - unconditionally
Serialized Fields

bits0

long bits0
The most significant 64 bits of the 128-bit value.

 

bits1

long bits1
The least significant 64 bits of the 128-bit value.

 

Package net.jini.io

Class net.jini.io.MarshalledInstance extends Object implements Serializable

serialVersionUID: -5187033771082433496L

Serialization Methods

readObject

private void readObject(ObjectInputStream in)
                 throws IOException,
                        ClassNotFoundException
Verify the case of null contained object.

Throws:
IOException
ClassNotFoundException

readObjectNoData

private void readObjectNoData()
                       throws ObjectStreamException
Protect against missing superclass.

Throws:
ObjectStreamException
Serialized Fields

objBytes

byte[] objBytes
Bytes of serialized representation. If objBytes is null then the object marshalled was a null reference.

locBytes

byte[] locBytes
Bytes of location annotations, which are ignored by equals. If locBytes is null, there were no non-null annotations during marshalling.

hash

int hash
Stored hash code of contained object.
See Also:
MarshalledInstance.hashCode()

Class net.jini.io.UnsupportedConstraintException extends IOException implements Serializable

serialVersionUID: -5220259094045769772L


Package net.jini.io.context

Class net.jini.io.context.ContextPermission extends AccessPermission implements Serializable

serialVersionUID: 1396656176817498282L


Package net.jini.jeri

Class net.jini.jeri.BasicInvocationHandler extends Object implements Serializable

serialVersionUID: -783920361025791412L

Serialization Methods

readObject

private void readObject(ObjectInputStream in)
                 throws IOException,
                        ClassNotFoundException
Throws:
InvalidObjectException - if the object endpoint is null
IOException
ClassNotFoundException

readObjectNoData

private void readObjectNoData()
                       throws InvalidObjectException
Throws:
InvalidObjectException - unconditionally
Serialized Fields

oe

ObjectEndpoint oe
The object endpoint for communicating with the remote object.

 

clientConstraints

MethodConstraints clientConstraints
The client constraints, or null.

 

serverConstraints

MethodConstraints serverConstraints
The server constraints, or null.

 

Class net.jini.jeri.BasicObjectEndpoint extends Object implements Serializable

serialVersionUID: 3235008605817758127L

Serialization Methods

readObject

private void readObject(ObjectInputStream in)
                 throws IOException,
                        ClassNotFoundException
If this BasicObjectEndpoint participates in DGC, initiates asynchronous DGC activity for it.

Throws:
InvalidObjectException - if the Endpoint or the object identifier is null
IOException
ClassNotFoundException

writeObject

private void writeObject(ObjectOutputStream out)
                  throws IOException
If this BasicObjectEndpoint participates in DGC and if out is an instance of ObjectStreamContext and its context collection contains an AcknowledgmentSource, ensures that an AcknowledgmentSource.Listener is registered (with the AcknowledgmentSource) that will hold a strong reference to this BasicObjectEndpoint until the listener's acknowledgmentReceived method is invoked (or some other implementation-specific event occurs, such as a timeout expiration).

Throws:
IOException
Serialized Fields

ep

Endpoint ep
The endpoint to send remote call requests to.

 

id

Uuid id
The object identifier for the remote object.

 

dgc

boolean dgc
Flag indicating whether or not this BasicObjectEndpoint participates in DGC.

 

Package net.jini.jeri.http

Class net.jini.jeri.http.HttpEndpoint extends Object implements Serializable

serialVersionUID: -7094180943307123931L

Serialization Methods

readObject

private void readObject(ObjectInputStream in)
                 throws IOException,
                        ClassNotFoundException
Throws:
InvalidObjectException - if the host name is null or if the port number is out of the range 1 to 65535 (inclusive)
IOException
ClassNotFoundException

readResolve

private Object readResolve()
Serialized Fields

host

String host
The host that this HttpEndpoint connects to.

 

port

int port
The TCP port that this HttpEndpoint connects to.

 

sf

SocketFactory sf
The socket factory that this HttpEndpoint uses to create Socket objects.

 

Package net.jini.jeri.kerberos

Class net.jini.jeri.kerberos.KerberosEndpoint extends Object implements Serializable

serialVersionUID: -880347439811805543L

Serialization Methods

readObject

private void readObject(ObjectInputStream ois)
                 throws IOException,
                        ClassNotFoundException
Read in a serialized instance and check that the deserialized instance has the right fields.

Throws:
IOException
ClassNotFoundException

readResolve

private Object readResolve()
Resolves deserialized instance to equivalent canonical instance.

Serialized Fields

serverHost

String serverHost
Name or ip address of the server host.

 

serverPort

int serverPort
Port that the server is listening on for incoming connection requests.

 

serverPrincipal

KerberosPrincipal serverPrincipal
Principal of which the server is capable of authenticating as.

 

csf

SocketFactory csf
The socket factory that this KerberosEndpoint uses to create java.net.Socket objects.

 

Package net.jini.jeri.ssl

Class net.jini.jeri.ssl.ConfidentialityStrength extends Object implements Serializable

serialVersionUID: -5413316999614306469L

Serialization Methods

readResolve

private Object readResolve()
Canonicalize so that == can be used.

Serialized Fields

value

boolean value
true for STRONG, false for WEAK

 

Class net.jini.jeri.ssl.HttpsEndpoint extends Object implements Serializable

serialVersionUID: -3438786823613900804L

Serialization Methods

readObject

private void readObject(ObjectInputStream in)
                 throws IOException,
                        ClassNotFoundException
Reads the serverHost, port, and socketFactory fields, checks that serverHost is not null and port is in range, and sets transient fields.

Throws:
InvalidObjectException - if serverHost is null or port is out of range
IOException
ClassNotFoundException

writeObject

private void writeObject(ObjectOutputStream out)
                  throws IOException
Writes the serverHost, port, and socketFactory fields.

Throws:
IOException
Serialized Fields

port

int port
The server port.

serverHost

String serverHost
The name of the server host.

socketFactory

SocketFactory socketFactory
The socket factory for creating sockets, or null to use default sockets.

Class net.jini.jeri.ssl.SslEndpoint extends Object implements Serializable

serialVersionUID: 5311538504705775156L

Serialization Methods

readObject

private void readObject(ObjectInputStream in)
                 throws IOException,
                        ClassNotFoundException
Reads the serverHost, port, and socketFactory fields, checks that serverHost is not null and port is in range, and sets transient fields.

Throws:
InvalidObjectException - if serverHost is null or port is out of range
IOException
ClassNotFoundException

writeObject

private void writeObject(ObjectOutputStream out)
                  throws IOException
Writes the serverHost, port, and socketFactory fields.

Throws:
IOException
Serialized Fields

port

int port
The server port.

serverHost

String serverHost
The name of the server host.

socketFactory

SocketFactory socketFactory
The socket factory for creating sockets, or null to use default sockets.

Package net.jini.jeri.tcp

Class net.jini.jeri.tcp.TcpEndpoint extends Object implements Serializable

serialVersionUID: -2840731722681368933L

Serialization Methods

readObject

private void readObject(ObjectInputStream in)
                 throws IOException,
                        ClassNotFoundException
Throws:
InvalidObjectException - if the host name is null or if the port number is out of the range 1 to 65535 (inclusive)
IOException
ClassNotFoundException

readResolve

private Object readResolve()
Serialized Fields

host

String host
The host that this TcpEndpoint connects to.

 

port

int port
The TCP port that this TcpEndpoint connects to.

 

sf

SocketFactory sf
The socket factory that this TcpEndpoint uses to create Socket objects.

 

Package net.jini.lease

Class net.jini.lease.ExpirationWarningEvent extends RemoteEvent implements Serializable

serialVersionUID: -2020487536756927350L

Class net.jini.lease.LeaseRenewalEvent extends EventObject implements Serializable

serialVersionUID: -626399341646348302L

Serialized Fields

lease

Lease lease
The failed lease.

 

expiration

long expiration
The desired expiration of the failed lease.

 

ex

Throwable ex
The exception that caused the failure, if any.

 

Class net.jini.lease.LeaseUnmarshalException extends Exception implements Serializable

serialVersionUID: -6736107321698417489L

Serialized Fields

unmarshalledLeases

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

 

stillMarshalledLeases

MarshalledObject[] stillMarshalledLeases
Array containing the set of Lease instances that could not be unmarshalled. This set should contain at least one element.

 

exceptions

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 Lease 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 stillMarshalledLeases.

 

Class net.jini.lease.RenewalFailureEvent extends RemoteEvent implements Serializable

serialVersionUID: 8891457049195932943L


Package net.jini.loader

Class net.jini.loader.DownloadPermission extends BasicPermission implements Serializable

serialVersionUID: 4658906595080241355L


Package net.jini.lookup

Class net.jini.lookup.ServiceDiscoveryEvent extends EventObject implements Serializable

serialVersionUID: -4654412297235019084L

Serialized Fields

preEventItem

ServiceItem preEventItem
Represents the state of the service prior to the event.

 

postEventItem

ServiceItem postEventItem
Represents the state of the service after the event.

 

Class net.jini.lookup.ServiceDiscoveryManager$LookupCacheImpl$LookupListener_Stub extends RemoteStub implements Serializable

serialVersionUID: 2L


Package net.jini.lookup.entry

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

serialVersionUID: 2896136903322046578L

Serialized Fields

street

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

 

organization

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

 

organizationalUnit

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

 

locality

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

 

stateOrProvince

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

 

postalCode

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.

 

country

String country
Country name.

 

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

serialVersionUID: 4491500432084550577L

Serialized Fields

assoc

Address assoc
The Address object associated with this JavaBeans component.

 

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

serialVersionUID: 7138608904371928208L

Serialized Fields

comment

String comment
The comment itself.

 

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

serialVersionUID: 5272583409036504625L

Serialized Fields

assoc

Comment assoc
The Entry object associated with this JavaBeans component.

 

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

serialVersionUID: -3275276677967431315L

Serialized Fields

floor

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

 

room

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

 

building

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

 

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

serialVersionUID: -4182591284470292829L

Serialized Fields

assoc

Location assoc
The Location object associated with this JavaBeans component.

 

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

serialVersionUID: 2743215148071307201L

Serialized Fields

name

String name
The name itself.

 

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

serialVersionUID: -6026791845102735793L

Serialized Fields

assoc

Name assoc
The Name object associated with this JavaBeans component.

 

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

serialVersionUID: -1116664185758541509L

Serialized Fields

name

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.

 

manufacturer

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

 

vendor

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

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.

 

model

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

 

serialNumber

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

 

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

serialVersionUID: 8352546663361067804L

Serialized Fields

assoc

ServiceInfo assoc
The ServiceInfo object associated with this JavaBeans component.

 

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

serialVersionUID: -6443809721367395836L

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

serialVersionUID: -5193075846115040838L

Serialized Fields

severity

StatusType severity
The severity level of this status object.

 

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

serialVersionUID: -1975539395914887503L

Serialized Fields

assoc

Status assoc
The Status object associated with this JavaBeans component.

 

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

serialVersionUID: -8268735508512712203L

Serialization Methods

readResolve

private Object readResolve()
Canonicalize so that == can be used.

Serialized Fields

type

int type
 

Class net.jini.lookup.entry.UIDescriptor extends AbstractEntry implements Serializable

serialVersionUID: -4862086482826820670L

Serialized Fields

role

String role
Gives the fully qualified name of the interface that represents the role of the UI generated by the marshalled UI factory. If the client program unmarshals the UI factory and invokes a factory method, the UI returned by the factory method must implement the role the interface specified by role.

For a client program to be able to use a UI, the client has to have prior knowledge of the UI semantics, which is defined by the UI's role type. Thus, for a client to be able to use a UI, the client must understand the semantics of the type whose fully qualified name is given in the String referenced from the role field of that UI's UIDescriptor.

For example, two role types that are defined in the net.jini.lookup.ui package by the Jini Service UI Specification are MainUI, for a main UI to a Jini service, and AdminUI, for an administration UI. Other role types may be defined by the Jini Service UI Specification and by individual Jini service API specifications.

As the strings referenced from the role field are Java type names, they are intended to be manipulated by client programs only. They should not be shown to a user.


toolkit

String toolkit
A String to facilitate searching whose value represents the main UI toolkit (for example Swing or AWT) which the produced UI makes use of. The value to which this field should be set is defined by the semantics of the factory type. (This field is intended to facilitate searches. For example, a client can search for all blender services that have Swing MainUI's.)


attributes

Set attributes
A set of objects that describe the UI generated by the marshalled UI factory.


factory

MarshalledObject factory
The get() method of this MarshalledObject must return an object that implements one or more UI factory interfaces. The actual UI factory type or types implemented by the returned object must be described by a UIFactoryTypes attribute placed in the attributes set of this UIDescriptor.

Class net.jini.lookup.entry.UIDescriptorBean extends Object implements Serializable

serialVersionUID: -3185268510626360709L

Serialized Fields

assoc

UIDescriptor assoc
The UIDescriptor object associated with this JavaBeans component.

Package net.jini.security

Class net.jini.security.AccessPermission extends Permission implements Serializable

serialVersionUID: 7269818741475881138L

Serialization Methods

readObject

private void readObject(ObjectInputStream s)
                 throws IOException,
                        ClassNotFoundException
Verifies the syntax of the target name and recreates any transient state.

Throws:
InvalidObjectException - if the target name is null, or if the target name does not match the syntax specified in the comments at the beginning of this class
IOException
ClassNotFoundException

Class net.jini.security.AuthenticationPermission extends Permission implements Serializable

serialVersionUID: -4733723479228998183L

Serialization Methods

readObject

private void readObject(ObjectInputStream s)
                 throws IOException,
                        ClassNotFoundException
Verifies the syntax of the target name and recreates any transient state.

Throws:
InvalidObjectException - if the target name or actions string is null, or if the target name or actions string does not match the syntax specified in the comments at the beginning of this class
IOException
ClassNotFoundException
Serialized Fields

actions

String actions
The actions.

 

Class net.jini.security.AuthenticationPermission.AuthenticationPermissionCollection extends PermissionCollection implements Serializable

serialVersionUID: -2967578431368213049L

Serialization Methods

readObject

private void readObject(ObjectInputStream s)
                 throws IOException,
                        ClassNotFoundException
Verifies the permissions list.

Throws:
InvalidObjectException - if the list is null or any element is not an instance of AuthenticationPermission
IOException
ClassNotFoundException

writeObject

private void writeObject(ObjectOutputStream s)
                  throws IOException
Writes the state to the stream.

Throws:
IOException
Serialized Fields

permissions

List permissions
The permissions.

Class net.jini.security.BasicProxyPreparer extends Object implements Serializable

serialVersionUID: 4439691869768577046L

Serialization Methods

readObject

private void readObject(ObjectInputStream s)
                 throws IOException,
                        ClassNotFoundException
Verifies that fields have legal values.

Throws:
InvalidObjectException - if methodConstraintsSpecified is false and methodConstraints is not null, if permissions is null, or if permissions is not null and any of its elements are null
IOException - if an I/O error occurs
ClassNotFoundException - if the class of a serialized object could not be found

readObjectNoData

private void readObjectNoData()
                       throws InvalidObjectException
Throws an exception to insure that data was supplied in order to set the permissions field to an empty array.

Throws:
InvalidObjectException - whenever this method is called
Serialized Fields

methodConstraints

MethodConstraints methodConstraints
Method constraints to use when verifying if proxies are trusted and for setting their constraints, if methodConstraintsSpecified is true. Set to null if methodConstraintsSpecified is false.

methodConstraintsSpecified

boolean methodConstraintsSpecified
Whether to use methodConstraints when verifying if proxies are trusted and for setting their constraints.

permissions

Permission[] permissions
Permissions to grant to proxies, or an empty array if no permissions should be granted. The value is always non-null.

verify

boolean verify
Whether to verify if proxies are trusted.

Class net.jini.security.GrantPermission extends Permission implements Serializable

serialVersionUID: 4668259055340724280L

Serialization Methods

readObject

private void readObject(ObjectInputStream in)
                 throws IOException,
                        ClassNotFoundException
Reconstitutes contained permissions based on the information in the target name.

Throws:
InvalidObjectException - if the target name is null or does not conform to the syntax specified in the documentation for GrantPermission
IOException
ClassNotFoundException

writeObject

private void writeObject(ObjectOutputStream out)
                  throws IOException
Writes target name representing contained permissions.

Throws:
NotSerializableException - if the GrantPermission was constructed explicitly with java.security.UnresolvedPermissions
IOException

Class net.jini.security.GrantPermission.GrantPermissionCollection extends PermissionCollection implements Serializable

serialVersionUID: 8227621799817733985L

Serialization Methods

readObject

private void readObject(ObjectInputStream s)
                 throws IOException,
                        ClassNotFoundException
Verifies the permissions list.

Throws:
InvalidObjectException - if the list is null or any element is not an instance of GrantPermission
IOException
ClassNotFoundException

writeObject

private void writeObject(ObjectOutputStream s)
                  throws IOException
Writes the permissions list.

Throws:
IOException
Serialized Fields

perms

List perms
The permissions.

Package net.jini.security.policy

Class net.jini.security.policy.PolicyInitializationException extends Exception implements Serializable

serialVersionUID: -7466794219271489139L

Class net.jini.security.policy.UmbrellaGrantPermission extends Permission implements Serializable

serialVersionUID: -969939904144051917L


Package net.jini.security.proxytrust

Class net.jini.security.proxytrust.ProxyTrustInvocationHandler extends Object implements Serializable

serialVersionUID: -3270029468290295063L

Serialization Methods

readObject

private void readObject(ObjectInputStream s)
                 throws IOException,
                        ClassNotFoundException
Verifies that the main proxy is an instance of TrustEquivalence, and that the bootstrap proxy is an instance of both RemoteMethodControl and TrustEquivalence.

Throws:
InvalidObjectException - if the main proxy is not an instance of TrustEquivalence, or the bootstrap proxy is not an instance of both RemoteMethodControl and TrustEquivalence
IOException
ClassNotFoundException
Serialized Fields

main

RemoteMethodControl main
The main proxy.

 

boot

ProxyTrust boot
The bootstrap proxy.

 

Package net.jini.space

Class net.jini.space.AvailabilityEvent extends RemoteEvent implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(ObjectInputStream in)
                 throws IOException,
                        ClassNotFoundException
Throws:
InvalidObjectException - if RemoteEvent.source is null or is not a JavaSpace
IOException
ClassNotFoundException

readObjectNoData

private void readObjectNoData()
                       throws InvalidObjectException
Throws:
InvalidObjectException - if called
Serialized Fields

visibilityTransition

boolean visibilityTransition
true if this event signals a transition from invisible to visible as well as unavailable to available.

 

Class net.jini.space.InternalSpaceException extends RuntimeException implements Serializable

serialVersionUID: -4167507833172939849L

Serialized Fields

nestedException

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

 

Package net.jini.url.httpmd

Class net.jini.url.httpmd.WrongMessageDigestException extends IOException implements Serializable

serialVersionUID: -5982551285440426248L



Copyright 2007, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.