Top Description Constructors Methods
org.springframework.jmx.export.assembler

public Class SimpleReflectiveMBeanInfoAssembler

extends AbstractConfigurableMBeanInfoAssembler
Class Inheritance
Imports
java.lang.reflect.Method

Simple subclass of AbstractReflectiveMBeanInfoAssembler that always votes yes for method and property inclusion, effectively exposing all public methods and properties as operations and attributes.
Authors
Rob Harrop, Juergen Hoeller
Since
1.2

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
protected boolean
includeOperation(Method
the operation method
method
,
String
the key associated with the MBean in the beans map of the MBeanExporter
beanKey
)

Implements abstract org.springframework.jmx.export.assembler.AbstractReflectiveMBeanInfoAssembler.includeOperation.

Always returns true.
protected boolean
includeReadAttribute(Method
the accessor Method
method
,
String
the key associated with the MBean in the beans map of the MBeanExporter
beanKey
)

Implements abstract org.springframework.jmx.export.assembler.AbstractReflectiveMBeanInfoAssembler.includeReadAttribute.

Always returns true.
protected boolean
includeWriteAttribute(Method
the mutator Method.
method
,
String
the key associated with the MBean in the beans map of the MBeanExporter
beanKey
)

Implements abstract org.springframework.jmx.export.assembler.AbstractReflectiveMBeanInfoAssembler.includeWriteAttribute.

Always returns true.
Inherited from org.springframework.jmx.export.assembler.AbstractConfigurableMBeanInfoAssembler:
getNotificationInfosetNotificationInfoMappingssetNotificationInfos

Constructor Detail

SimpleReflectiveMBeanInfoAssemblerback to summary
public SimpleReflectiveMBeanInfoAssembler()

Method Detail

includeOperationback to summary
protected boolean includeOperation(Method method, String beanKey)

Implements abstract org.springframework.jmx.export.assembler.AbstractReflectiveMBeanInfoAssembler.includeOperation.

Always returns true.

Parameters
method:Method

Doc from org.springframework.jmx.export.assembler.AbstractReflectiveMBeanInfoAssembler.includeOperation.

the operation method

beanKey:String

Doc from org.springframework.jmx.export.assembler.AbstractReflectiveMBeanInfoAssembler.includeOperation.

the key associated with the MBean in the beans map of the MBeanExporter

Returns:boolean

Doc from org.springframework.jmx.export.assembler.AbstractReflectiveMBeanInfoAssembler.includeOperation.

whether the operation should be included in the management interface

Annotations
@Override
includeReadAttributeback to summary
protected boolean includeReadAttribute(Method method, String beanKey)

Implements abstract org.springframework.jmx.export.assembler.AbstractReflectiveMBeanInfoAssembler.includeReadAttribute.

Always returns true.

Parameters
method:Method

Doc from org.springframework.jmx.export.assembler.AbstractReflectiveMBeanInfoAssembler.includeReadAttribute.

the accessor Method

beanKey:String

Doc from org.springframework.jmx.export.assembler.AbstractReflectiveMBeanInfoAssembler.includeReadAttribute.

the key associated with the MBean in the beans map of the MBeanExporter

Returns:boolean

Doc from org.springframework.jmx.export.assembler.AbstractReflectiveMBeanInfoAssembler.includeReadAttribute.

true if the accessor should be included in the management interface, otherwise false

Annotations
@Override
includeWriteAttributeback to summary
protected boolean includeWriteAttribute(Method method, String beanKey)

Implements abstract org.springframework.jmx.export.assembler.AbstractReflectiveMBeanInfoAssembler.includeWriteAttribute.

Always returns true.

Parameters
method:Method

Doc from org.springframework.jmx.export.assembler.AbstractReflectiveMBeanInfoAssembler.includeWriteAttribute.

the mutator Method.

beanKey:String

Doc from org.springframework.jmx.export.assembler.AbstractReflectiveMBeanInfoAssembler.includeWriteAttribute.

the key associated with the MBean in the beans map of the MBeanExporter

Returns:boolean

Doc from org.springframework.jmx.export.assembler.AbstractReflectiveMBeanInfoAssembler.includeWriteAttribute.

true if the mutator should be included in the management interface, otherwise false

Annotations
@Override