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 UnusableEntryExceptionClassNotFoundException - 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 Strings
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
Strings 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 JavaSpaceIOExceptionClassNotFoundExceptionprivate void writeObject(ObjectOutputStream out) throws IOException
IOExceptionprivate 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
IOExceptionClassNotFoundExceptionMethodConstraints 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.deniedException[] denied
ith -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
IOExceptionClassNotFoundExceptionprivate void readObjectNoData()
throws InvalidObjectException
InvalidObjectExceptionprivate void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException
TrustEquivalence.IOExceptionClassNotFoundExceptionRemoteMethodControl 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 DURATIONIOExceptionClassNotFoundExceptionprivate void writeObject(ObjectOutputStream stream) throws IOException
IOExceptionprivate void readObjectNoData()
throws InvalidObjectException
InvalidObjectException.InvalidObjectException - unconditionallyint serialFormat
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException
IOExceptionClassNotFoundExceptionprivate void writeObject(ObjectOutputStream out) throws IOException
IOExceptionMarshalledInstance 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 TrustEquivalenceIOExceptionClassNotFoundExceptionRemoteMethodControl proxy
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException
IOExceptionClassNotFoundExceptionprivate void readObjectNoData()
throws ObjectStreamException
ObjectStreamExceptionMarshalledInstance instance
RemoteException toThrow
Copyright © 2016–2018. All rights reserved.