public class MbeansDescriptorsIntrospectionSource extends ModelerSource
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() |
List<ObjectName> |
loadDescriptors(Registry registry,
String type,
Object source)
Load data, returns a list of items.
|
void |
setRegistry(Registry reg) |
void |
setSource(Object source) |
void |
setType(String type)
Used if a single component is loaded
|
public MbeansDescriptorsIntrospectionSource()
public void setRegistry(Registry reg)
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
source
- Introspected object or some other sourceException
public 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-2014 Apache Software Foundation. All Rights Reserved.