public class MbeansDescriptorsDynamicMBeanSource extends ModelerSource
Constructor and Description |
---|
MbeansDescriptorsDynamicMBeanSource() |
Modifier and Type | Method and Description |
---|---|
ManagedBean |
createManagedBean(Registry registry,
String domain,
Object realObj,
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 |
loadDescriptors(Registry registry,
String location,
String type,
Object source)
Load data, returns a list of items.
|
void |
setLocation(String loc) |
void |
setRegistry(Registry reg) |
void |
setSource(Object source) |
void |
setType(String type)
Used if a single component is loaded
|
getInputStream, store, updateField
public void setRegistry(Registry reg)
public void setLocation(String loc)
public void setType(String type)
type
- public void setSource(Object source)
public List loadDescriptors(Registry registry, String location, 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, Object realObj, String type)
Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.