Serialized Form


Package javax.management.remote

Class javax.management.remote.JMXConnectionNotification extends Notification implements Serializable

serialVersionUID: -2331308725952627538l

Serialized Fields

connectionId

String connectionId
The connection ID to which this notification pertains.
See Also:
JMXConnectionNotification.getConnectionId()

Class javax.management.remote.JMXPrincipal extends Object implements Serializable

serialVersionUID: -4184480100214577411l

Serialized Fields

name

String name
The JMX Remote API name for the identity represented by this JMXPrincipal object.
See Also:
JMXPrincipal.getName()

Class javax.management.remote.JMXProviderException extends IOException implements Serializable

serialVersionUID: -3166703627550447198l

Serialized Fields

cause

Throwable cause
An exception that caused this exception to be thrown. This field may be null.
See Also:
JMXProviderException.getCause()

Class javax.management.remote.JMXServerErrorException extends IOException implements Serializable

serialVersionUID: 3996732239558744666l

Serialized Fields

cause

Error cause
An Error that caused this exception to be thrown.
See Also:
JMXServerErrorException.getCause()

Class javax.management.remote.JMXServiceURL extends Object implements Serializable

serialVersionUID: 8173364409860779292l

Serialized Fields

protocol

String protocol
The value returned by JMXServiceURL.getProtocol().


host

String host
The value returned by JMXServiceURL.getHost().


port

int port
The value returned by JMXServiceURL.getPort().


urlPath

String urlPath
The value returned by JMXServiceURL.getURLPath().

Class javax.management.remote.NotificationResult extends Object implements Serializable

serialVersionUID: 1191800228721395279l

Serialized Fields

earliestSequenceNumber

long earliestSequenceNumber

nextSequenceNumber

long nextSequenceNumber

targetedNotifications

TargetedNotification[] targetedNotifications

Class javax.management.remote.SubjectDelegationPermission extends BasicPermission implements Serializable

serialVersionUID: 1481618113008682343l

Class javax.management.remote.TargetedNotification extends Object implements Serializable

serialVersionUID: 7676132089779300926l

Serialized Fields

notif

Notification notif
A notification to transmit to the other side.
See Also:
TargetedNotification.getNotification()

id

Integer id
The ID of the listener to which the notification is targeted.
See Also:
TargetedNotification.getListenerID()


Package javax.management.remote.rmi

Class javax.management.remote.rmi.RMIConnectionImpl_Stub extends RemoteStub implements Serializable

serialVersionUID: 2l

Class javax.management.remote.rmi.RMIConnector extends Object implements Serializable

serialVersionUID: 817323035842634473l

Serialization Methods

readObject

private void readObject(ObjectInputStream s)
                 throws IOException,
                        ClassNotFoundException
Read RMIConnector fields from an ObjectInputStream. Calls s.defaultReadObject() and then initializes all transient variables that need initializing.

Throws:
InvalidObjectException - if none of rmiServer stub or jmxServiceURL are set.
IOException
ClassNotFoundException
See Also:
RMIConnector.RMIConnector(JMXServiceURL,Map), RMIConnector.RMIConnector(RMIServer,Map)

writeObject

private void writeObject(ObjectOutputStream s)
                  throws IOException
Writes the RMIConnector fields to an ObjectOutputStream.

Connects the underlying RMIServer stub to an ORB, if needed, before serializing it. This is done using the environment map that was provided to the constructor, if any, and as documented in javax.management.remote.rmi.

This method then calls s.defaultWriteObject(). Usually, rmiServer is null if this object was constructed with a JMXServiceURL, and jmxServiceURL is null if this object is constructed with a RMIServer stub.

Note that the environment Map is not serialized, since the objects it contains are assumed to be contextual and relevant only with respect to the local environment (class loader, ORB, etc...).

After an RMIConnector is deserialized, it is assumed that the user will call RMIConnector.connect(Map), providing a new Map that can contain values which are contextually relevant to the new local environment.

Since connection to the ORB is needed prior to serializing, and since the ORB to connect to is one of those contextual parameters, it is not recommended to re-serialize a just de-serialized object - as the de-serialized object has no map. Thus, when an RMIConnector object is needed for serialization or transmission to a remote application, it is recommended to obtain a new RMIConnector stub by calling RMIConnectorServer.toJMXConnector(Map).

Throws:
InvalidObjectException - if none of rmiServer stub or jmxServiceURL are set.
IOException
See Also:
RMIConnector.RMIConnector(JMXServiceURL,Map), RMIConnector.RMIConnector(RMIServer,Map)
Serialized Fields

rmiServer

RMIServer rmiServer
The RMIServer stub of the RMI JMX Connector server to which this client connector is (or will be) connected. This field can be null when jmxServiceURL is not null. This includes the case where jmxServiceURL contains a serialized RMIServer stub. If both rmiServer and jmxServiceURL are null then serialization will fail.
See Also:
RMIConnector.RMIConnector(RMIServer,Map)

jmxServiceURL

JMXServiceURL jmxServiceURL
The JMXServiceURL of the RMI JMX Connector server to which this client connector will be connected. This field can be null when rmiServer is not null. If both rmiServer and jmxServiceURL are null then serialization will fail.
See Also:
RMIConnector.RMIConnector(JMXServiceURL,Map)

clientNotifID

long clientNotifID

Class javax.management.remote.rmi.RMIServerImpl_Stub extends RemoteStub implements Serializable

serialVersionUID: 2l


Package javax.management.remote.message

Class javax.management.remote.message.CloseMessage extends Object implements Serializable

serialVersionUID: 4021663308494239706l

Serialized Fields

msg

String msg
The message explaining why the connection was closed.
See Also:
CloseMessage.getMessage()

Class javax.management.remote.message.HandshakeBeginMessage extends Object implements Serializable

serialVersionUID: 293823783004524086l

Serialized Fields

profiles

String profiles
The space-separated list of the server's supported profile names.
See Also:
HandshakeBeginMessage.getProfiles()

version

String version
The server version of the JMXMP protocol.
See Also:
HandshakeBeginMessage.getVersion()

Class javax.management.remote.message.HandshakeEndMessage extends Object implements Serializable

serialVersionUID: 4962683653394718305l

Serialized Fields

context

Object context
The context object (opaque).
See Also:
HandshakeEndMessage.getContext()

connectionId

String connectionId
The connection ID.
See Also:
HandshakeEndMessage.getConnectionId()

Class javax.management.remote.message.HandshakeErrorMessage extends Object implements Serializable

serialVersionUID: -4107265421013519799l

Serialized Fields

detail

String detail
The detail of the error encountered by the other peer.
See Also:
HandshakeErrorMessage.getDetail()

Class javax.management.remote.message.MBeanServerRequestMessage extends Object implements Serializable

serialVersionUID: -4181036756525151109l

Serialized Fields

messageId

long messageId
This message's unique identifier.
See Also:
MBeanServerRequestMessage.getMessageId()

methodId

int methodId
The method identifier of this message.
See Also:
MBeanServerRequestMessage.getMethodId()

params

Object[] params
The method parameters.
See Also:
MBeanServerRequestMessage.getParams()

delegationSubject

Subject delegationSubject
The delegation subject.
See Also:
MBeanServerRequestMessage.getDelegationSubject()

Class javax.management.remote.message.MBeanServerResponseMessage extends Object implements Serializable

serialVersionUID: 7964312628478315537l

Serialized Fields

id

long id
The unique message identifier.
See Also:
MBeanServerResponseMessage.getMessageId()

wrappedResult

Object wrappedResult
The wrapped result of the MBeanServerConnection method call. If the method returned normally, this is the value returned, or null if the method is void. If the method produced an exception, this is the exception.
See Also:
MBeanServerResponseMessage.MBeanServerResponseMessage(long,Object,boolean)

isException

boolean isException
True if this message represents an exception.
See Also:
MBeanServerResponseMessage.isException()

Class javax.management.remote.message.NotificationRequestMessage extends Object implements Serializable

serialVersionUID: -4639266981029744819l

Serialized Fields

clientSequenceNumber

long clientSequenceNumber

maxNotifications

int maxNotifications

timeout

long timeout

Class javax.management.remote.message.NotificationResponseMessage extends Object implements Serializable

serialVersionUID: -4727296267713643966l

Serialized Fields

wrappedNotificationResult

Object wrappedNotificationResult
Notifications returned to the caller. This is a NotificationResult object wrapped using the ObjectWrapping for the connection using this message.

Class javax.management.remote.message.SASLMessage extends Object implements Serializable

serialVersionUID: 429225478070724773l

Serialized Fields

mechanism

String mechanism
The SASL mechanism.
See Also:
SASLMessage.getMechanism()

status

int status
The status of the current SASL authentication exchanges.
See Also:
SASLMessage.getStatus()

blob

byte[] blob
The blob generated by the SASL mechanism.
See Also:
SASLMessage.getBlob()

Class javax.management.remote.message.TLSMessage extends Object implements Serializable

serialVersionUID: -1560560030756307658l

Serialized Fields

status

int status
The status of the current TLS transport security negotiation.
See Also:
TLSMessage.getStatus()

Class javax.management.remote.message.VersionMessage extends Object implements Serializable

serialVersionUID: 1820574193954947740l

Serialized Fields

version

String version
The latest version of the JMXMP protocol acceptable for use.
See Also:
VersionMessage.getVersion()


Package javax.management.remote.generic

Class javax.management.remote.generic.ConnectionClosedException extends IOException implements Serializable


Package javax.management.remote.jmxmp

Class javax.management.remote.jmxmp.JMXMPConnector extends GenericConnector implements Serializable

serialVersionUID: 7098019344073706637l

Serialized Fields

address

JMXServiceURL address
The JMX Service URL of the peer JMXMP Connector Server.
See Also:
JMXMPConnector.JMXMPConnector(JMXServiceURL), JMXMPConnector.JMXMPConnector(JMXServiceURL, Map)


JMX Remote API Specification 1.0 Final Release
Generated from RI build jmxremote-1_0_1_03-b57.1 2005.02.08_17:20:23_MET

Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.