Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

# 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

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

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

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

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

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 `i`th -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.

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`.

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`

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

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

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

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

Package net.jini.core.entry

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

serialVersionUID: -2199083666668626172l

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

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

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

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

Package net.jini.space

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.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`.

  Throws:
    `InvalidObjectException` - if the activation identifier is `null`
    `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.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.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.

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.

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`

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).

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.

### 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.

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.

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.loader

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

serialVersionUID: 4658906595080241355l

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.

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

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.UnresolvedPermission`s
    `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.

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.url.httpmd

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

serialVersionUID: -5982551285440426248l

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

serialVersionUID: 1l

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

Copyright © 2004 Sun Microsystems, Inc. All rights reserved