org.apache.tomcat.util.modeler.modules
Interface MbeansSourceMBean
public
interface
MbeansSourceMBean
This mbean will load an extended mlet file ( similar in syntax with jboss ).
It'll keep track of all attribute changes and update the file when attributes
change.
Method Summary |
List | getMBeans() Return the list of loaded mbeans names
|
Object | getSource() |
void | init() Call the init method on all mbeans. |
void | load() Load the mbeans from the source. |
void | save() Save the file. |
void | setSource(Object source) Set the source to be used to load the mbeans
|
public List getMBeans()
Return the list of loaded mbeans names
Returns: List of ObjectName
public Object getSource()
public void init()
Call the init method on all mbeans. Will call load if not done already
Throws: Exception
public void load()
Load the mbeans from the source. Called automatically on init()
Throws: Exception
public void save()
Save the file.
public void setSource(Object source)
Set the source to be used to load the mbeans
Parameters: source File or URL
Copyright © 2000-2011 Apache Software Foundation. All Rights Reserved.