org.apache.commons.modeler.modules
Interface MbeansSourceMBean
- MbeansSource
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.
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
|
getMBeans
public List getMBeans()
Return the list of loaded mbeans names
getSource
public Object getSource()
init
public void init()
throws Exception
Call the init method on all mbeans. Will call load if not done already
load
public void load()
throws Exception
Load the mbeans from the source. Called automatically on init()
save
public void save()
Save the file.
setSource
public void setSource(Object source)
Set the source to be used to load the mbeans
Copyright (c) 2001-2003 - Apache Software Foundation