org.apache.tomcat.util.modeler.modules
public class MbeansDescriptorsIntrospectionSource extends ModelerSource
Method Summary | |
---|---|
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 | loadDescriptors(Registry registry, String location, String type, Object source) |
void | setLocation(String loc) |
void | setRegistry(Registry reg) |
void | setSource(Object source) |
void | setType(String type) Used if a single component is loaded
|
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
Parameters: javaType The class to check
Returns: boolean True if the class is compatible.
Parameters: type