User: kimptonc
Date: 01/03/05 05:46:26
Modified: src/main/org/jboss/dependencies DependencyManager.java
Log:
removed method loadXML from dependancyManager - as it wasn't used and uses old sun
xml parser
Revision Changes Path
1.5 +1 -19 jboss/src/main/org/jboss/dependencies/DependencyManager.java
Index: DependencyManager.java
===================================================================
RCS file:
/products/cvs/ejboss/jboss/src/main/org/jboss/dependencies/DependencyManager.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- DependencyManager.java 2000/12/07 15:44:06 1.4
+++ DependencyManager.java 2001/03/05 13:46:25 1.5
@@ -22,14 +22,13 @@
import org.xml.sax.HandlerBase;
import org.xml.sax.InputSource;
import org.xml.sax.SAXException;
-import com.sun.xml.parser.Parser;
/**
* Manages dependencies between MBeans. Loads an XML configuration file,
* and then starts a list of MBeans according to the dependencies in the
* file.
* @author Aaron Mulder <[EMAIL PROTECTED]>
- * @version $Revision: 1.4 $
+ * @version $Revision: 1.5 $
*/
public class DependencyManager {
// Static --------------------------------------------------------
@@ -65,23 +64,6 @@
}
// Public --------------------------------------------------------
-
- /**
- * Loads dependency configuration from an XML string.
- */
- public void loadXML(String source) {
- dependencies.clear();
- Parser parser = new Parser();
- try {
- parser.setDocumentHandler(new SAXHandler());
- InputSource input = new InputSource(new StringReader(source));
- parser.parse(input);
- } catch(IOException e) {
- e.printStackTrace();
- } catch(SAXException e) {
- e.printStackTrace();
- }
- }
/**
* Initializes all the MBeans in a server in an order consistant with the