Update of 
/cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-ejb/src/main/java/org/xdoclet/plugin/ejb/qtags
In directory 
sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20096/plugin-ejb/src/main/java/org/xdoclet/plugin/ejb/qtags

Modified Files:
        EjbDestinationRefTag.java EjbFacadeMethodTag.java 
        DaoCallTag.java EjbEjbRefTag.java EjbPkTag.java 
        EjbEjbExternalRefTag.java EjbInterfaceTag.java EjbHomeTag.java 
        EjbBeanTag.java EjbDaoTag.java 
Added Files:
        BaseInterfaceTag.java EjbActivationConfigPropertyTag.java 
        EjbEjbServiceRefTag.java 
Removed Files:
        EjbActivationConfigProperty.java EjbEjbServiceRef.java 
Log Message:
- ServiceEndpointPlugin stub created
- Uniformed package/pattern/class tag values for java generation for tags that 
permit default naming override
- Qtags classes name fixed
- Qtags refactorings
- Fixed testcases


Index: EjbFacadeMethodTag.java
===================================================================
RCS file: 
/cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-ejb/src/main/java/org/xdoclet/plugin/ejb/qtags/EjbFacadeMethodTag.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** EjbFacadeMethodTag.java     7 Sep 2005 01:13:08 -0000       1.4
--- EjbFacadeMethodTag.java     13 Sep 2005 02:22:32 -0000      1.5
***************
*** 11,20 ****
  public interface EjbFacadeMethodTag extends 
com.thoughtworks.qdox.model.DocletTag {
      /**
!      * Setup result caching for this method result. No effect on void methods.
       */
      boolean isCache();
  
      /**
!      * If value is immutable it will be never invalidated. No effect on void 
methods.
       */
      boolean isImmutable();
--- 11,22 ----
  public interface EjbFacadeMethodTag extends 
com.thoughtworks.qdox.model.DocletTag {
      /**
!      * Setup result caching for this method result.<br>
!      * No effect on void methods.
       */
      boolean isCache();
  
      /**
!      * If value is immutable it will be never invalidated.<br>
!      * No effect on void methods.
       */
      boolean isImmutable();

Index: EjbBeanTag.java
===================================================================
RCS file: 
/cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-ejb/src/main/java/org/xdoclet/plugin/ejb/qtags/EjbBeanTag.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** EjbBeanTag.java     7 Sep 2005 01:13:08 -0000       1.6
--- EjbBeanTag.java     13 Sep 2005 02:22:32 -0000      1.7
***************
*** 19,22 ****
--- 19,32 ----
  public interface EjbBeanTag extends com.thoughtworks.qdox.model.DocletTag, 
ViewType, JndiName {
      /**
+      * Provides the fully qualified classname of the bean's implementation 
class, to be used in the ejb-class 
+      * element of the ejb-jar.xml deployment descriptor.<br>
+      * Its value is only used when the implementation class is not being 
generated by a subtask 
+      * (e.g. <session/>, <entitycmp/>, ...) as those subtasks have other ways 
to determine the classname.<br>
+      * This parameter is mainly intended to be used where the bean class 
itself is generated, and additional 
+      * code is to be added in a subclass.
+      */
+     String getImplClassName();
+     
+     /**
       * Defines the acknowledge mode for MDB.
       *
***************
*** 27,32 ****
  
      /**
!      * Defines the version of the spec
!      * the bean is for CMP.
       *
       * @qtags.allowed-value 1.x
--- 37,41 ----
  
      /**
!      * Defines the version of the spec the bean is for CMP.
       *
       * @qtags.allowed-value 1.x
***************
*** 36,41 ****
  
      /**
!      * A description of the bean.  Defaults to the first sentence of the
!      * class-level javadoc comment of the bean class.
       */
      String getDescription();
--- 45,50 ----
  
      /**
!      * A description of the bean.<br>
!      * Defaults to the first sentence of the class-level javadoc comment of 
the bean class.
       */
      String getDescription();
***************
*** 55,62 ****
  
      /**
!      * Set it to "false" if you want the class be excluded from list of EJBs.
!      * This is useful for abstract EJBs that other EJBs are to derive from. So
!      * you obviously do not want the abstract EJB be wrongly specified in 
deployment
!      * descriptors as a concrete EJB. Default is "true".
       *
       * @qtags.default true
--- 64,72 ----
  
      /**
!      * Set it to "false" if you want the class be excluded from list of 
EJBs.<br>
!      * This is useful for abstract EJBs that other EJBs are to derive 
from.<br>
!      * So you obviously do not want the abstract EJB be wrongly specified in 
deployment descriptors as 
!      * a concrete EJB.<br>
!      * Default is "true".
       *
       * @qtags.default true
***************
*** 70,82 ****
  
      /**
!      * Defines the local business interface for the bean. Similar to 
remote-business-interface,
!      * but the interface does not need to declare RemoteException in the 
throws clause.
       */
      String getLocalBusinessInterface();
  
      /**
!      * Provides the JNDI name of the bean
!      * that will be used in the vendor
!      * specific deployment descriptors.
       * It's the JNDI name for the local EJB.
       */
--- 80,91 ----
  
      /**
!      * Defines the local business interface for the bean.<br>
!      * Similar to remote-business-interface, but the interface does not need 
to declare RemoteException 
!      * in the throws clause.
       */
      String getLocalBusinessInterface();
  
      /**
!      * Provides the JNDI name of the bean that will be used in the vendor 
specific deployment descriptors.<br>
       * It's the JNDI name for the local EJB.
       */
***************
*** 89,94 ****
  
      /**
!      * Provides the name of the bean that will be used in the ejb-jar.xml
!      * deployment descriptor.
       *
       * @qtags.required
--- 98,102 ----
  
      /**
!      * Provides the name of the bean that will be used in the ejb-jar.xml 
deployment descriptor.
       *
       * @qtags.required
***************
*** 97,102 ****
  
      /**
!      * Defines the primary key field for
!      * the bean as per spec.
       */
      String getPrimkeyField();
--- 105,109 ----
  
      /**
!      * Defines the primary key field for the bean as per spec.
       */
      String getPrimkeyField();
***************
*** 110,118 ****
  
      /**
!      * Defines the remote business interface
!      * for the bean. If present, ejb.interface-method
!      * tags are not required, instead the remote interface will extend the 
business interface.
!      * The business interface must declare all methods as throwing 
RemoteException as per the
!      * business interface pattern.
       */
      String getRemoteBusinessInterface();
--- 117,125 ----
  
      /**
!      * Defines the remote business interface for the bean.<br>
!      * If present, ejb.interface-method tags are not required, instead the 
remote interface will extend 
!      * the business interface.<br>
!      * The business interface must declare all methods as throwing 
RemoteException as per the business 
!      * interface pattern.
       */
      String getRemoteBusinessInterface();
***************
*** 129,134 ****
  
      /**
!      * Defines the durability of messages
!      * for MDB as per EJB 2.0 spec
       *
       * @qtags.allowed-value Durable
--- 136,140 ----
  
      /**
!      * Defines the durability of messages for MDB as per EJB 2.0 spec
       *
       * @qtags.allowed-value Durable
***************
*** 147,154 ****
  
      /**
!      * Defines the bean's "type".
       * Default value(s):
!      * CMP (for javax.ejb.EntityBean)
!      * Stateless (for javax.ejb.SessionBean)
       *
       * @qtags.allowed-value CMP
--- 153,162 ----
  
      /**
!      * Defines the bean's "type".<br>
       * Default value(s):
!      * <ul>
!      * <li>CMP (for javax.ejb.EntityBean)</li>
!      * <li>Stateless (for javax.ejb.SessionBean)</li>
!      * </ul>
       *
       * @qtags.allowed-value CMP
***************
*** 160,171 ****
  
      /**
!      * If true, then generate a public int
!      * version attribute in the auto-generated
!      * concrete class, to form a optimistic
!      * locking mechanism. The value of version
!      * attribute is incremented in ejbStore.
!      * The default is false.
!      * Note: It's applicable to both CMP and BMP, but many containers have 
optimistic locking
!      * capabilities built-in, so you don't need to worry about it locking 
issues.
       */
      boolean isUseSoftLocking();
--- 168,177 ----
  
      /**
!      * If true, then generate a public int version attribute in the 
auto-generated concrete class, 
!      * to form a optimistic locking mechanism.<br>
!      * The value of version attribute is incremented in ejbStore.<br>
!      * The default is false.<br>
!      * Note: It's applicable to both CMP and BMP, but many containers have 
optimistic locking capabilities 
!      * built-in, so you don't need to worry about it locking issues.
       */
      boolean isUseSoftLocking();

--- EjbActivationConfigProperty.java DELETED ---

--- NEW FILE: EjbEjbServiceRefTag.java ---
/*
 * Copyright (c) 2005
 * XDoclet Team
 * All rights reserved.
 */
package org.xdoclet.plugin.ejb.qtags;

/**
 * Defines a (web)service reference for an EJB.<br>
 * This is a EJB2.1 thing.<br>
 * For field-level tags, the service is automatically looked up and assigned to 
the field before 
 * setSessionContext, setEntityContext or setMessageDrivenContext is called 
when generating the
 * technical bean with the session, entitybmp, entitycmp or mdb subtask.<br>
 * Therefore, the field must have the protected access modifier.<br>
 * The tag may also be used on abstract methods which return the 
servic-interface.<br>
 * Those methods are implemented in the object generated by the session, 
entitybmp, entitycmp or mdb subtasks.<br>
 * The implementation performs a caching for the value.<br>
 * Applies to: Applicable to all EJB types with EJB-spec 2.1
 *
 * @qtags.location class
 * @qtags.location method
 * @qtags.location field
 */
public interface EjbEjbServiceRefTag extends 
com.thoughtworks.qdox.model.DocletTag {
    /**
     * Optional description
     */
    String getDescription();

    /**
     * The logical name of the component to be looked up.<br>
     * Mandatory for class level tags.<br>
     * The default for method- and field-level tags is the method or field name.
     */
    String getName_();

    /**
     * The fully qualified class name of the JAX-RPC interface.<br>
     * It is automatically set for method- and field-level tags.<br>
     * For method-level tags, it is set to the method's return type.<br>
     * For field-level tags, it is set to the field's type.
     */
    String getInterface();

    /**
     * The URI location of a WSDL-file. This is relative to the module root.
     */
    String getWsdlFileUri();

    /**
     * The name of a JAXRPC-mapping file describing the mapping from Java to 
Wsdl.
     */
    String getJaxrpcMappingFile();

    /**
     * Ths service-qname describes the specific wsdl service element that is 
being refered to.<br>
     * This is only needed if a wsdl file is given.
     */
    String getQname();
}
Index: EjbPkTag.java
===================================================================
RCS file: 
/cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-ejb/src/main/java/org/xdoclet/plugin/ejb/qtags/EjbPkTag.java,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** EjbPkTag.java       7 Sep 2005 01:13:08 -0000       1.7
--- EjbPkTag.java       13 Sep 2005 02:22:32 -0000      1.8
***************
*** 7,10 ****
--- 7,11 ----
  
  import org.xdoclet.plugin.ejb.qtags.parameter.MethodPermissionRoles;
+ import org.xdoclet.plugin.ejb.qtags.parameter.NamePattern;
  
  /**
***************
*** 16,20 ****
   * @qtags.once
   */
! public interface EjbPkTag extends com.thoughtworks.qdox.model.DocletTag, 
MethodPermissionRoles {
      /**
       * The fully qualified name of the primary key class.<br>
--- 17,21 ----
   * @qtags.once
   */
! public interface EjbPkTag extends com.thoughtworks.qdox.model.DocletTag, 
MethodPermissionRoles, NamePattern {
      /**
       * The fully qualified name of the primary key class.<br>
***************
*** 49,63 ****
       */
      String getMethodIntf();
- 
-     /**
-      * Define the package the pk class is in (generated or not).<br>
-      * Use <packageSubstitution/> to configure which package the PK class 
should end up in.
-      */
-     String getPackage();
- 
-     /**
-      * Define the pattern (using &#123;0&#125; for the EJB name) to be used 
for constructing the unqualified
-      * (package specific) name of the primary key class.
-      */
-     String getPattern();
  }
\ No newline at end of file
--- 50,52 ----

--- NEW FILE: BaseInterfaceTag.java ---
/*
 * Copyright (c) 2005
 * XDoclet Team
 * All rights reserved.
 */
package org.xdoclet.plugin.ejb.qtags;

import org.xdoclet.plugin.ejb.qtags.parameter.NamePattern;

/**
 * Base interface defining commons elements for &#064;ejb.home and 
&#064;ejb.interface
 * 
 * @qtags.ignore
 */
public interface BaseInterfaceTag extends 
com.thoughtworks.qdox.model.DocletTag, NamePattern {
    /**
     * Declare which interface(s) the generated interface should extend (comma 
separated list).<br>
     * <ul>
     * <li>&#064;ejb.home - Default is "javax.ejb.EJBHome"</li>
     * <li>&#064;ejb.interface - Default is "javax.ejb.EJBObject"</li>
     * </ul>
     */
    String[] getExtends();
    
    /**
     * The fully qualified name of the generated local interface.
     */
    String getLocalClass();
    
    /**
     * Declare which interface(s) the generated local interface should extend 
(comma separated list).<br>
     * <ul>
     * <li>&#064;ejb.home - Default is "javax.ejb.EJBLocalHome"</li>
     * <li>&#064;ejb.interface - Default is "javax.ejb.EJBLocalObject"</li>
     * </ul>
     */
    String[] getLocalExtends();
    
    /**
     * The package the local interface should be in - only used where 
local-class is not present.<br>
     * See also RemoteHomeInterfacePlugin/LocalHomeInterfacePlugin for 
packageregex and packagereplace
     */
    String getLocalPackage();
    
    /**
     * The pattern to be used in determining the unqualified name of the local 
home interface - only used 
     * if local-class is not present.
     */
    String getLocalPattern();
    
    /**
     * The fully qualified name of the generated remote interface.
     */
    String getRemoteClass();
    
    /**
     * The package the remote interface should be in - only used where 
local-class is not present.<br>
     * See also RemoteInterfacePlugin/LocalInterfacePlugin for packageregex and 
packagereplace
     */
    String getRemotePackage();
    
    /**
     * The pattern to be used in determining the unqualified name of the remote 
home interface - only used 
     * if local-class is not present.
     */
    String getRemotePattern();    
}
Index: EjbDestinationRefTag.java
===================================================================
RCS file: 
/cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-ejb/src/main/java/org/xdoclet/plugin/ejb/qtags/EjbDestinationRefTag.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** EjbDestinationRefTag.java   7 Sep 2005 01:13:08 -0000       1.2
--- EjbDestinationRefTag.java   13 Sep 2005 02:22:32 -0000      1.3
***************
*** 7,12 ****
  
  /**
!  * Contains a declaration of Deployment Component's reference to a message 
destination associated with a resource
!  * in Deployment Component's environment.<br>
   * Only applicable to EJB 2.1.
   *
--- 7,12 ----
  
  /**
!  * Contains a declaration of Deployment Component's reference to a message 
destination associated with a 
!  * resource in Deployment Component's environment.<br>
   * Only applicable to EJB 2.1.
   *
***************
*** 15,20 ****
  public interface EjbDestinationRefTag extends 
com.thoughtworks.qdox.model.DocletTag {
      /**
!      * Specifies the name of a message destination reference; its value is 
the environment entry name used in
!      * Deployment Component code.<br>
       * The name is a JNDI name relative to the java:comp/env context.
       *
--- 15,20 ----
  public interface EjbDestinationRefTag extends 
com.thoughtworks.qdox.model.DocletTag {
      /**
!      * Specifies the name of a message destination reference;<br>
!      * its value is the environment entry name used in Deployment Component 
code.<br>
       * The name is a JNDI name relative to the java:comp/env context.
       *
***************
*** 30,34 ****
      /**
       * Specifies the type of the destination.<br>
!      * The type is specified by the Java interface expected to be implemented 
by the destination, eg javax.jms.Queue.
       *
       * @qtags.required
--- 30,35 ----
      /**
       * Specifies the type of the destination.<br>
!      * The type is specified by the Java interface expected to be implemented 
by the destination, 
!      * eg javax.jms.Queue.
       *
       * @qtags.required
***************
*** 54,64 ****
       * The Assembler sets the value to reflect the flow of messages between 
producers and consumers in 
       * the application.<br>
!      * The value must be the message-destination-name of a message 
destination in the same 
!      * Deployment File or in another Deployment File in the same J2EE 
application unit.<br>
       * Alternatively, the value may be composed of a path name specifying a 
Deployment File containing the
       * referenced message destination with the message-destination-name of 
the destination appended and
       * separated from the path name by "#".<br>
!      * The path name is relative to the Deployment File containing Deployment 
Component that is 
!      * referencing the message destination.<br>
       * This allows multiple message destinations with the same name to be 
uniquely identified.
       */
--- 55,65 ----
       * The Assembler sets the value to reflect the flow of messages between 
producers and consumers in 
       * the application.<br>
!      * The value must be the message-destination-name of a message 
destination in the same Deployment File or 
!      * in another Deployment File in the same J2EE application unit.<br>
       * Alternatively, the value may be composed of a path name specifying a 
Deployment File containing the
       * referenced message destination with the message-destination-name of 
the destination appended and
       * separated from the path name by "#".<br>
!      * The path name is relative to the Deployment File containing Deployment 
Component that is referencing 
!      * the message destination.<br>
       * This allows multiple message destinations with the same name to be 
uniquely identified.
       */

Index: EjbDaoTag.java
===================================================================
RCS file: 
/cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-ejb/src/main/java/org/xdoclet/plugin/ejb/qtags/EjbDaoTag.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** EjbDaoTag.java      7 Sep 2005 01:13:08 -0000       1.5
--- EjbDaoTag.java      13 Sep 2005 02:22:32 -0000      1.6
***************
*** 1,4 ****
  /*
!  * Copyright (c) 2003
   * XDoclet Team
   * All rights reserved.
--- 1,4 ----
  /*
!  * Copyright (c) 2005
   * XDoclet Team
   * All rights reserved.
***************
*** 6,17 ****
  package org.xdoclet.plugin.ejb.qtags;
  
  /**
   * Defines the data access object of an entity bean. <br>
!  * 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.
   */
! public interface EjbDaoTag extends com.thoughtworks.qdox.model.DocletTag {
      /**
!      * The fully qualified name of the DAO interface. 
       * If absent the interface name will be determined using the pattern and 
package parameters.
       */
--- 6,19 ----
  package org.xdoclet.plugin.ejb.qtags;
  
+ import org.xdoclet.plugin.ejb.qtags.parameter.NamePattern;
+ 
  /**
   * Defines the data access object of an entity bean. <br>
!  * 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.
   */
! public interface EjbDaoTag extends com.thoughtworks.qdox.model.DocletTag, 
NamePattern {
      /**
!      * The fully qualified name of the DAO interface.<br>
       * If absent the interface name will be determined using the pattern and 
package parameters.
       */
***************
*** 25,29 ****
  
      /**
!      * Indicate if finder methods should be automatically included in the DAO 
interface.<br> 
       * Defaults to true.
       */
--- 27,31 ----
  
      /**
!      * Indicate if finder methods should be automatically included in the DAO 
interface.<br>
       * Defaults to true.
       */
***************
*** 37,41 ****
  
      /**
!      * The fully qualified name of a class which implements the DAO 
interface.<br> 
       * If present, then generated code for obtaining a DAO will just create a 
new instance of this class.
       */
--- 39,43 ----
  
      /**
!      * The fully qualified name of a class which implements the DAO 
interface.<br>
       * If present, then generated code for obtaining a DAO will just create a 
new instance of this class.
       */
***************
*** 45,64 ****
       * Indicates a JNDI environment reference which will contain a String 
that is the fully qualified name of
       * a class implementing the DAO interface.<br>
!      * 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.<br>
       * This allows the actual implementation class to be determined at 
runtime.
       */
      String getImplJndi();
- 
-     /**
-      * Define the package the DAO interface is in (generated or not).<br>
-      * Use <packageSubstitution/> to configure which package the interface 
should end up in.
-      */
-     String getPackage();
- 
-     /**
-      * Define the pattern (using &#123;0&#125; for the EJB name) to be used 
for constructing the 
-      * unqualified (package specific) name of the DAO interface.
-      */
-     String getPattern();
  }
\ No newline at end of file
--- 47,54 ----
       * Indicates a JNDI environment reference which will contain a String 
that is the fully qualified name of
       * a class implementing the DAO interface.<br>
!      * 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.<br>
       * This allows the actual implementation class to be determined at 
runtime.
       */
      String getImplJndi();
  }
\ No newline at end of file

--- EjbEjbServiceRef.java DELETED ---

Index: EjbEjbRefTag.java
===================================================================
RCS file: 
/cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-ejb/src/main/java/org/xdoclet/plugin/ejb/qtags/EjbEjbRefTag.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** EjbEjbRefTag.java   7 Sep 2005 01:13:08 -0000       1.5
--- EjbEjbRefTag.java   13 Sep 2005 02:22:32 -0000      1.6
***************
*** 10,15 ****
   * Applicable to all EJB types.<br>
   * Attention: you have to import the referred class (the ejbdoclet one) even 
your EJB does not need it.<br>
!  * to the bean with EJB-name [ejb-name]. ref-name is optional and if not 
specified then the 
!  * reference name is [ejb-name] prefixed by a ejb/
   *
   * @qtags.location class
--- 10,15 ----
   * Applicable to all EJB types.<br>
   * Attention: you have to import the referred class (the ejbdoclet one) even 
your EJB does not need it.<br>
!  * to the bean with EJB-name [ejb-name]. ref-name is optional and if not 
specified then the reference name 
!  * is [ejb-name] prefixed by a ejb/
   *
   * @qtags.location class

Index: EjbEjbExternalRefTag.java
===================================================================
RCS file: 
/cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-ejb/src/main/java/org/xdoclet/plugin/ejb/qtags/EjbEjbExternalRefTag.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** EjbEjbExternalRefTag.java   7 Sep 2005 01:13:08 -0000       1.5
--- EjbEjbExternalRefTag.java   13 Sep 2005 02:22:32 -0000      1.6
***************
*** 33,38 ****
       * The value of the ejb-link element is the name of the target enterprise 
bean (It is the name defined in 
       * the ejb-name element of the target enterprise bean).<br>
!      * The target enterprise bean can be in any ejb-jar file in the same J2EE 
application as the 
!      * referencing application component.
       */
      String getLink();
--- 33,38 ----
       * The value of the ejb-link element is the name of the target enterprise 
bean (It is the name defined in 
       * the ejb-name element of the target enterprise bean).<br>
!      * The target enterprise bean can be in any ejb-jar file in the same J2EE 
application as the referencing 
!      * application component.
       */
      String getLink();
***************
*** 41,45 ****
       * The name that the referenced bean will be referred to by.<br>
       * For example, to refer to the bean Customer as 
java:comp/env/ejb/Customer name should be ejb/Customer.<br>
!      * Defaults to ejb/[ejb-name], where [ejb-name] is the named of the 
referenced bean (Customer) prefixed by "ejb/".
       */
      String getRefName();
--- 41,46 ----
       * The name that the referenced bean will be referred to by.<br>
       * For example, to refer to the bean Customer as 
java:comp/env/ejb/Customer name should be ejb/Customer.<br>
!      * Defaults to ejb/[ejb-name], where [ejb-name] is the named of the 
referenced bean (Customer) prefixed 
!      * by "ejb/".
       */
      String getRefName();

Index: DaoCallTag.java
===================================================================
RCS file: 
/cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-ejb/src/main/java/org/xdoclet/plugin/ejb/qtags/DaoCallTag.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** DaoCallTag.java     7 Sep 2005 01:13:08 -0000       1.3
--- DaoCallTag.java     13 Sep 2005 02:22:32 -0000      1.4
***************
*** 12,19 ****
  public interface DaoCallTag extends com.thoughtworks.qdox.model.DocletTag {
      /**
!      * Optionally specify the method's name in the DAO (it
!      * need not be the same as the calling method in the EJB).
!      * If not specified, the default is the usual interface
!      * equivalent of the method's name (i.e. generally the
       * same, but ejbFindByX becomes findByX etc.)
       */
--- 12,17 ----
  public interface DaoCallTag extends com.thoughtworks.qdox.model.DocletTag {
      /**
!      * Optionally specify the method's name in the DAO (it need not be the 
same as the calling method in the EJB).<br>
!      * If not specified, the default is the usual interface equivalent of the 
method's name (i.e. generally the
       * same, but ejbFindByX becomes findByX etc.)
       */

Index: EjbInterfaceTag.java
===================================================================
RCS file: 
/cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-ejb/src/main/java/org/xdoclet/plugin/ejb/qtags/EjbInterfaceTag.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** EjbInterfaceTag.java        7 Sep 2005 01:13:08 -0000       1.5
--- EjbInterfaceTag.java        13 Sep 2005 02:22:32 -0000      1.6
***************
*** 7,13 ****
  
  /**
!  * The @ejb.interface tag provides information about an Entity or Session 
Bean's component interfaces 
   * (remote and/or local).<br>
   * It is not applicable to Message-driven beans.<br>
   * All parameters are applicable to both Entity and Session beans.
   *
--- 7,14 ----
  
  /**
!  * The &#064;ejb.interface tag provides information about an Entity or 
Session Bean's component interfaces 
   * (remote and/or local).<br>
   * It is not applicable to Message-driven beans.<br>
+  * The view-type "service-endpoint" is restricted to EJB2.1 Session beans.<br>
   * All parameters are applicable to both Entity and Session beans.
   *
***************
*** 15,28 ****
   * @qtags.once
   */
! public interface EjbInterfaceTag extends 
com.thoughtworks.qdox.model.DocletTag {
!     /**
!      * Declare which interface the generated remote interface should 
extend.<br>
!      * Default is "javax.ejb.EJBObject".
!      */
!     String getExtends();
! 
      /**
       * Which interfaces should be generated.<br>
-      * Defaults to true.
       *
       * @qtags.allowed-value local
--- 16,22 ----
   * @qtags.once
   */
! public interface EjbInterfaceTag extends BaseInterfaceTag {
      /**
       * Which interfaces should be generated.<br>
       *
       * @qtags.allowed-value local
***************
*** 32,87 ****
       */
      String[] getGenerate();
! 
!     /**
!      * The fully qualified name of the local interface.
!      */
!     String getLocalClass();
! 
!     /**
!      * Declare which interface the generated local interface should 
extend.<br>
!      * Default is "javax.ejb.EJBLocalObject".
!      */
!     String getLocalExtends();
! 
!     /**
!      * The package the local interface should be in - only used where 
local-class is not present.<br>
!      * Use <packageSubstitution/> to configure which package the interface 
should end up in.
!      */
!     String getLocalPackage();
! 
!     /**
!      * The pattern to be used in determining the unqualified name of the 
local interface - only used if 
!      * local-class is not present.
!      */
!     String getLocalPattern();
! 
!     /**
!      * The package for the interfaces to be placed in.<br>
!      * Only used where -class and -package are not present.<br>
!      * Use <packageSubstitution/> to configure which package the interface 
should end up in.
!      */
!     String getPackage();
! 
      /**
!      * The pattern to be used in determining the unqualified name of either 
local or remote interfaces.<br>
!      * Used where -class and -pattern tags are absent for the bean.
       */
!     String getPattern();
! 
      /**
!      * The fully qualified name of the remote interface.
       */
!     String getRemoteClass();
! 
      /**
!      * The package the remote interface should be in - only used where 
remote-class is not present.<br>
!      * Use <packageSubstitution/> to configure which package the interface 
should end up in.
       */
!     String getRemotePackage();
! 
      /**
!      * The pattern to be used in determining the unqualified name of the 
remote interface -  only used if 
!      * remote-class is not present.
       */
!     String getRemotePattern();
  }
\ No newline at end of file
--- 26,58 ----
       */
      String[] getGenerate();
!     
      /**
!      * Declare which interface(s) the generated service-endpoint interface 
should extend (comma separated list).<br> 
!      * Default is "java.rmi.Remote".
       */
!     String[] getServiceEndpointExtends();
!     
      /**
!      * The fully qualified name of the service endpoint interface.<br>
!      *  
!      * Applies: Session beans, EJB 2.1
       */
!     String getServiceEndpointClass();
!     
      /**
!      * The pattern to be used in determining the unqualified name of the 
service-endpoint interface - only used 
!      * if service-endpoint-class is not present.<br>
!      * 
!      * Applies: Session beans, EJB 2.1
       */
!     String getServiceEndpointPattern();
!     
      /**
!      * The package the service-endpoint interface should be in - only used 
where service-endpoint-class is not 
!      * present.<br>
!      * See also ServiceEndpointPlugin for packageregex and packagereplace<br>
!      * 
!      * Applies: Session beans, EJB 2.1 
       */
!     String getServiceEndpointPackage();
  }
\ No newline at end of file

Index: EjbHomeTag.java
===================================================================
RCS file: 
/cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-ejb/src/main/java/org/xdoclet/plugin/ejb/qtags/EjbHomeTag.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** EjbHomeTag.java     7 Sep 2005 01:13:08 -0000       1.5
--- EjbHomeTag.java     13 Sep 2005 02:22:32 -0000      1.6
***************
*** 7,79 ****
  
  /**
!  * The @ejb.home tag provides information about an Entity or Session Bean's 
home interface.<br>
   * All parameters are applicable to both Entity and Session beans.
   */
! public interface EjbHomeTag extends com.thoughtworks.qdox.model.DocletTag {
!     /**
!      * Declare which interface the generated home interface should extend.<br>
!      * Default is "javax.ejb.EJBHome".
!      */
!     String getExtends();
! 
      /**
       * Which home interfaces should be generated.<br>
-      * Defaults to true.
       *
!      * @qtags.allowed-value true
!      * @qtags.allowed-value false
!      */
!     boolean isGenerate();
! 
!     /**
!      * The fully qualified name of the local home interface.
!      */
!     String getLocalClass();
! 
!     /**
!      * Declare which interface the generated local home interface should 
extend.<br>
!      * Default is "javax.ejb.EJBLocalHome".
!      */
!     String getLocalExtends();
! 
!     /**
!      * The package the local home interface should be in - only used where 
local-class is not present.<br>
!      * Use <packageSubstitution/> to configure which package the interface 
should end up in.
!      */
!     String getLocalPackage();
! 
!     /**
!      * The pattern to be used in determining the unqualified name of the 
local home interface - only used 
!      * if local-class is not present.
!      */
!     String getLocalPattern();
! 
!     /**
!      * The package the  home interfaces to be placed in - only used where  
-class or -package is not present.<br>
!      * Use <packageSubstitution/> to configure which package the interface 
should end up in.
!      */
!     String getPackage();
! 
!     /**
!      * The pattern to be used in determining the unqualified name of either 
local or remote home interfaces.<br>
!      * Used where -class and -pattern tags are absent for the bean.
!      */
!     String getPattern();
! 
!     /**
!      * The fully qualified name of the remote home interface.
!      */
!     String getRemoteClass();
! 
!     /**
!      * The package the remote home interface should be in - only used where 
remote-class is not present.<br>
!      * Use <packageSubstitution/> to configure which package the interface 
should end up in.
!      */
!     String getRemotePackage();
! 
!     /**
!      * The pattern to be used in determining the unqualified name of the 
remote home interface - only used 
!      * if remote-class is not present.
       */
!     String getRemotePattern();
  }
\ No newline at end of file
--- 7,24 ----
  
  /**
!  * The &#064;ejb.home tag provides information about an Entity or Session 
Bean's home interface.<br>
   * All parameters are applicable to both Entity and Session beans.
+  * 
+  * @qtags.location class
+  * @qtags.once
   */
! public interface EjbHomeTag extends BaseInterfaceTag {
      /**
       * Which home interfaces should be generated.<br>
       *
!      * @qtags.allowed-value local
!      * @qtags.allowed-value remote
!      * @qtags.default local,remote
       */
!     String[] getGenerate();    
  }
\ No newline at end of file

--- NEW FILE: EjbActivationConfigPropertyTag.java ---
/*
 * Copyright (c) 2005
 * XDoclet Team
 * All rights reserved.
 */
package org.xdoclet.plugin.ejb.qtags;

/**
 * Defines information about the expected configuration properties of the 
message-driven bean in its operational
 * environment.<br> 
 * The properties that are recognized for a particular message-driven bean are 
determined by the messaging type.<br> 
 * The following activation-config-properties are automatically generated from 
the corresponding parameters 
 * in ejb.bean and do not require a ejb.activation-config-property tag: 
acknowledgeMode, messageSelector,
 * destinationType, subscriptionDurability.<br> 
 * Only applicable to EJB 2.1 message-driven beans.
 *
 * @qtags.location class
 */
public interface EjbActivationConfigPropertyTag extends 
com.thoughtworks.qdox.model.DocletTag {
    /**
     * Contains the name for an activation configuration property of a 
message-driven bean.
     *
     * @qtags.required
     */
    String getName_();

    /**
     * Contains the value for an activation configuration property of a 
message-driven bean.
     *
     * @qtags.required
     */
    String getValue_();
}


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
xdoclet-plugins-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xdoclet-plugins-commits

Reply via email to