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