public class MbeansDescriptorsDigesterSource extends ModelerSource
Modifier and Type | Field and Description |
---|---|
protected static Digester |
digester |
location, sm, source
Constructor and Description |
---|
MbeansDescriptorsDigesterSource() |
Modifier and Type | Method and Description |
---|---|
protected static Digester |
createDigester() |
void |
execute() |
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, updateField
protected static volatile Digester digester
protected static Digester createDigester()
public void setRegistry(Registry reg)
@Deprecated public void setLocation(String loc)
public void setType(String type)
type
- public void setSource(Object source)
public List<ObjectName> loadDescriptors(Registry registry, String type, Object source) throws Exception
ModelerSource
loadDescriptors
in class ModelerSource
registry
- The registrytype
- The bean registry typesource
- Introspected object or some other sourceException
- Error loading descriptorsCopyright © 2000-2021 Apache Software Foundation. All Rights Reserved.