public class MbeansDescriptorsIntrospectionSource extends ModelerSource
location, sm, source| Constructor and Description | 
|---|
| MbeansDescriptorsIntrospectionSource() | 
| Modifier and Type | Method and Description | 
|---|---|
| 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 | 
| void | execute() | 
| protected boolean | isBeanCompatible(Class<?> javaType)Check if this class conforms to JavaBeans specifications. | 
| List<ObjectName> | loadDescriptors(Registry registry,
               String type,
               Object source)Load data, returns a list of items. | 
| void | setLocation(String loc)Deprecated. 
 Unused. Will be removed in Tomcat 8.0.x | 
| void | setRegistry(Registry reg) | 
| void | setSource(Object source) | 
| void | setType(String type)Used if a single component is loaded | 
getInputStream, loadDescriptors, store, updateFieldpublic MbeansDescriptorsIntrospectionSource()
public void setRegistry(Registry reg)
@Deprecated public void setLocation(String loc)
public void setType(String type)
type - The typepublic void setSource(Object source)
public List<ObjectName> loadDescriptors(Registry registry, String type, Object source) throws Exception
ModelerSourceloadDescriptors in class ModelerSourceregistry - The registrytype - The bean registry typesource - Introspected object or some other sourceException - Error loading descriptorsprotected boolean isBeanCompatible(Class<?> javaType)
javaType - The class to checkpublic ManagedBean createManagedBean(Registry registry, String domain, Class<?> realClass, String type)
registry - The Bean registry (not used)domain - The bean domain (not used)realClass - The class to analyzetype - The bean typeCopyright © 2000-2020 Apache Software Foundation. All Rights Reserved.