An {@link MBeanServerConnection} method call, encoded as anobject. Objects of this type are sent from the client end to the server end of a JMX API connection. The result of the method is sent as an {@link MBeanServerResponseMessage}.
Instances of this class are immutable.
The method to be called is specified by an integer constant; these constants are defined in this class. Overloaded methods such as createMBean
define a different constant for each overloaded version.
The parameters to the method are provided as an Object[]
when the MBeanServerRequestMessage
is constructed. Except where specified, the number and type of these parameters are the same as for the MBeanServerConnection
method to be called. Similarly, except where specified, the type of the value returned in the corresponding MBeanServerResponseMessage
is the return type of the method to be called, or null if this type is void
.
Because an MBean can use a class loader other than the default one, some parameters need to be wrapped before being encoded in an MBeanServerRequestMessage
. See {@link ObjectWrapping}and the JMX Remote API specification.
Subject delegation might be used by supplying the appropriate delegation subject on each request. The delegation subject is the subject on which the authorization checks are performed for this request. If null
the authorization checks are performed on the authentication subject instead.
|
|
|
|