org.jboss.dependencies
Class DependencyManager
java.lang.Object
|
+--org.jboss.dependencies.DependencyManager
- public class DependencyManager
- extends java.lang.Object
Manages dependencies between MBeans. Loads an XML configuration file,
and then starts a list of MBeans according to the dependencies in the
file.
- Version:
- $Revision: 1.5 $
- Author:
- Aaron Mulder
Method Summary |
void |
initMBeans(javax.management.MBeanServer server)
Initializes all the MBeans in a server in an order consistant with the
dependencies. |
void |
printDependencies()
Prints all the dependencies to the console. |
void |
startMBeans(javax.management.MBeanServer server)
Starts all the MBeans in a server in an order consistant with the
dependencies. |
void |
stopMBeans(javax.management.MBeanServer server)
Stops all the MBeans in a server in an order consistant with the
dependencies. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DependencyManager
public DependencyManager()
- Initializes a DependencyManager.
initMBeans
public void initMBeans(javax.management.MBeanServer server)
- Initializes all the MBeans in a server in an order consistant with the
dependencies.
startMBeans
public void startMBeans(javax.management.MBeanServer server)
- Starts all the MBeans in a server in an order consistant with the
dependencies.
stopMBeans
public void stopMBeans(javax.management.MBeanServer server)
- Stops all the MBeans in a server in an order consistant with the
dependencies.
printDependencies
public void printDependencies()
- Prints all the dependencies to the console.
Copyright © 2000 The JBoss Organization. All Rights Reserved.