com.codestudio.management
Class ConfigParser

java.lang.Object
  |
  +--org.xml.sax.HandlerBase
        |
        +--com.codestudio.management.ConfigParser
All Implemented Interfaces:
org.xml.sax.DocumentHandler, org.xml.sax.DTDHandler, org.xml.sax.EntityResolver, org.xml.sax.ErrorHandler

public class ConfigParser
extends org.xml.sax.HandlerBase

SAXParser used by Configurator to parse the poolman.xml file. It returns Collections of generic pool properties, JDBC pool properties, and admin-agent properties.


Constructor Summary
ConfigParser()
           
 
Method Summary
 void characters(char[] ch, int start, int length)
           
 void endElement(java.lang.String name)
           
 java.util.Properties getAdminProps()
           
 java.util.ArrayList getDataSourceProperties()
           
 java.util.ArrayList getGenericProperties()
           
 boolean isManagementJMX()
           
 void startElement(java.lang.String name, org.xml.sax.AttributeList attributes)
           
 
Methods inherited from class org.xml.sax.HandlerBase
endDocument, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, startDocument, unparsedEntityDecl, warning
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConfigParser

public ConfigParser()
Method Detail

getDataSourceProperties

public java.util.ArrayList getDataSourceProperties()

getGenericProperties

public java.util.ArrayList getGenericProperties()

getAdminProps

public java.util.Properties getAdminProps()

isManagementJMX

public boolean isManagementJMX()

startElement

public void startElement(java.lang.String name,
                         org.xml.sax.AttributeList attributes)
Overrides:
startElement in class org.xml.sax.HandlerBase

characters

public void characters(char[] ch,
                       int start,
                       int length)
Overrides:
characters in class org.xml.sax.HandlerBase

endElement

public void endElement(java.lang.String name)
Overrides:
endElement in class org.xml.sax.HandlerBase


Copyright © 1999-2001 The Code Studio. All Rights Reserved.