@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, store
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)
MbeansSourceMBean
setSource
in interface MbeansSourceMBean
source
- File or URLpublic java.lang.Object getSource()
getSource
in interface MbeansSourceMBean
public java.lang.String getLocation()
public java.util.List<javax.management.ObjectName> getMBeans()
getMBeans
in interface MbeansSourceMBean
public java.util.List<javax.management.ObjectName> loadDescriptors(Registry registry, java.lang.String type, java.lang.Object source) throws java.lang.Exception
loadDescriptors
in class ModelerSource
java.lang.Exception
public void start() throws java.lang.Exception
java.lang.Exception
public void stop() throws java.lang.Exception
java.lang.Exception
public void init() throws java.lang.Exception
MbeansSourceMBean
init
in interface MbeansSourceMBean
java.lang.Exception
public void destroy() throws java.lang.Exception
java.lang.Exception
public void load() throws java.lang.Exception
MbeansSourceMBean
load
in interface MbeansSourceMBean
java.lang.Exception
public void execute() throws java.lang.Exception
java.lang.Exception
public void updateField(javax.management.ObjectName oname, java.lang.String name, java.lang.Object value)
ModelerSource
updateField
in class ModelerSource
public void save()
save
in interface MbeansSourceMBean
Copyright © 2000-2015 Apache Software Foundation. All Rights Reserved.