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

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

public final class JDBCXmlFileLoader
extends Object

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

Version:
$Revision: 81030 $
Author:
Dain Sundstrom, Sebastien Alborini, Alexey Loubyansky

Constructor Summary
JDBCXmlFileLoader(Container con, org.jboss.logging.Logger log)
          Constructs a JDBC XML file loader, which loads the JDBC application meta data from the jbosscmp-xml files.
 
Method Summary
 JDBCApplicationMetaData 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(Container con,
                         org.jboss.logging.Logger log)
Constructs a JDBC XML file loader, which loads the JDBC application meta data from the jbosscmp-xml files.

Parameters:
con - the container
log - the log for this application
Method Detail

load

public JDBCApplicationMetaData load()
                             throws DeploymentException
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


Copyright © 2009 JBoss, a division of Red Hat, Inc.. All Rights Reserved.