CVS: xdoclet/modules/ejb/src/xdoclet/modules/ejb/dd EjbDotXmlSubTask.java, 1.18, 1.19

Marco Schulze <[email protected]> Wed, 28 Nov 2007 05:53:15 -0800
Newsgroups gmane.comp.java.xdoclet.devel
Message-ID <[email protected]>
Update of /cvsroot/xdoclet/xdoclet/modules/ejb/src/xdoclet/modules/ejb/dd
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv4548/modules/ejb/src/xdoclet/modules/ejb/dd

Modified Files:
	EjbDotXmlSubTask.java 
Log Message:
Extended ejb-task and jboss-task to support deploying every session bean twice (once with a prefix). This way, the jboss deployment can now use two different invoker-proxies for the same bean.

Index: EjbDotXmlSubTask.java
===================================================================
RCS file: /cvsroot/xdoclet/xdoclet/modules/ejb/src/xdoclet/modules/ejb/dd/EjbDotXmlSubTask.java,v
retrieving revision 1.18
retrieving revision 1.19
diff -C2 -r1.18 -r1.19
*** EjbDotXmlSubTask.java	25 Mar 2005 21:03:39 -0000	1.18
--- EjbDotXmlSubTask.java	28 Nov 2007 13:53:13 -0000	1.19
***************
*** 52,57 ****
   * @xdoclet.merge-file   file="ejb-container-transactions.ent" relates-to="ejb-jar.xml" description="An XML unparsed
   *      entity containing any additional container-transaction elements not generated by XDoclet."
!  * @xdoclet.merge-file   file="ejb-message-destinations.ent" relates-to="ejb-jar.xml" description="An XML document containing
!  *      message-destination elements. Only used with EJB 2.1+"
   * @xdoclet.merge-file   file="ejb-exclude-list.xml" relates-to="ejb-jar.xml" description="An XML document containing
   *      any exclude-list element. Only used with EJB 2.0+"
--- 52,57 ----
   * @xdoclet.merge-file   file="ejb-container-transactions.ent" relates-to="ejb-jar.xml" description="An XML unparsed
   *      entity containing any additional container-transaction elements not generated by XDoclet."
!  * @xdoclet.merge-file   file="ejb-message-destinations.ent" relates-to="ejb-jar.xml" description="An XML document
!  *      containing message-destination elements. Only used with EJB 2.1+"
   * @xdoclet.merge-file   file="ejb-exclude-list.xml" relates-to="ejb-jar.xml" description="An XML document containing
   *      any exclude-list element. Only used with EJB 2.0+"
***************
*** 91,94 ****
--- 91,96 ----
      protected String clientjar = "false";
  
+     private String  secondDeploymentNamePrefix = "";
+ 
      public EjbDotXmlSubTask()
      {
***************
*** 150,153 ****
--- 152,160 ----
      }
  
+     public String getSecondDeploymentNamePrefix()
+     {
+         return secondDeploymentNamePrefix;
+     }
+ 
      /**
       * Sets the Smallicon attribute of the EjbDotXmlSubTask object
***************
*** 200,203 ****
--- 207,215 ----
      }
  
+     public void setSecondDeploymentNamePrefix(String secondDeploymentNamePrefix)
+     {
+         this.secondDeploymentNamePrefix = secondDeploymentNamePrefix;
+     }
+ 
      /**
       * Called to validate configuration parameters.


-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4