![JAR search and dependency download from the Maven repository](/logo.png)
org.picocontainer.gems.jmx.DynamicMBeanFactory Maven / Gradle / Ivy
The newest version!
/*****************************************************************************
* Copyright (C) NanoContainer Organization. All rights reserved. *
* ------------------------------------------------------------------------- *
* The software in this package is published under the terms of the BSD *
* style license a copy of which has been included with this distribution in *
* the LICENSE.txt file. *
* *
* Original code by Michael Ward *
*****************************************************************************/
package org.picocontainer.gems.jmx;
import javax.management.DynamicMBean;
import javax.management.MBeanInfo;
/**
* This factory is responsible for creating instances of DynamicMBean without being dependent on one particular
* implementation or external dependency.
* @author Michael Ward
* @author Jörg Schaible
*/
public interface DynamicMBeanFactory {
/**
* Create a DynamicMBean from instance and the provided {@link MBeanInfo}.
* @param componentInstance the instance of the Object being exposed for management.
* @param management the management interface (can be null
).
* @param mBeanInfo the explicitly provided management information (can be null
).
* @return the {@link DynamicMBean}.
*/
public DynamicMBean create(Object componentInstance, Class management, MBeanInfo mBeanInfo);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy