org.jboss.mx.standardmbean
Interface StandardMBeanDelegateFactory
- public interface StandardMBeanDelegateFactory
A standard mbean delegate factory.
- Version:
- $Revision: 1.1 $
- Author:
- Adrian Brock
createStandardMBean
public StandardMBeanDelegate createStandardMBean(Object implementation,
Class mbeanInterface)
throws javax.management.NotCompliantMBeanException
- Construct a new StandardMBeanImpl from the given implementation object
and the passed management interface class.
- Parameters:
implementation
- the object implementing the mbeanmbeanInterface
- the management interface of the mbean
- Returns:
- the standardmbean delegate
- Throws:
IllegalArgumentException
- for a null implementation
javax.management.NotCompliantMBeanException
- if the management interface
does not follow the JMX design patterns or the implementation
does not implement the interface
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.