FileDocCategorySizeDatePackage
MbeansSourceMBean.javaAPI DocApache Tomcat 6.0.141852Fri Jul 20 04:20:32 BST 2007org.apache.tomcat.util.modeler.modules

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.

Fields Summary
Constructors Summary
Methods Summary
public java.util.ListgetMBeans()
Return the list of loaded mbeans names

return
List of ObjectName

public java.lang.ObjectgetSource()

public voidinit()
Call the init method on all mbeans. Will call load if not done already

throws
Exception

public voidload()
Load the mbeans from the source. Called automatically on init()

throws
Exception

public voidsave()
Save the file.

public voidsetSource(java.lang.Object source)
Set the source to be used to load the mbeans

param
source File or URL