Update of /cvsroot/xdoclet/xdoclet/modules/ejb/src/META-INF In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3914/modules/ejb/src/META-INF
Modified Files: xtags.xml Log Message: DAO changes. Allow a factory class to be used for generating DAO instances (XDT-1068). Also eliminate duplicate finders & create methods in DAO interface if the bean's finder/create methods have @dao.call tags but automatic generation is being used (XDT-47). Index: xtags.xml =================================================================== RCS file: /cvsroot/xdoclet/xdoclet/modules/ejb/src/META-INF/xtags.xml,v retrieving revision 1.74 retrieving revision 1.75 diff -C2 -r1.74 -r1.75 *** xtags.xml 10 Apr 2005 13:13:28 -0000 1.74 --- xtags.xml 14 Apr 2005 23:58:13 -0000 1.75 *************** *** 648,661 **** <name>ejb.dao</name> <usage-description> ! Defines the data access object of an entity bean. If the <dao/> subtask is ! included, then DAO interfaces will be generated for any entity beans containing this tag, unless a generate="false" parameter is present. </usage-description> <unique>true</unique> ! <condition-description>Entity bean</condition-description> <condition type="and"> <condition type="class"/> <condition type="type"> ! <condition-parameter>javax.ejb.EntityBean</condition-parameter> </condition> </condition> --- 648,661 ---- <name>ejb.dao</name> <usage-description> ! Defines a data access object for an EJB. If the <dao/> subtask is ! included, then DAO interfaces will be generated for any EJBs containing this tag, unless a generate="false" parameter is present. </usage-description> <unique>true</unique> ! <condition-description>Any EJB</condition-description> <condition type="and"> <condition type="class"/> <condition type="type"> ! <condition-parameter>javax.ejb.EnterpriseBean</condition-parameter> </condition> </condition> *************** *** 700,704 **** <usage-description> The fully qualified name of a class which ! implements the DAO interface. If present, then generated code for obtaining a DAO will just create a new instance of this class. --- 700,704 ---- <usage-description> The fully qualified name of a class which ! implements the DAO interface. If present, the generated code for obtaining a DAO will just create a new instance of this class. *************** *** 712,716 **** contain a String that is the fully qualified name of a class implementing the DAO interface. If present, ! then generated code for obtaining a DAO will look up this reference, then create a new instance of the class whose name is found there. This allows the --- 712,716 ---- contain a String that is the fully qualified name of a class implementing the DAO interface. If present, ! the generated code for obtaining a DAO will look up this reference, then create a new instance of the class whose name is found there. This allows the *************** *** 721,724 **** --- 721,738 ---- </parameter> <parameter type="text"> + <name>impl-factory</name> + <usage-description> + The fully qualified name of a factory class which + can create DAO instances. If present, the generated + code for obtaining a DAO will call a static method + getDaoInstance(Class) on this class, which + should return an object of the type specified in the + class parameter. The call passes in the + class to the getDaoInstance method in order to allow a + single factory class to be used for multiple DAOs. + </usage-description> + <mandatory>false</mandatory> + </parameter> + <parameter type="text"> <name>create-methods</name> <usage-description> ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ xdoclet-devel mailing list xdoclet-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xdoclet-devel