com.easyjf.dbo.config
Class XMLConfigFactory

java.lang.Object
  extended bycom.easyjf.dbo.config.XMLConfigFactory
All Implemented Interfaces:
IConfigFactory

public class XMLConfigFactory
extends java.lang.Object
implements IConfigFactory


Field Summary
 
Fields inherited from interface com.easyjf.dbo.config.IConfigFactory
CONNECTION_DRIVER, CONNECTION_JNDI, CONNECTION_JNDIFACTORY, CONNECTION_PASSWORD, CONNECTION_POOLFACTORY, CONNECTION_URL, CONNECTION_USER, DIALECT, OPTIMIZE, SHOW_SQL
 
Constructor Summary
XMLConfigFactory()
           
XMLConfigFactory(java.io.InputStream in)
           
XMLConfigFactory(java.lang.String fileName)
           
 
Method Summary
static XMLConfigFactory getInstance()
           
 void init(DBOConfig dboconfig)
           
 java.util.Map initOther()
           
static void main(java.lang.String[] args)
           
 org.dom4j.Document parse(java.lang.String fileName)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLConfigFactory

public XMLConfigFactory()

XMLConfigFactory

public XMLConfigFactory(java.lang.String fileName)

XMLConfigFactory

public XMLConfigFactory(java.io.InputStream in)
Method Detail

getInstance

public static XMLConfigFactory getInstance()
                                    throws EasyDBOException
Throws:
EasyDBOException

init

public void init(DBOConfig dboconfig)
          throws EasyDBOException
Specified by:
init in interface IConfigFactory
Throws:
EasyDBOException

initOther

public java.util.Map initOther()

parse

public org.dom4j.Document parse(java.lang.String fileName)
                         throws org.dom4j.DocumentException
Throws:
org.dom4j.DocumentException

main

public static void main(java.lang.String[] args)