|
Apache Tomcat 7.0.28 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.tomcat.util.modeler.modules.ModelerSource org.apache.tomcat.util.modeler.modules.MbeansSource
@Deprecated public class MbeansSource
This will create mbeans based on a config file. The format is an extended version of MLET. Classloading. We don't support any explicit classloader tag. A ClassLoader is just an mbean ( it can be the standard MLetMBean or a custom one ). XXX add a special attribute to reference the loader mbean, XXX figure out how to deal with private loaders
Field Summary |
---|
Fields inherited from class org.apache.tomcat.util.modeler.modules.ModelerSource |
---|
location, source |
Constructor Summary | |
---|---|
MbeansSource()
Deprecated. |
Method Summary | |
---|---|
void |
destroy()
Deprecated. |
void |
execute()
Deprecated. |
String |
getLocation()
Deprecated. |
List<ObjectName> |
getMBeans()
Deprecated. Return the list of mbeans created by this source. |
Object |
getSource()
Deprecated. |
void |
init()
Deprecated. Call the init method on all mbeans. |
void |
load()
Deprecated. Load the mbeans from the source. |
List<ObjectName> |
loadDescriptors(Registry registry,
String type,
Object source)
Deprecated. |
void |
save()
Deprecated. Store the mbeans. |
void |
setLocation(String loc)
Deprecated. |
void |
setRegistry(Registry reg)
Deprecated. |
void |
setSource(Object source)
Deprecated. Set the source to be used to load the mbeans |
void |
setType(String type)
Deprecated. Used if a single component is loaded |
void |
start()
Deprecated. |
void |
stop()
Deprecated. |
void |
updateField(ObjectName oname,
String name,
Object value)
Deprecated. Callback from the BaseMBean to notify that an attribute has changed. |
Methods inherited from class org.apache.tomcat.util.modeler.modules.ModelerSource |
---|
getInputStream, loadDescriptors, store |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MbeansSource()
Method Detail |
---|
public void setRegistry(Registry reg)
public void setLocation(String loc)
public void setType(String type)
type
- public void setSource(Object source)
MbeansSourceMBean
setSource
in interface MbeansSourceMBean
source
- File or URLpublic Object getSource()
getSource
in interface MbeansSourceMBean
public String getLocation()
public List<ObjectName> getMBeans()
getMBeans
in interface MbeansSourceMBean
public List<ObjectName> loadDescriptors(Registry registry, String type, Object source) throws Exception
loadDescriptors
in class ModelerSource
Exception
public void start() throws Exception
Exception
public void stop() throws Exception
Exception
public void init() throws Exception
MbeansSourceMBean
init
in interface MbeansSourceMBean
Exception
public void destroy() throws Exception
Exception
public void load() throws Exception
MbeansSourceMBean
load
in interface MbeansSourceMBean
Exception
public void execute() throws Exception
Exception
public void updateField(ObjectName oname, String name, Object value)
ModelerSource
updateField
in class ModelerSource
public void save()
save
in interface MbeansSourceMBean
|
Apache Tomcat 7.0.28 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |