ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From co...@apache.org
Subject cvs commit: jakarta-ant/src/main/org/apache/tools/ant/taskdefs/optional/ejb DescriptorHandler.java
Date Wed, 10 Oct 2001 15:14:34 GMT
conor       01/10/10 08:14:34

  Modified:    src/main/org/apache/tools/ant/taskdefs/optional/ejb
                        DescriptorHandler.java
  Log:
  Add support for ejb2.0 local interfaces
  
  Submitted by:	Josh Lannin <jlannin@bea.com>
  
  Revision  Changes    Path
  1.16      +16 -12    jakarta-ant/src/main/org/apache/tools/ant/taskdefs/optional/ejb/DescriptorHandler.java
  
  Index: DescriptorHandler.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/optional/ejb/DescriptorHandler.java,v
  retrieving revision 1.15
  retrieving revision 1.16
  diff -u -w -u -r1.15 -r1.16
  --- DescriptorHandler.java	2001/10/09 15:00:54	1.15
  +++ DescriptorHandler.java	2001/10/10 15:14:34	1.16
  @@ -91,6 +91,8 @@
       private static final String EJB_REF   = "ejb-ref";
       private static final String HOME_INTERFACE   = "home";
       private static final String REMOTE_INTERFACE = "remote";
  +    private static final String LOCAL_HOME_INTERFACE  = "local-home";
  +    private static final String LOCAL_INTERFACE       = "local";
       private static final String BEAN_CLASS       = "ejb-class";
       private static final String PK_CLASS         = "prim-key-class";
       private static final String EJB_NAME         = "ejb-name";
  @@ -348,6 +350,8 @@
   
           if (currentElement.equals(HOME_INTERFACE)   ||
               currentElement.equals(REMOTE_INTERFACE) ||
  +            currentElement.equals(LOCAL_INTERFACE) ||
  +            currentElement.equals(LOCAL_HOME_INTERFACE) ||
               currentElement.equals(BEAN_CLASS)       ||
               currentElement.equals(PK_CLASS)) {
   
  
  
  

Mime
View raw message