FileDocCategorySizeDatePackage
GetMBeanInfoCaller.javaAPI DocGlassfish v2 API3631Fri May 04 22:36:28 BST 2007com.sun.enterprise.admin.jmx.remote.server.callers

GetMBeanInfoCaller

public class GetMBeanInfoCaller extends AbstractMethodCaller
Invokes the method getMBeanInfo of the MBeanServerConnection.
see
MBeanServerRequestMessage#GET_MBEAN_INFO
author
Kedar Mhaswade
since
S1AS8.0
version
1.0

Fields Summary
private static final Logger
logger
Constructors Summary
public GetMBeanInfoCaller(MBeanServerConnection mbsc)

/*, 
        DefaultConfiguration.LOGGER_RESOURCE_BUNDLE_NAME );*/

       
        super(mbsc);
        METHOD_ID = MBeanServerRequestMessage.GET_MBEAN_INFO;
        logger.finer("GetMBeanInfoCaller ctor called");
    
Methods Summary
public javax.management.remote.message.MBeanServerResponseMessagecall(javax.management.remote.message.MBeanServerRequestMessage request)

        Object result = null;
        boolean isException = false;
        try {
            result = mbsc.getMBeanInfo((ObjectName)request.getParams()[0]);
        }
        catch(Throwable e) {
            result = e;
            isException = true;
        }
        return ( new MBeanServerResponseMessage(METHOD_ID, result, isException) );