mx4j.server

Class CachingReflectionMBeanInvoker

Implemented Interfaces:
MBeanInvoker
Known Direct Subclasses:
BCELMBeanInvoker

public class CachingReflectionMBeanInvoker
extends ReflectionMBeanInvoker

Caching MBeanInvoker that uses reflection to invoke on MBean instances. Attributes and operations lookup is cached to speedup invocations.
Version:
$Revision: 1.3 $

Field Summary

Fields inherited from class mx4j.server.ReflectionMBeanInvoker

EMPTY_ARGS, EMPTY_PARAMS

Method Summary

protected String
getMethodForAttribute(javax.management.MBeanAttributeInfo attribute, boolean getter)
protected javax.management.MBeanAttributeInfo
getStandardAttributeInfo(MBeanMetaData metadata, String attribute, boolean forWrite)
protected Method
getStandardManagementMethod(MBeanMetaData metadata, String name, String[] signature)
protected javax.management.MBeanOperationInfo
getStandardOperationInfo(MBeanMetaData metadata, String method, String[] signature)

Methods inherited from class mx4j.server.ReflectionMBeanInvoker

doInvoke, getAttribute, getMethodForAttribute, getStandardAttributeInfo, getStandardManagementMethod, getStandardOperationInfo, invoke, invokeImpl, setAttribute

Method Details

getMethodForAttribute

protected String getMethodForAttribute(javax.management.MBeanAttributeInfo attribute,
                                       boolean getter)
Overrides:
getMethodForAttribute in interface ReflectionMBeanInvoker

getStandardAttributeInfo

protected javax.management.MBeanAttributeInfo getStandardAttributeInfo(MBeanMetaData metadata,
                                                                       String attribute,
                                                                       boolean forWrite)
Overrides:
getStandardAttributeInfo in interface ReflectionMBeanInvoker

getStandardManagementMethod

protected Method getStandardManagementMethod(MBeanMetaData metadata,
                                             String name,
                                             String[] signature)
            throws javax.management.ReflectionException
Overrides:
getStandardManagementMethod in interface ReflectionMBeanInvoker

getStandardOperationInfo

protected javax.management.MBeanOperationInfo getStandardOperationInfo(MBeanMetaData metadata,
                                                                       String method,
                                                                       String[] signature)
Overrides:
getStandardOperationInfo in interface ReflectionMBeanInvoker

Copyright © 2001-2005 The MX4J Contributors. All Rights Reserved.