org.jboss.ejb.plugins.cmp.jdbc.metadata
Class JDBCXmlFileLoader

java.lang.Object
  extended byorg.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCXmlFileLoader

public final class JDBCXmlFileLoader
extends java.lang.Object

Immutable class which loads the JDBC application meta data from the jbosscmp-jdbc.xml files.


Constructor Summary
JDBCXmlFileLoader(ApplicationMetaData (src)  application, java.lang.ClassLoader classLoader, java.lang.ClassLoader localClassLoader, Logger (src)  log)
          Constructs a JDBC XML file loader, which loads the JDBC application meta data from the jbosscmp-xml files.
 
Method Summary
 JDBCApplicationMetaData (src) load()
          Loads the application meta data from the jbosscmp-jdbc.xml file
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JDBCXmlFileLoader

public JDBCXmlFileLoader(ApplicationMetaData (src)  application,
                         java.lang.ClassLoader classLoader,
                         java.lang.ClassLoader localClassLoader,
                         Logger (src)  log)
Constructs a JDBC XML file loader, which loads the JDBC application meta data from the jbosscmp-xml files.

Parameters:
application - the application meta data loaded from the ejb-jar.xml file
classLoader - the classLoader used to load all classes in the application
localClassLoader - the classLoader used to load the jbosscmp-jdbc.xml file from the jar
log - the log for this application
Method Detail

load

public JDBCApplicationMetaData (src)  load()
                             throws DeploymentException (src) 
Loads the application meta data from the jbosscmp-jdbc.xml file

Returns:
the jdbc application meta data loaded from the jbosscmp-jdbc.xml files
Throws:
DeploymentException (src)