private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
null
,
and that the constraints on this invocation handler and the
underlying proxy are consistent.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 constraintsClassNotFoundException
- if class not found.IOException
- if de-serialization problem occurs.ActivationID id
Remote uproxy
null
.MethodConstraints clientConstraints
null
.private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException
ClassNotFoundException
- if class not found.IOException
- if de-serialization problem occurs.private void readObjectNoData() throws ObjectStreamException
ObjectStreamException
- if invoked, namely an InvalidObjectExceptionint lineno
int override
String description
String locationName
Throwable t
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
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
Default de-serialization is vulnerable to finalizer and reference
stealer attacks.IOException
ClassNotFoundException
private void writeObject(ObjectOutputStream out) throws IOException
IOException
MethodDesc[] descs
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
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 emptyIOException
ClassNotFoundException
InvocationConstraints constraints
null
if there are no constraints.String name
types
is null
, or null
for a descriptor that matches all methods (in which case
types
must also be null
).Class[] types
null
for wildcard parameter types.private Object readResolve()
==
can be used.boolean val
true
for YES
, false
for
NO
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
null
, and that there are no duplicates.InvalidObjectException
- if there are no principals,
or any principal is null
, or if there are duplicate
principalsClassNotFoundException
- if class not found.IOException
- if de-serialization problem occurs.Principal[] principals
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
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.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 classClassNotFoundException
- if class not found.IOException
- if de-serialization problem occurs.Class[] classes
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
null
, and that there are no duplicates.InvalidObjectException
- if there are no principals,
or any principal is null
, or if there are duplicate
principalsClassNotFoundException
- if class not found.IOException
- if de-serialization problem occurs.Principal[] principals
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
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.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 classClassNotFoundException
- if class not found.IOException
- if de-serialization problem occurs.Class[] classes
public Object readResolve()
==
can be used.boolean val
true
for YES
, false
for
NO
long time
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
time
is greater than or equal to zero.InvalidObjectException
- if time
is less than zeroClassNotFoundException
- if class not found.IOException
- if a problem occurs during de-serialization.long time
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
null
and none are instances of this class, and that
there are no duplicates.InvalidObjectException
- if there are less than two constraints,
or any constraint is null
or an instance of this class,
or if there are duplicatesClassNotFoundException
- if class not found.IOException
- if a problem occurs during de-serialization.InvocationConstraint[] constraints
public Object readResolve()
==
can be used.boolean val
true
for YES
, false
for
NO
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
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
.InvalidObjectException
- if minStart
is greater
than maxStart
, or maxStart
is greater than
minStop
, or minStop
is greater than
maxStop
ClassNotFoundException
- if class not found.IOException
- if a problem occurs during de-serialization.long minStart
long maxStart
long minStop
long maxStop
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
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.InvalidObjectException
- if minStart
is greater
than maxStart
, or maxStart
is greater than
minStop
, or minStop
is greater than
maxStop
, or minStop
is less than zeroClassNotFoundException
- if class not found.IOException
- if a problem occurs during de-serialization.long minStart
long maxStart
long minStop
long maxStop
private Object readResolve()
==
can be used.boolean val
true
for YES
, false
for
NO
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
null
elements and no duplicates.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 requirementsClassNotFoundException
- if class not found.IOException
- if a problem occurs during de-serialization.InvocationConstraint[] prefs
InvocationConstraint[] reqs
private Object readResolve()
==
can be used.boolean val
true
for YES
, false
for
NO
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
null
, and that there are no duplicates.InvalidObjectException
- if there are no principals,
or any principal is null
, or if there are duplicate
principalsClassNotFoundException
- if class not found.IOException
- if a problem occurs during de-serialization.Principal[] principals
private void readObject(ObjectInputStream oin) throws IOException, ClassNotFoundException
IOException
ClassNotFoundException
private void writeObject(ObjectOutputStream out) throws IOException
IOException
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException
InvalidObjectException
- if:
partialEntry
is null
and
unusableFields
is not null
or
nestedExceptions
does not have exactly one
element,
partialEntry
is non-null
and
unusableFields
and
nestedExceptions
are not the same length,
partialEntry
is non-null
and
unusableFields
is null
or
any element of unusableFields
is
null
, or
nestedExceptions
or any element of
nestedExceptions
is null
ClassNotFoundException
- if class not found.IOException
- if a problem occurs during de-serialization.private void readObjectNoData() throws InvalidObjectException
InvalidObjectException
- if calledEntry partialEntry
null
.String[] unusableFields
unusableFields
will be null
.Throwable[] nestedExceptions
nestedExceptions
will be an array with
the one exception that prevented its use.private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException
ClassNotFoundException
- if class not found.IOException
- if a problem occurs during de-serialization.private void writeObject(ObjectOutputStream out) throws IOException
IOException
private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException
ClassNotFoundException
- if class not found.IOException
- if a problem occurs during de-serialization.private void writeObject(ObjectOutputStream out) throws IOException
IOException
Object source
long eventID
long seqNum
MarshalledObject<T> handback
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException
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
ClassNotFoundException
- if class not found.IOException
- if a problem occurs during de-serialization.private void writeObject(ObjectOutputStream out) throws IOException
IOException
private void readObjectNoData() throws InvalidObjectException
InvalidObjectException
- if calledprivate void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException
ClassNotFoundException
- if class not found.IOException
- if a problem occurs during de-serialization.private void writeObject(ObjectOutputStream out) throws IOException
IOException
ServiceID serviceID
int transition
private void writeObject(ObjectOutputStream out) throws IOException
IOException
long mostSig
long leastSig
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException
ClassNotFoundException
- if class not found.IOException
- if a problem occurs during de-serialization.private void writeObject(ObjectOutputStream out) throws IOException
IOException
ServiceItem[] items
int totalMatches
private void writeObject(ObjectOutputStream out) throws IOException
IOException
NestableTransaction transaction
Lease lease
private void writeObject(ObjectOutputStream out) throws IOException
IOException
Transaction transaction
Lease lease
NestableServerTransaction parent
TransactionManager mgr
long id
long id
Lease lease
private void writeObject(ObjectOutputStream out) throws IOException
IOException
private void readObject(ObjectInputStream oin) throws IOException, ClassNotFoundException
IOException
ClassNotFoundException
ServiceRegistrar[] regs
Map<K,V> groups
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
InvalidObjectException
- if the state of the
deserialized instance of this class is found to be invalid.IOException
ClassNotFoundException
private void writeObject(ObjectOutputStream out) throws IOException
IOException
ServiceRegistrar[] registrars
ServiceRegistrar
that were successfully unmarshalled during the process in which at
least one failure occurred. This set may be null
or
have zero length.MarshalledObject<T>[] marshalledRegistrars
ServiceRegistrar
instances
that could not be unmarshalled. This set should not be null
and should contain at least one element.Throwable[] exceptions
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.private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
InvalidObjectException
- if the state of the
deserialized instance of this class is found to be invalid.IOException
ClassNotFoundException
private void writeObject(ObjectOutputStream out) throws IOException
IOException
boolean discarded
false
, then the lookup services
referenced by this event were just discovered; if true
,
then those lookup services were just discarded.List<E> marshalledRegs
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.
ServiceRegistrar[] regs
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
.Map<K,V> groups
Map
from the service IDs of the registrars of this event
to the groups in which each registrar is a member.private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException
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
ClassNotFoundException
- if class not found.IOException
- if a problem occurs during de-serialization.private void readObjectNoData() throws InvalidObjectException
InvalidObjectException
- if calledCollection<E> entries
Collection<E> exceptions
Throwable cause
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException
InvalidObjectException
- if the class of this object
implements Externalizable
ClassNotFoundException
- if class not found.IOException
- if a problem occurs during de-serialization.private void writeObject(ObjectOutputStream out) throws IOException
IOException
protected final Object readResolve()
readResolve
method with an alternate
implementation.protected final Object writeReplace()
writeReplace
method with an alternate
implementation.private void readObjectNoData() throws InvalidObjectException
InvalidObjectException
- unconditionallylong bits0
long bits1
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException
ClassNotFoundException
- if class not found.IOException
- if a problem occurs during de-serialization.private void writeObject(ObjectOutputStream out) throws IOException
IOException
private void readObjectNoData() throws ObjectStreamException
ObjectStreamException
- an instance of InvalidObjectException if invoked.byte[] objBytes
objBytes
is
null
then the object marshalled was a null
reference.byte[] locBytes
equals
. If locBytes
is null, there were no
non-null
annotations during marshalling.int hash
MarshalledInstance.hashCode()
boolean atomic
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException
InvalidObjectException
- if the object endpoint is
null
ClassNotFoundException
- if class not found.IOException
- if a problem occurs during de-serialization.private void writeObject(ObjectOutputStream out) throws IOException
IOException
private void readObjectNoData() throws InvalidObjectException
InvalidObjectException
- unconditionallyObjectEndpoint oe
MethodConstraints clientConstraints
null
.MethodConstraints serverConstraints
null
.private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException
BasicObjectEndpoint
participates in DGC,
initiates asynchronous DGC activity for it.InvalidObjectException
- if the Endpoint
or
the object identifier is null
ClassNotFoundException
- if class not found.IOException
- if a problem occurs during de-serialization.private void writeObject(ObjectOutputStream out) throws IOException
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).IOException
- if a problem occurs during serialization.private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException
InvalidObjectException
- if the host name is
null
or if the port number is out of the range
1
to 65535
(inclusive)IOException
ClassNotFoundException
private Object readResolve()
String host
HttpEndpoint
connects to.int port
HttpEndpoint
connects to.SocketFactory sf
HttpEndpoint
uses to
create Socket
objects.private void readObject(ObjectInputStream ois) throws IOException, ClassNotFoundException
IOException
ClassNotFoundException
private Object readResolve()
String serverHost
int serverPort
KerberosPrincipal serverPrincipal
SocketFactory csf
KerberosEndpoint
uses
to create java.net.Socket
objects.private Object readResolve()
==
can be used.boolean value
true
for STRONG
, false
for
WEAK
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException
serverHost
, port
, and
socketFactory
fields, checks that serverHost
is not null
and port
is in range, and sets
transient fields.InvalidObjectException
- if serverHost
is
null
or port
is out of rangeIOException
ClassNotFoundException
private void writeObject(ObjectOutputStream out) throws IOException
serverHost
, port
, and
socketFactory
fields.IOException
int port
String serverHost
SocketFactory socketFactory
null
to use default sockets.private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException
serverHost
, port
, and
socketFactory
fields, checks that serverHost
is not null
and port
is in range, and sets
transient fields.InvalidObjectException
- if serverHost
is
null
or port
is out of rangeIOException
ClassNotFoundException
private void writeObject(ObjectOutputStream out) throws IOException
serverHost
, port
, and
socketFactory
fields.IOException
int port
String serverHost
SocketFactory socketFactory
null
to use default sockets.private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException
InvalidObjectException
- if the host name is
null
or if the port number is out of the range
1
to 65535
(inclusive)IOException
ClassNotFoundException
private void writeObject(ObjectOutputStream out) throws IOException
IOException
private Object readResolve()
String host
TcpEndpoint
connects to.int port
TcpEndpoint
connects to.SocketFactory sf
TcpEndpoint
uses to
create Socket
objects.Lease[] unmarshalledLeases
Lease
that
were successfully unmarshalled during the process in which at
least one failure occurred.MarshalledObject<T>[] stillMarshalledLeases
Lease
instances that
could not be unmarshalled. This set should contain at least one
element.Throwable[] exceptions
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
.ServiceItem preEventItem
ServiceItem postEventItem
String street
String organization
String organizationalUnit
String locality
String stateOrProvince
String postalCode
String country
Address assoc
String comment
Comment assoc
String hostName
Location assoc
String name
Name assoc
String name
String manufacturer
String vendor
String version
String model
String serialNumber
ServiceInfo assoc
StatusType severity
Status assoc
private Object readResolve()
==
can be used.int type
String role
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.
String toolkit
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.)Set<E> attributes
MarshalledObject<T> factory
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
.UIDescriptor assoc
UIDescriptor
object associated with this JavaBeans component.private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
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 classIOException
ClassNotFoundException
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
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 classIOException
ClassNotFoundException
String actions
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
InvalidObjectException
- if the list is
null
or any element is not an instance of
AuthenticationPermission
IOException
ClassNotFoundException
private void writeObject(ObjectOutputStream s) throws IOException
IOException
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
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 occursClassNotFoundException
- if the class of a serialized object could
not be foundprivate void readObjectNoData() throws InvalidObjectException
InvalidObjectException
- whenever this method is calledMethodConstraints methodConstraints
methodConstraintsSpecified
is
true
. Set to null
if
methodConstraintsSpecified
is
false
.boolean methodConstraintsSpecified
methodConstraints
when
verifying if proxies are trusted and for setting their
constraints.Permission[] permissions
null
.boolean verify
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException
InvalidObjectException
- if the target name is null
or does not conform to the syntax specified in the
documentation for GrantPermission
IOException
ClassNotFoundException
private void writeObject(ObjectOutputStream out) throws IOException
NotSerializableException
- if the GrantPermission
was constructed explicitly with
java.security.UnresolvedPermission
sIOException
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
InvalidObjectException
- if the list is
null
or any element is not an instance of
GrantPermission
IOException
ClassNotFoundException
private void writeObject(ObjectOutputStream s) throws IOException
IOException
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
TrustEquivalence
, and that the bootstrap proxy is an instance
of both RemoteMethodControl
and TrustEquivalence
.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
RemoteMethodControl main
ProxyTrust boot
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException
InvalidObjectException
- if RemoteEvent.source
is null
or is not a JavaSpace
IOException
ClassNotFoundException
private void writeObject(ObjectOutputStream out) throws IOException
IOException
private void readObjectNoData() throws InvalidObjectException
InvalidObjectException
- if calledboolean visibilityTransition
true
if this event signals a
transition from invisible to visible as well
as unavailable to available.Throwable nestedException
null
.private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException
IOException
ClassNotFoundException
private void writeObject(ObjectOutputStream out) throws IOException
IOException
java.util.concurrent.ConcurrentMap<K,V> permsMap
private void readObject(ObjectInputStream in) throws InvalidObjectException
InvalidObjectException
private Object writeReplace()
Permission permission
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException
IOException
ClassNotFoundException
int version
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException
IOException
ClassNotFoundException
int size
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException
IOException
ClassNotFoundException
int ttl
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException
IOException
ClassNotFoundException
int timeout
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
IOException
ClassNotFoundException
MethodConstraints methodConstraints
null
)long[] granted
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
.Landlord.RenewResults.denied
Exception[] denied
i
th -1 in granted
was denied because of denied[i]
. If nothing was
denied, this field is null
.private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException
IOException
ClassNotFoundException
private void readObjectNoData() throws InvalidObjectException
InvalidObjectException
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException
TrustEquivalence
.IOException
ClassNotFoundException
RemoteMethodControl landlord
isTrusted
method
as the known trusted object used to determine whether or not a
given proxy is equivalent in trust, content, and function.Uuid landlordUuid
Uuid
associated landlord
.private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException
InvalidObjectException
- if serialFormat is neither ABSOLUTE
nor DURATIONIOException
ClassNotFoundException
private void writeObject(ObjectOutputStream stream) throws IOException
IOException
private void readObjectNoData() throws InvalidObjectException
InvalidObjectException
.InvalidObjectException
- unconditionallyint serialFormat
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException
IOException
ClassNotFoundException
private void writeObject(ObjectOutputStream out) throws IOException
IOException
MarshalledInstance marshalledThrowable
getThrowable
method. May be null
.MarshalledInstance marshalledLease
getLease
method.String type
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
IOException
ClassNotFoundException
MarshalledObject<T> bytes
Throwable nestedException
null
.Throwable nestedException
null
.String[] config
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
InvalidObjectException
- if the target name is null
IOException
ClassNotFoundException
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
InvalidObjectException
- if the target name is null
IOException
ClassNotFoundException
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException
InvalidObjectException
- if the proxy is not an instance of
RemoteMethodControl
and TrustEquivalence
IOException
ClassNotFoundException
RemoteMethodControl proxy
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException
IOException
ClassNotFoundException
private void readObjectNoData() throws ObjectStreamException
ObjectStreamException
MarshalledInstance instance
RemoteException toThrow
Throwable detail
private Object writeReplace() throws ObjectStreamException
ObjectStreamException
Object impl
String className
URL[] importLocation
URL[] exportLocation
String policy
MarshalledObject<T> data
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException
IOException
ClassNotFoundException
private void readObjectNoData() throws ObjectStreamException
ObjectStreamException
String codebase
String
containing export codebase.
That is, location where clients can download required
service-related classes (for example, stubs, proxies, etc.).String policy
String
containing server policy filename or URLString classpath
String
containing import codebase location.
That is, location where server implementation
classes can be found.String implClassName
String
containing the
name of server implementation classString[] serverConfigArgs
String[]
containing server
configuration argumentsConfiguration configuration
Object descCreatedLock
descCreated
flagprivate void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException
IOException
ClassNotFoundException
private void readObjectNoData() throws ObjectStreamException
ObjectStreamException
String sharedGroupLog
String
representing the directory where
the associated shared group identifier information is persistedboolean restart
boolean
flag passed through as the
restart
parameter to the
ActivationDesc constructor used to register the service with the
activation system.String host
String
containing hostname of desired
activation system.int port
int
representing port of desired activation system.private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException
IOException
ClassNotFoundException
private void readObjectNoData() throws ObjectStreamException
ObjectStreamException
String policy
String
representing VM policy filename or URLString classpath
String
representing the class path of the shared VM
classesString log
String
representing the location where group identifier
information will be persistedString serverCommand
String
representing the VM command to useString[] serverOptions
String[]
representing array of command line
options to pass to the VM's command lineProperties serverProperties
Properties
representing propperties to pass
to the VM's command lineString host
String
representing host name of the desired
activation systemint port
int
representing port of the desired activation
systemprivate void readObject(ObjectInputStream in) throws ClassNotFoundException, IOException
ClassNotFoundException
IOException
private void writeObject(ObjectOutputStream out) throws IOException
IOException
Copyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.