@Deprecated public class MbeansSource extends ModelerSource implements MbeansSourceMBean
location, sm, source| Constructor and Description |
|---|
MbeansSource()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
destroy()
Deprecated.
|
void |
execute()
Deprecated.
|
String |
getLocation()
Deprecated.
|
List<ObjectName> |
getMBeans()
Deprecated.
Return the list of mbeans created by this source.
|
Object |
getSource()
Deprecated.
|
void |
init()
Deprecated.
Call the init method on all mbeans.
|
void |
load()
Deprecated.
Load the mbeans from the source.
|
List<ObjectName> |
loadDescriptors(Registry registry,
String type,
Object source)
Deprecated.
Load data, returns a list of items.
|
void |
save()
Deprecated.
Store the mbeans.
|
void |
setLocation(String loc)
Deprecated.
|
void |
setRegistry(Registry reg)
Deprecated.
|
void |
setSource(Object source)
Deprecated.
Set the source to be used to load the mbeans
|
void |
setType(String type)
Deprecated.
Used if a single component is loaded
|
void |
start()
Deprecated.
|
void |
stop()
Deprecated.
|
void |
updateField(ObjectName oname,
String name,
Object value)
Deprecated.
Callback from the BaseMBean to notify that an attribute has changed.
|
getInputStream, loadDescriptors, storepublic void setRegistry(Registry reg)
public void setLocation(String loc)
public void setType(String type)
type - public void setSource(Object source)
MbeansSourceMBeansetSource in interface MbeansSourceMBeansource - File or URLpublic Object getSource()
getSource in interface MbeansSourceMBeanpublic String getLocation()
public List<ObjectName> getMBeans()
getMBeans in interface MbeansSourceMBeanpublic List<ObjectName> loadDescriptors(Registry registry, String type, Object source) throws Exception
ModelerSourceloadDescriptors in class ModelerSourceregistry - The registrytype - The bean registry typesource - Introspected object or some other sourceException - Error loading descriptorspublic void init()
throws Exception
MbeansSourceMBeaninit in interface MbeansSourceMBeanExceptionpublic void load()
throws Exception
MbeansSourceMBeanload in interface MbeansSourceMBeanExceptionpublic void updateField(ObjectName oname, String name, Object value)
ModelerSourceupdateField in class ModelerSourcepublic void save()
save in interface MbeansSourceMBeanCopyright © 2000-2021 Apache Software Foundation. All Rights Reserved.