[jboss-cvs] JBossAS SVN: r63906 - trunk/connector/src/main/org/jboss/resource/deployers.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Sat Jul 7 22:52:07 EDT 2007
Author: scott.stark at jboss.org
Date: 2007-07-07 22:52:07 -0400 (Sat, 07 Jul 2007)
New Revision: 63906
Modified:
trunk/connector/src/main/org/jboss/resource/deployers/ManagedConnectionFactoryParserDeployer.java
Log:
The parsing class should be the output type, not the input type.
Modified: trunk/connector/src/main/org/jboss/resource/deployers/ManagedConnectionFactoryParserDeployer.java
===================================================================
--- trunk/connector/src/main/org/jboss/resource/deployers/ManagedConnectionFactoryParserDeployer.java 2007-07-08 00:33:12 UTC (rev 63905)
+++ trunk/connector/src/main/org/jboss/resource/deployers/ManagedConnectionFactoryParserDeployer.java 2007-07-08 02:52:07 UTC (rev 63906)
@@ -39,7 +39,7 @@
*
* @author <a href="weston.price at jboss.org">Weston Price</a>
* @author adrian at jboss.org
- * @version $Revision: 1.1 $
+ * @version $Revision$
*
* TODO Need to add LoaderRepositoryConfig parsing
* TODO Note, this is currently a total hack until we can rework the JAXBDeployer
@@ -83,10 +83,10 @@
public void create() throws Exception
{
- context = JAXBContext.newInstance(new Class[]{getInput()});
+ Class[] classes = {super.getOutput()};
+ context = JAXBContext.newInstance(classes);
}
-
@Override
protected ManagedConnectionFactoryDeploymentGroup parse(VFSDeploymentUnit unit, VirtualFile file, ManagedConnectionFactoryDeploymentGroup root) throws Exception
{
Property changes on: trunk/connector/src/main/org/jboss/resource/deployers/ManagedConnectionFactoryParserDeployer.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
More information about the jboss-cvs-commits
mailing list