Top Fields Constructors Methods
org.apache.tomcat.util.modeler.modules

public Class MbeansDescriptorsDigesterSource

extends ModelerSource
Class Inheritance
Imports
java.io.InputStream, java.net.URL, java.util.ArrayList, .List, javax.management.ObjectName, org.apache.juli.logging.Log, .LogFactory, org.apache.tomcat.util.digester.Digester, org.apache.tomcat.util.modeler.ManagedBean, .Registry

Field Summary

Modifier and TypeField and Description
private static Digester
private static final Object
private static final Log
private final List<ObjectName>
private Registry
Inherited from org.apache.tomcat.util.modeler.modules.ModelerSource:
smsource

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
private static Digester
public void
public List<ObjectName>
loadDescriptors(Registry
The registry
registry
,
String
The bean registry type
type
,
Object
Introspected object or some other source
source
)

Implements abstract org.apache.tomcat.util.modeler.modules.ModelerSource.loadDescriptors.

Load data, returns a list of items.

public void
public void
setSource(Object source)

Field Detail

digesterback to summary
private static Digester digester
dLockback to summary
private static final Object dLock
logback to summary
private static final Log log
mbeansback to summary
private final List<ObjectName> mbeans
registryback to summary
private Registry registry

Constructor Detail

MbeansDescriptorsDigesterSourceback to summary
public MbeansDescriptorsDigesterSource()

Method Detail

createDigesterback to summary
private static Digester createDigester()
executeback to summary
public void execute() throws Exception
loadDescriptorsback to summary
public List<ObjectName> loadDescriptors(Registry registry, String type, Object source) throws Exception

Implements abstract org.apache.tomcat.util.modeler.modules.ModelerSource.loadDescriptors.

Doc from org.apache.tomcat.util.modeler.modules.ModelerSource.loadDescriptors.

Load data, returns a list of items.

Parameters
registry:Registry

The registry

type:String

The bean registry type

source:Object

Introspected object or some other source

Returns:List<ObjectName>

a list of object names

Annotations
@Override
Exceptions
Exception:
Error loading descriptors
setRegistryback to summary
public void setRegistry(Registry reg)
setSourceback to summary
public void setSource(Object source)