Interface MbeansSourceMBean
-
- All Known Implementing Classes:
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.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List
getMBeans()
Return the list of loaded mbeans namesObject
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
-
-
-
Method Detail
-
setSource
void setSource(Object source)
Set the source to be used to load the mbeans- Parameters:
source
- File or URL
-
getSource
Object getSource()
-
getMBeans
List getMBeans()
Return the list of loaded mbeans names- Returns:
- List of ObjectName
-
load
void load() throws Exception
Load the mbeans from the source. Called automatically on init()- Throws:
Exception
-
init
void init() throws Exception
Call the init method on all mbeans. Will call load if not done already- Throws:
Exception
-
save
void save()
Save the file.
-
-