org.jboss.mx.standardmbean
Interface StandardMBeanDelegateFactory


public interface StandardMBeanDelegateFactory

A standard mbean delegate factory.

Version:
$Revision: 1.2 $
Author:
Adrian Brock

Method Summary
 StandardMBeanDelegate createStandardMBean(Object implementation, Class mbeanInterface)
          Construct a new StandardMBeanImpl from the given implementation object and the passed management interface class.
 

Method Detail

createStandardMBean

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 mbean
mbeanInterface - 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.