User: vharcq  
  Date: 02/04/02 03:29:41

  Modified:    core/samples/src/java/test/ejb CustomerBean.java
                        PersonBean.java
  Log:
  Custome finders are also handled by FinderTagsHandler from now.
  They also works for CMP beans.
  No ejb:finder is needed above the definition of the custom finder, the tag handler 
will do the work to transform the bean finder definition into a home definition with 
proper attributes and exceptions
  
  Revision  Changes    Path
  1.43      +7 -0      xdoclet/core/samples/src/java/test/ejb/CustomerBean.java
  
  Index: CustomerBean.java
  ===================================================================
  RCS file: /cvsroot/xdoclet/xdoclet/core/samples/src/java/test/ejb/CustomerBean.java,v
  retrieving revision 1.42
  retrieving revision 1.43
  diff -u -w -r1.42 -r1.43
  --- CustomerBean.java 2 Apr 2002 10:12:32 -0000       1.42
  +++ CustomerBean.java 2 Apr 2002 11:29:41 -0000       1.43
  @@ -258,4 +258,11 @@
        */
       public abstract void ejbLoad();
   
  +    /**
  +     * Custom Finders
  +     */
  +    public java.util.Collection ejbFindCustomFinderInSuper(){
  +        return null;
  +    }
  +
   }
  
  
  
  1.27      +14 -0     xdoclet/core/samples/src/java/test/ejb/PersonBean.java
  
  Index: PersonBean.java
  ===================================================================
  RCS file: /cvsroot/xdoclet/xdoclet/core/samples/src/java/test/ejb/PersonBean.java,v
  retrieving revision 1.26
  retrieving revision 1.27
  diff -u -w -r1.26 -r1.27
  --- PersonBean.java   2 Apr 2002 10:12:32 -0000       1.26
  +++ PersonBean.java   2 Apr 2002 11:29:41 -0000       1.27
  @@ -200,4 +200,18 @@
       */
      public void ejbRemove() throws RemoveException {}
   
  +    /**
  +     * Custom Finders
  +     */
  +    public Collection ejbFindCustomFinder(int a, String b){
  +        return null;
  +    }
  +
  +    /**
  +     * Custom Finders
  +     */
  +    public java.util.Collection ejbFindCustomFinderInSuper(){
  +        return null;
  +    }
  +
   }
  
  
  

_______________________________________________
Xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to