[jboss-cvs] JBossAS SVN: r104730 - in projects/jboss-jca/trunk/codegenerator/src/main: resources and 1 other directory.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Wed May 12 11:01:59 EDT 2010


Author: jeff.zhang
Date: 2010-05-12 11:01:58 -0400 (Wed, 12 May 2010)
New Revision: 104730

Added:
   projects/jboss-jca/trunk/codegenerator/src/main/java/org/jboss/jca/codegenerator/CfCodeGen.java
   projects/jboss-jca/trunk/codegenerator/src/main/java/org/jboss/jca/codegenerator/CfInterfaceCodeGen.java
Modified:
   projects/jboss-jca/trunk/codegenerator/src/main/java/org/jboss/jca/codegenerator/Definition.java
   projects/jboss-jca/trunk/codegenerator/src/main/java/org/jboss/jca/codegenerator/JCA16AnnoProfile.java
   projects/jboss-jca/trunk/codegenerator/src/main/java/org/jboss/jca/codegenerator/Main.java
   projects/jboss-jca/trunk/codegenerator/src/main/java/org/jboss/jca/codegenerator/McCodeGen.java
   projects/jboss-jca/trunk/codegenerator/src/main/java/org/jboss/jca/codegenerator/McMetaCodeGen.java
   projects/jboss-jca/trunk/codegenerator/src/main/java/org/jboss/jca/codegenerator/McfCodeGen.java
   projects/jboss-jca/trunk/codegenerator/src/main/java/org/jboss/jca/codegenerator/PropsCodeGen.java
   projects/jboss-jca/trunk/codegenerator/src/main/resources/codegenerator.properties
Log:
[JBJCA-329] make CCI code generation optional

Added: projects/jboss-jca/trunk/codegenerator/src/main/java/org/jboss/jca/codegenerator/CfCodeGen.java
===================================================================
--- projects/jboss-jca/trunk/codegenerator/src/main/java/org/jboss/jca/codegenerator/CfCodeGen.java	                        (rev 0)
+++ projects/jboss-jca/trunk/codegenerator/src/main/java/org/jboss/jca/codegenerator/CfCodeGen.java	2010-05-12 15:01:58 UTC (rev 104730)
@@ -0,0 +1,145 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2010, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.jca.codegenerator;
+
+import java.io.IOException;
+import java.io.Writer;
+
+/**
+ * A connection factory class CodeGen.
+ * 
+ * @author Jeff Zhang
+ * @version $Revision: $
+ */
+public class CfCodeGen extends AbstractCodeGen
+{
+   /**
+    * Output class code
+    * @param def definition
+    * @param out Writer
+    * @throws IOException ioException
+    */
+   @Override
+   public void writeClassBody(Definition def, Writer out) throws IOException
+   {
+
+      out.write("public class " + getClassName(def) + " implements " + def.getCfInterfaceClass());
+      writeLeftCurlyBracket(out, 0);
+      int indent = 1;
+      
+      writeDefaultConstructor(def, out, indent);
+
+      writeConnection(def, out, indent);
+      writeReference(def, out, indent);
+      writeRightCurlyBracket(out, 0);
+   }
+   
+   /**
+    * Output class import
+    * @param def definition
+    * @param out Writer
+    * @throws IOException ioException
+    */
+   @Override
+   public void writeImport(Definition def, Writer out) throws IOException
+   {
+      out.write("package " + def.getRaPackage() + ";");
+      writeEol(out);
+      writeEol(out);
+      out.write("import java.io.Serializable;");
+      writeEol(out);
+      writeEol(out);
+      out.write("import javax.naming.NamingException;");
+      writeEol(out);
+      out.write("import javax.naming.Reference;");
+      writeEol(out);
+      writeEol(out);
+      out.write("import javax.resource.Referenceable;");
+      writeEol(out);
+      out.write("import javax.resource.ResourceException;");
+      writeEol(out);
+      writeEol(out);
+   }
+   
+   /**
+    * get this class name
+    * @param def definition
+    * @return String class name
+    */
+   @Override
+   public String getClassName(Definition def)
+   {
+      return def.getCfClass();
+   }
+   
+   /**
+    * Output Connection method
+    * @param def definition
+    * @param out Writer
+    * @param indent space number
+    * @throws IOException ioException
+    */
+   private void writeConnection(Definition def, Writer out, int indent) throws IOException
+   {
+      writeIndent(out, indent);
+      out.write("@Override");
+      writeEol(out);
+      writeIndent(out, indent);
+      out.write("public " + def.getConnInterfaceClass() + " getConnection() throws ResourceException");
+      writeLeftCurlyBracket(out, indent);
+
+      writeIndent(out, indent + 1);
+      out.write("return new " + def.getConnImplClass() + "();");
+      writeRightCurlyBracket(out, indent);
+      writeEol(out);
+   }
+   
+   /**
+    * Output Reference method
+    * @param def definition
+    * @param out Writer
+    * @param indent space number
+    * @throws IOException ioException
+    */
+   private void writeReference(Definition def, Writer out, int indent) throws IOException
+   {
+      writeIndent(out, indent);
+      out.write("@Override");
+      writeEol(out);
+      writeIndent(out, indent);
+      out.write("public Reference getReference() throws NamingException");
+      writeLeftCurlyBracket(out, indent);
+      writeIndent(out, indent + 1);
+      out.write("return null;");
+      writeRightCurlyBracket(out, indent);
+      writeEol(out);
+
+      writeIndent(out, indent);
+      out.write("@Override");
+      writeEol(out);
+      writeIndent(out, indent);
+      out.write("public void setReference(Reference reference)");
+      writeLeftCurlyBracket(out, indent);
+      writeRightCurlyBracket(out, indent);
+      writeEol(out);
+   }
+}

Added: projects/jboss-jca/trunk/codegenerator/src/main/java/org/jboss/jca/codegenerator/CfInterfaceCodeGen.java
===================================================================
--- projects/jboss-jca/trunk/codegenerator/src/main/java/org/jboss/jca/codegenerator/CfInterfaceCodeGen.java	                        (rev 0)
+++ projects/jboss-jca/trunk/codegenerator/src/main/java/org/jboss/jca/codegenerator/CfInterfaceCodeGen.java	2010-05-12 15:01:58 UTC (rev 104730)
@@ -0,0 +1,99 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2010, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.jca.codegenerator;
+
+import java.io.IOException;
+import java.io.Writer;
+
+/**
+ * A connection factory interface CodeGen.
+ * 
+ * @author Jeff Zhang
+ * @version $Revision: $
+ */
+public class CfInterfaceCodeGen extends AbstractCodeGen
+{
+   /**
+    * Output class code
+    * @param def definition
+    * @param out Writer
+    * @throws IOException ioException
+    */
+   @Override
+   public void writeClassBody(Definition def, Writer out) throws IOException
+   {
+
+      out.write("public interface " + getClassName(def) + " extends Serializable, Referenceable");
+      writeLeftCurlyBracket(out, 0);
+      int indent = 1;
+
+      writeConnection(def, out, indent);
+      writeRightCurlyBracket(out, 0);
+   }
+   
+   /**
+    * Output class import
+    * @param def definition
+    * @param out Writer
+    * @throws IOException ioException
+    */
+   @Override
+   public void writeImport(Definition def, Writer out) throws IOException
+   {
+      out.write("package " + def.getRaPackage() + ";");
+      writeEol(out);
+      writeEol(out);
+      out.write("import java.io.Serializable;");
+      writeEol(out);
+      writeEol(out);
+      out.write("import javax.resource.Referenceable;");
+      writeEol(out);
+      out.write("import javax.resource.ResourceException;");
+      writeEol(out);
+      writeEol(out);
+   }
+   
+   /**
+    * get this class name
+    * @param def definition
+    * @return String class name
+    */
+   @Override
+   public String getClassName(Definition def)
+   {
+      return def.getCfInterfaceClass();
+   }
+   
+   /**
+    * Output Connection method
+    * @param def definition
+    * @param out Writer
+    * @param indent space number
+    * @throws IOException ioException
+    */
+   private void writeConnection(Definition def, Writer out, int indent) throws IOException
+   {
+      writeIndent(out, indent);
+      out.write("public " + def.getConnInterfaceClass() + " getConnection() throws ResourceException;");
+      writeEol(out);
+   }
+}

Modified: projects/jboss-jca/trunk/codegenerator/src/main/java/org/jboss/jca/codegenerator/Definition.java
===================================================================
--- projects/jboss-jca/trunk/codegenerator/src/main/java/org/jboss/jca/codegenerator/Definition.java	2010-05-12 14:32:15 UTC (rev 104729)
+++ projects/jboss-jca/trunk/codegenerator/src/main/java/org/jboss/jca/codegenerator/Definition.java	2010-05-12 15:01:58 UTC (rev 104730)
@@ -51,10 +51,16 @@
    private String connInterfaceClass;
    /** connection impl class name */
    private String connImplClass;
+   /** connection factory interface name */
+   private String cfInterfaceClass;
+   /** connection factory class name */
+   private String cfClass;
    
    /** ResourceAdapterAssociation optional  */
    private boolean implRaAssociation;
-
+   /** ResourceAdapterAssociation optional  */
+   private boolean useCciConnection;
+   
    /** cci connection factory class name */
    private String cciConnFactoryClass;
    /** cci connection class name */
@@ -265,6 +271,26 @@
    }
 
    /**
+    * Set the useCciConnection.
+    * 
+    * @param useCciConnection The useCciConnection to set.
+    */
+   public void setUseCciConnection(boolean useCciConnection)
+   {
+      this.useCciConnection = useCciConnection;
+   }
+
+   /**
+    * Get the useCciConnection.
+    * 
+    * @return the useCciConnection.
+    */
+   public boolean isUseCciConnection()
+   {
+      return useCciConnection;
+   }
+   
+   /**
     * Set the cciConnFactoryClass.
     * 
     * @param cciConnFactoryClass The cciConnFactoryClass to set.
@@ -351,4 +377,45 @@
          cmClass = "MyConnectionManager";
       return cmClass;
    }
+
+   /**
+    * Set the cfClass.
+    * 
+    * @param cfClass The cfClass to set.
+    */
+   public void setCfClass(String cfClass)
+   {
+      this.cfClass = cfClass;
+   }
+
+   /**
+    * Get the cfClass.
+    * 
+    * @return the cfClass.
+    */
+   public String getCfClass()
+   {
+      return cfClass;
+   }
+
+   /**
+    * Set the cfInterfaceClass.
+    * 
+    * @param cfInterfaceClass The cfInterfaceClass to set.
+    */
+   public void setCfInterfaceClass(String cfInterfaceClass)
+   {
+      this.cfInterfaceClass = cfInterfaceClass;
+   }
+
+   /**
+    * Get the cfInterfaceClass.
+    * 
+    * @return the cfInterfaceClass.
+    */
+   public String getCfInterfaceClass()
+   {
+      return cfInterfaceClass;
+   }
+
 }

Modified: projects/jboss-jca/trunk/codegenerator/src/main/java/org/jboss/jca/codegenerator/JCA16AnnoProfile.java
===================================================================
--- projects/jboss-jca/trunk/codegenerator/src/main/java/org/jboss/jca/codegenerator/JCA16AnnoProfile.java	2010-05-12 14:32:15 UTC (rev 104729)
+++ projects/jboss-jca/trunk/codegenerator/src/main/java/org/jboss/jca/codegenerator/JCA16AnnoProfile.java	2010-05-12 15:01:58 UTC (rev 104730)
@@ -52,12 +52,21 @@
       generateClassCode(def, "Ra");
       generateClassCode(def, "Mcf");
       generateClassCode(def, "Mc");
-      generateClassCode(def, "ConnInterface");
-      generateClassCode(def, "ConnImpl");
-      generateClassCode(def, "CciConn");
-      generateClassCode(def, "CciConnFactory");
-      generateClassCode(def, "McMeta");
-      generateClassCode(def, "Cm");
+
+      if (!def.isUseCciConnection())
+      {
+         generateClassCode(def, "CfInterface");
+         generateClassCode(def, "Cf");
+         generateClassCode(def, "ConnInterface");
+         generateClassCode(def, "ConnImpl");
+      }
+      else
+      {
+         generateClassCode(def, "CciConn");
+         generateClassCode(def, "CciConnFactory");
+         generateClassCode(def, "McMeta");
+         generateClassCode(def, "Cm");
+      }
    }
 
    /**

Modified: projects/jboss-jca/trunk/codegenerator/src/main/java/org/jboss/jca/codegenerator/Main.java
===================================================================
--- projects/jboss-jca/trunk/codegenerator/src/main/java/org/jboss/jca/codegenerator/Main.java	2010-05-12 14:32:15 UTC (rev 104729)
+++ projects/jboss-jca/trunk/codegenerator/src/main/java/org/jboss/jca/codegenerator/Main.java	2010-05-12 15:01:58 UTC (rev 104730)
@@ -110,7 +110,10 @@
          System.out.print(dbconf.getString("mcf.class.name"));
          String mcfClassName = in.readLine();
          def.setMcfClass(mcfClassName);
-         
+
+         List<ConfigPropType> mcfProps = inputProperties("mcf", dbconf, in);
+         def.setMcfConfigProps(mcfProps);
+
          System.out.print(dbconf.getString("mcf.impl.raa"));
          String raAssociation = in.readLine();
          if (raAssociation == null)
@@ -123,19 +126,38 @@
                def.setImplRaAssociation(false);
          }
          
-         List<ConfigPropType> mcfProps = inputProperties("mcf", dbconf, in);
-         def.setMcfConfigProps(mcfProps);
+         System.out.print(dbconf.getString("mcf.use.cci"));
+         String useCciConnection = in.readLine();
+         if (useCciConnection == null)
+            def.setUseCciConnection(false);
+         else
+         {
+            if (useCciConnection.equals("Y") || useCciConnection.equals("y") || useCciConnection.equals("Yes"))
+               def.setUseCciConnection(true);
+            else
+               def.setUseCciConnection(false);
+         }
          
          System.out.print(dbconf.getString("mc.class.name"));
          String mcClassName = in.readLine();
          def.setMcClass(mcClassName);
          
-         System.out.print(dbconf.getString("conn.interface.name"));
-         String connInterfaceName = in.readLine();
-         def.setConnInterfaceClass(connInterfaceName);
-         System.out.print(dbconf.getString("conn.class.name"));
-         String connImplName = in.readLine();
-         def.setConnImplClass(connImplName);
+         if (!def.isUseCciConnection())
+         {
+            System.out.print(dbconf.getString("cf.interface.name"));
+            String cfInterfaceName = in.readLine();
+            def.setCfInterfaceClass(cfInterfaceName);
+            System.out.print(dbconf.getString("cf.class.name"));
+            String cfClassName = in.readLine();
+            def.setCfClass(cfClassName);
+
+            System.out.print(dbconf.getString("conn.interface.name"));
+            String connInterfaceName = in.readLine();
+            def.setConnInterfaceClass(connInterfaceName);
+            System.out.print(dbconf.getString("conn.class.name"));
+            String connImplName = in.readLine();
+            def.setConnImplClass(connImplName);
+         }
          
          def.setOutputDir(outputDir);
 

Modified: projects/jboss-jca/trunk/codegenerator/src/main/java/org/jboss/jca/codegenerator/McCodeGen.java
===================================================================
--- projects/jboss-jca/trunk/codegenerator/src/main/java/org/jboss/jca/codegenerator/McCodeGen.java	2010-05-12 14:32:15 UTC (rev 104729)
+++ projects/jboss-jca/trunk/codegenerator/src/main/java/org/jboss/jca/codegenerator/McCodeGen.java	2010-05-12 15:01:58 UTC (rev 104730)
@@ -280,8 +280,12 @@
       writeIndent(out, indent + 1);
       out.write("log.debug(\"call getMetaData\");");
       writeEol(out);
+      
       writeIndent(out, indent + 1);
-      out.write("return new MyConnectionMetaData();");
+      if (def.isUseCciConnection())
+         out.write("return new MyConnectionMetaData();");
+      else
+         out.write("return null;");
       writeRightCurlyBracket(out, indent);
       writeEol(out);
    }

Modified: projects/jboss-jca/trunk/codegenerator/src/main/java/org/jboss/jca/codegenerator/McMetaCodeGen.java
===================================================================
--- projects/jboss-jca/trunk/codegenerator/src/main/java/org/jboss/jca/codegenerator/McMetaCodeGen.java	2010-05-12 14:32:15 UTC (rev 104729)
+++ projects/jboss-jca/trunk/codegenerator/src/main/java/org/jboss/jca/codegenerator/McMetaCodeGen.java	2010-05-12 15:01:58 UTC (rev 104730)
@@ -33,7 +33,7 @@
 public class McMetaCodeGen extends AbstractCodeGen
 {
    /**
-    * Output ResourceAdapater class
+    * Output Metadata class
     * @param def definition
     * @param out Writer
     * @throws IOException ioException

Modified: projects/jboss-jca/trunk/codegenerator/src/main/java/org/jboss/jca/codegenerator/McfCodeGen.java
===================================================================
--- projects/jboss-jca/trunk/codegenerator/src/main/java/org/jboss/jca/codegenerator/McfCodeGen.java	2010-05-12 14:32:15 UTC (rev 104729)
+++ projects/jboss-jca/trunk/codegenerator/src/main/java/org/jboss/jca/codegenerator/McfCodeGen.java	2010-05-12 15:01:58 UTC (rev 104730)
@@ -44,17 +44,36 @@
    public void writeClassBody(Definition def, Writer out) throws IOException
    {
       int indent = 1;
-      out.write("@ConnectionDefinition(connectionFactory = ManagedConnection.class,");
-      writeEol(out);
-      writeIndent(out, indent);
-      out.write("connectionFactoryImpl = " + def.getMcClass() + ".class,");
-      writeEol(out);
-      writeIndent(out, indent);
-      out.write("connection = " + def.getConnInterfaceClass() + ".class,");
-      writeEol(out);
-      writeIndent(out, indent);
-      out.write("connectionImpl = " + def.getConnImplClass() + ".class)");
-      writeEol(out);
+      if (!def.isUseCciConnection())
+      {
+         out.write("@ConnectionDefinition(connectionFactory = " + def.getCfInterfaceClass() + ".class,");
+         writeEol(out);
+         writeIndent(out, indent);
+         out.write("connectionFactoryImpl = " + def.getCfClass() + ".class,");
+         writeEol(out);
+         writeIndent(out, indent);
+         out.write("connection = " + def.getConnInterfaceClass() + ".class,");
+         writeEol(out);
+         writeIndent(out, indent);
+         out.write("connectionImpl = " + def.getConnImplClass() + ".class)");
+         writeEol(out);
+      }
+      else
+      {
+         out.write("@ConnectionDefinition(connectionFactory = ConnectionFactory.class,");
+         writeEol(out);
+         writeIndent(out, indent);
+         out.write("connectionFactoryImpl = " + def.getCciConnFactoryClass() + ".class,");
+         writeEol(out);
+         
+         writeIndent(out, indent);
+         out.write("connection = Connection.class,");
+         writeEol(out);
+         writeIndent(out, indent);
+         out.write("connectionImpl = " + def.getCciConnClass() + ".class)");
+         writeEol(out);
+      }
+
       out.write("public class " + getClassName(def) + " implements ManagedConnectionFactory");
       if (def.isImplRaAssociation())
       {
@@ -116,6 +135,15 @@
       writeEol(out);
       out.write("import javax.resource.ResourceException;");
       writeEol(out);
+      
+      if (def.isUseCciConnection())
+      {
+         out.write("import javax.resource.cci.Connection;");
+         writeEol(out);
+         out.write("import javax.resource.cci.ConnectionFactory;");
+         writeEol(out);
+      }
+      
       out.write("import javax.resource.spi.ConfigProperty;");
       writeEol(out);
       out.write("import javax.resource.spi.ConnectionDefinition;");
@@ -183,7 +211,11 @@
       out.write("log.debug(\"call createConnectionFactory\");");
       writeEol(out);
       writeIndent(out, indent + 1);
-      out.write("return new MyCciConnectionFactory();");
+      if (def.isUseCciConnection())
+         out.write("return new MyCciConnectionFactory();");
+      else
+         out.write("return new " + def.getCfClass() + "();");
+      
       writeRightCurlyBracket(out, indent);
       writeEol(out);
       
@@ -196,7 +228,10 @@
       }
 
       writeIndent(out, indent + 1);
-      out.write("return createConnectionFactory(new MyConnectionManager());");
+      if (def.isUseCciConnection())
+         out.write("return createConnectionFactory(new MyConnectionManager());");
+      else
+         out.write("return createConnectionFactory(null);");
       writeRightCurlyBracket(out, indent);
       writeEol(out);
    }

Modified: projects/jboss-jca/trunk/codegenerator/src/main/java/org/jboss/jca/codegenerator/PropsCodeGen.java
===================================================================
--- projects/jboss-jca/trunk/codegenerator/src/main/java/org/jboss/jca/codegenerator/PropsCodeGen.java	2010-05-12 14:32:15 UTC (rev 104729)
+++ projects/jboss-jca/trunk/codegenerator/src/main/java/org/jboss/jca/codegenerator/PropsCodeGen.java	2010-05-12 15:01:58 UTC (rev 104730)
@@ -181,19 +181,22 @@
       for (int i = 0; i < getConfigProps(def).size(); i++)
       {
          writeIndent(out, indent + 1);
-         out.write("if (result && " + getConfigProps(def).get(i).getName() + " == null)");
+         out.write("if (result)");
+         writeLeftCurlyBracket(out, indent + 1);
+         writeIndent(out, indent + 2);
+         out.write("if (" + getConfigProps(def).get(i).getName() + " == null)");
          writeEol(out);
-         writeIndent(out, indent + 2);
+         writeIndent(out, indent + 3);
          out.write("result = obj.get" + upcaseFirst(getConfigProps(def).get(i).getName()) + "() == null;");
          writeEol(out);
          
-         writeIndent(out, indent + 1);
+         writeIndent(out, indent + 2);
          out.write("else");
          writeEol(out);
-         writeIndent(out, indent + 2);
+         writeIndent(out, indent + 3);
          out.write("result = " + getConfigProps(def).get(i).getName() + ".equals(obj.get" + 
             upcaseFirst(getConfigProps(def).get(i).getName()) + "());");
-         writeEol(out);
+         writeRightCurlyBracket(out, indent + 1);
       }
       writeIndent(out, indent + 1);
       out.write("return result;");

Modified: projects/jboss-jca/trunk/codegenerator/src/main/resources/codegenerator.properties
===================================================================
--- projects/jboss-jca/trunk/codegenerator/src/main/resources/codegenerator.properties	2010-05-12 14:32:15 UTC (rev 104729)
+++ projects/jboss-jca/trunk/codegenerator/src/main/resources/codegenerator.properties	2010-05-12 15:01:58 UTC (rev 104730)
@@ -4,6 +4,8 @@
 mc.class.name=Managed connection class name: 
 conn.interface.name=Connection interface name: 
 conn.class.name=Connection implementation name: 
+cf.interface.name=Connection factory interface name: 
+cf.class.name=Connection factory class name: 
 ra.config.properties=Resource adapter config properties [enter to quit]: 
 config.properties.name=Name: 
 config.properties.type=Type: 
@@ -11,5 +13,6 @@
 config.properties.type.tip=Input right type: 
 mcf.config.properties=Managed connection factory config properties [enter to quit]: 
 mcf.impl.raa=Use ResourceAdapterAssociation: [Y/N/Yes/No] 
+mcf.use.cci=Use CCI: [Y/N/Yes/No] 
 output.dir=Output directory: 
 code.wrote=Code generated
\ No newline at end of file




More information about the jboss-cvs-commits mailing list