@Deprecated public class MbeansSource extends ModelerSource implements MbeansSourceMBean
location, source| Constructor and Description |
|---|
MbeansSource()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
destroy()
Deprecated.
|
void |
execute()
Deprecated.
|
java.lang.String |
getLocation()
Deprecated.
|
java.util.List<javax.management.ObjectName> |
getMBeans()
Deprecated.
Return the list of mbeans created by this source.
|
java.lang.Object |
getSource()
Deprecated.
|
void |
init()
Deprecated.
Call the init method on all mbeans.
|
void |
load()
Deprecated.
Load the mbeans from the source.
|
java.util.List<javax.management.ObjectName> |
loadDescriptors(Registry registry,
java.lang.String type,
java.lang.Object source)
Deprecated.
|
void |
save()
Deprecated.
Store the mbeans.
|
void |
setLocation(java.lang.String loc)
Deprecated.
|
void |
setRegistry(Registry reg)
Deprecated.
|
void |
setSource(java.lang.Object source)
Deprecated.
Set the source to be used to load the mbeans
|
void |
setType(java.lang.String type)
Deprecated.
Used if a single component is loaded
|
void |
start()
Deprecated.
|
void |
stop()
Deprecated.
|
void |
updateField(javax.management.ObjectName oname,
java.lang.String name,
java.lang.Object value)
Deprecated.
Callback from the BaseMBean to notify that an attribute has changed.
|
getInputStream, loadDescriptors, storepublic 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)
MbeansSourceMBeansetSource in interface MbeansSourceMBeansource - File or URLpublic java.lang.Object getSource()
getSource in interface MbeansSourceMBeanpublic java.lang.String getLocation()
public java.util.List<javax.management.ObjectName> getMBeans()
getMBeans in interface MbeansSourceMBeanpublic java.util.List<javax.management.ObjectName> loadDescriptors(Registry registry, java.lang.String type, java.lang.Object source) throws java.lang.Exception
loadDescriptors in class ModelerSourcejava.lang.Exceptionpublic void start()
throws java.lang.Exception
java.lang.Exceptionpublic void stop()
throws java.lang.Exception
java.lang.Exceptionpublic void init()
throws java.lang.Exception
MbeansSourceMBeaninit in interface MbeansSourceMBeanjava.lang.Exceptionpublic void destroy()
throws java.lang.Exception
java.lang.Exceptionpublic void load()
throws java.lang.Exception
MbeansSourceMBeanload in interface MbeansSourceMBeanjava.lang.Exceptionpublic void execute()
throws java.lang.Exception
java.lang.Exceptionpublic void updateField(javax.management.ObjectName oname,
java.lang.String name,
java.lang.Object value)
ModelerSourceupdateField in class ModelerSourcepublic void save()
save in interface MbeansSourceMBeanCopyright © 2000-2019 Apache Software Foundation. All Rights Reserved.