org.picocontainer.gems.jmx
Interface MBeanInfoProvider
- All Known Implementing Classes:
- AbstractNamingConventionMBeanInfoProvider, ComponentKeyConventionMBeanInfoProvider, ComponentTypeConventionMBeanInfoProvider
public interface MBeanInfoProvider
Provide a MBeanInfo for a component. Several strategies exist and can be used as plugin.
- Author:
- Jörg Schaible
provide
MBeanInfo provide(PicoContainer picoContainer,
ComponentAdapter componentAdapter)
- Provide a MBeanInfo for the given component. An implementation should not create an instance of the addComponent
though.
- Parameters:
picoContainer
- The picoContainer to resolve dependencies or other services necessary to get the MBeanInfo.componentAdapter
- The ComponentAdapter of the component.
- Returns:
- Returns the MBeanInfo for the compoennt or
null
if none could be found or created.
Copyright © 2003-2010 Codehaus. All Rights Reserved.