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
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.String protocolType
Map<K,V> requiredPackages
Map
of String
keys to
String
values. The keys contained
in the Map
must be String
s
that represent fully qualified names of required packages.
Each value contained in the Map
must
be the oldest version number of the package (defined by the
key) that is compatible with the UI. Version numbers are
String
s in the form of "specification version
numbers," as used by the java.lang.Package
class.private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException
InvalidObjectException
- if EventObject.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 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
Object[] elements
Object
elements contained in
this ConsistentSet
.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
Copyright © 2016–2018. All rights reserved.