Class ModelerSource
java.lang.Object
org.apache.tomcat.util.modeler.modules.ModelerSource
- Direct Known Subclasses:
MbeansDescriptorsDigesterSource, MbeansDescriptorsIntrospectionSource
Source for descriptor data. More sources can be added.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final StringManagerThe string manager for this class.protected ObjectThe source object. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract List<ObjectName> loadDescriptors(Registry registry, String type, Object source) Load data, returns a list of items.
-
Field Details
-
sm
The string manager for this class. -
source
The source object.
-
-
Constructor Details
-
ModelerSource
public ModelerSource()Default constructor.
-
-
Method Details
-
loadDescriptors
public abstract List<ObjectName> loadDescriptors(Registry registry, String type, Object source) throws Exception Load data, returns a list of items.- Parameters:
registry- The registrytype- The bean registry typesource- Introspected object or some other source- Returns:
- a list of object names
- Throws:
Exception- Error loading descriptors
-