Class MbeansDescriptorsIntrospectionSource
java.lang.Object
org.apache.tomcat.util.modeler.modules.ModelerSource
org.apache.tomcat.util.modeler.modules.MbeansDescriptorsIntrospectionSource
- 
Field SummaryFields inherited from class org.apache.tomcat.util.modeler.modules.ModelerSourcesource
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptioncreateManagedBean(Registry registry, String domain, Class<?> realClass, String type) XXX Find if the 'className' is the name of the MBean or the real class ( I suppose first ) XXX Read (optional) descriptions from a .properties, generated from source XXX Deal with constructorsvoidexecute()loadDescriptors(Registry registry, String type, Object source) Load data, returns a list of items.voidsetRegistry(Registry reg) voidvoidUsed if a single component is loaded
- 
Constructor Details- 
MbeansDescriptorsIntrospectionSourcepublic MbeansDescriptorsIntrospectionSource()
 
- 
- 
Method Details- 
setRegistry
- 
setTypeUsed if a single component is loaded- Parameters:
- type- The type
 
- 
setSource
- 
loadDescriptorspublic List<ObjectName> loadDescriptors(Registry registry, String type, Object source) throws Exception Description copied from class:ModelerSourceLoad data, returns a list of items.- Specified by:
- loadDescriptorsin class- ModelerSource
- Parameters:
- registry- The registry
- type- The bean registry type
- source- Introspected object or some other source
- Returns:
- a list of object names
- Throws:
- Exception- Error loading descriptors
 
- 
execute- Throws:
- Exception
 
- 
createManagedBeanpublic ManagedBean createManagedBean(Registry registry, String domain, Class<?> realClass, String type) XXX Find if the 'className' is the name of the MBean or the real class ( I suppose first ) XXX Read (optional) descriptions from a .properties, generated from source XXX Deal with constructors- Parameters:
- registry- The Bean registry (not used)
- domain- The bean domain (not used)
- realClass- The class to analyze
- type- The bean type
- Returns:
- ManagedBean The create MBean
 
 
-