java.io.Serializable
, Resource
, SelfDescribingResource
, SelfDescribingResourceV2
public final class JMXResource extends ResourceBase
JMXResource
class is used by a container to
specify the JMX MBean resource (and method related to the
resource) that a caller is attempting to access.
The toString
format (which is produced by the ResourceBase
class) for a JMXResource resource is:
type=<jmx>, operation=get, application=, mbeanType=weblogic.management.configuration.Server, target=ListenPort
The toString
format for a bean contained within a JMS system resource is:
type=<jmx>, operation=get, application=mySystemResource, mbeanType=weblogic.j2ee.descriptor.wl.LoadBalancingParamsBean, target=ServerAffinityEnabled
Modifier and Type | Field | Description |
---|---|---|
static java.lang.String |
CREATE |
|
static java.lang.String |
FIND |
|
static java.lang.String |
GET |
The operations supported by JMXResource.
|
static java.lang.String |
GET_ENCRYPTED |
|
static java.lang.String |
INVOKE |
|
static java.lang.String |
SET |
|
static java.lang.String |
SET_ENCRYPTED |
|
static java.lang.String |
UNREGISTER |
id, length, NO_PARENT, parent, resStr, SCOPE_RESOURCE_ACTION, values
LIST_FIELD_TYPE, NORMAL_FIELD_TYPE, PATH_FIELD_TYPE, UNDEFINED_FIELD_TYPE
Modifier and Type | Method | Description |
---|---|---|
java.lang.String[] |
getKeys() |
Gets keys for this resource.
|
java.lang.String |
getType() |
Gets the type of this resource (
JMXResource ). |
protected Resource |
makeParent() |
Gets a
Resource object that represents the parent of the
current JMXResource . |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
appendArrayValue, appendValue, equals, getFieldType, getID, getParentResource, getRepeatingFieldIndex, getRepeatingFieldTerminatingIndex, getValues, hashCode, init, init, isTransitiveField, toString, writeResourceString
public static final java.lang.String GET
public static final java.lang.String GET_ENCRYPTED
public static final java.lang.String SET
public static final java.lang.String SET_ENCRYPTED
public static final java.lang.String FIND
public static final java.lang.String INVOKE
public static final java.lang.String CREATE
public static final java.lang.String UNREGISTER
public java.lang.String getType()
JMXResource
).public java.lang.String[] getKeys()
getKeys
in interface Resource
getKeys
in class ResourceBase
protected Resource makeParent()
Resource
object that represents the parent of the
current JMXResource
. If the resource does not have a parent,
the value of null
must be returned.
The parentage hierarchy for a system JMXResource
is:
type=<jmx>, operation=get, application=mySystemResource, beanType=weblogic.j2ee.descriptor.wl.jmxConnectionFactoryBean, target=ServerAffinityEnabled
type=<jmx>, operation=get, application=mySystemResource, beanType=weblogic.j2ee.descriptor.wl.jmxConnectionFactoryBean
type=<jmx>, operation=get, application=mySystemResource
type=<jmx>, operation=get, application=, beanType=weblogic.j2ee.descriptor.wl.jmxConnectionFactoryBean, target=ServerAffinityEnabled
type=<jmx>, operation=get, application=, beanType=weblogic.j2ee.descriptor.wl.jmxConnectionFactoryBean
type=<jmx>, operation=get, application=
type=<jmx>, operation=get
type=<jmx>
makeParent
in class ResourceBase
Resource
object of the parent resource.