org.jboss.mx.standardmbean
Interface StandardMBeanDelegateFactory


public interface StandardMBeanDelegateFactory

A standard mbean delegate factory.

Version:
$Revision: 81019 $
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 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
NotCompliantMBeanException - if the management interface does not follow the JMX design patterns or the implementation does not implement the interface


Copyright © 2009 JBoss, a division of Red Hat, Inc.. All Rights Reserved.