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-serv25895

Modified Files:
        EjbBeanTag.java EjbPermissionTag.java EjbPkFieldTag.java 
        EjbPkTag.java 
Log Message:
no message

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.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** EjbPkTag.java       13 Sep 2005 02:22:32 -0000      1.8
--- EjbPkTag.java       6 Oct 2005 13:45:29 -0000       1.9
***************
*** 1,52 ****
! /*
!  * Copyright (c) 2003
!  * XDoclet Team
!  * All rights reserved.
!  */
! package org.xdoclet.plugin.ejb.qtags;
! 
! import org.xdoclet.plugin.ejb.qtags.parameter.MethodPermissionRoles;
! import org.xdoclet.plugin.ejb.qtags.parameter.NamePattern;
! 
! /**
!  * Defines the primary key of an entity bean.<br>
!  * If the <entitypk/> subtask is included, then primary key classes will be 
generated for all entity beans
!  * unless a generate="false" parameter is present, or the primary class is in 
the java.lang package.
!  *
!  * @qtags.location class
!  * @qtags.once
!  */
! public interface EjbPkTag extends com.thoughtworks.qdox.model.DocletTag, 
MethodPermissionRoles, NamePattern {
!     /**
!      * The fully qualified name of the primary key class.<br>
!      * If absent the primary key class name will be determined using the 
pattern and package parameters.
!      */
!     String getClass_();
! 
!     /**
!      * Define which class the generated pk must extend.
!      */
!     String getExtends();
! 
!     /**
!      * Indicate if the primary key class should be generated.
!      *
!      * @qtags.default true
!      */
!     boolean isGenerate();
! 
!     /**
!      * Define which interface the generated pk must implement.
!      */
!     String getImplements();
! 
!     /**
!      * Indicates the interface (Home or LocalHome) for which the 
findByPrimaryKey permissions should be set.<br>
!      * Applies only if role-names or unchecked is specified.<br>
!      * If the permissions should apply to both Home or LocalHome interfaces, 
this parameter should not be specified.
!      *
!      * @qtags.allowed-value Home
!      * @qtags.allowed-value LocalHome
!      */
!     String getMethodIntf();
  }
\ No newline at end of file
--- 1,53 ----
! /*
!  * Copyright (c) 2003
!  * XDoclet Team
!  * All rights reserved.
!  */
! package org.xdoclet.plugin.ejb.qtags;
! 
! import org.xdoclet.plugin.ejb.qtags.parameter.MethodPermissionRoles;
! import org.xdoclet.plugin.ejb.qtags.parameter.NamePattern;
! 
! /**
!  * Defines the primary key of an entity bean.<br>
!  * If the <entitypk/> subtask is included, then primary key classes will be 
generated for all entity beans
!  * unless a generate="false" parameter is present, or the primary class is in 
the java.lang package.
!  *
!  * @qtags.location class
!  * @qtags.once
!  */
! public interface EjbPkTag extends com.thoughtworks.qdox.model.DocletTag, 
MethodPermissionRoles, NamePattern {
!     /**
!      * The fully qualified name of the primary key class.<br>
!      * If absent the primary key class name will be determined using the 
pattern and package parameters.
!      */
!     String getClass_();
! 
!     /**
!      * Define which class the generated pk must extend.
!      */
!     String getExtends();
! 
!     /**
!      * Indicate if the primary key class should be generated.<br>
!      * However this will only be used if needed (if more than one primary-key 
field is found, pex) 
!      *
!      * @qtags.default true
!      */
!     boolean isGenerate();
! 
!     /**
!      * Define which interfaces the generated pk must implement.
!      */
!     String[] getImplements();
! 
!     /**
!      * Indicates the interface (Home or LocalHome) for which the 
findByPrimaryKey permissions should be set.<br>
!      * Applies only if role-names or unchecked is specified.<br>
!      * If the permissions should apply to both Home or LocalHome interfaces, 
this parameter should not be specified.
!      *
!      * @qtags.allowed-value Home
!      * @qtags.allowed-value LocalHome
!      */
!     String getMethodIntf();
  }
\ No newline at end of file

Index: EjbPkFieldTag.java
===================================================================
RCS file: 
/cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-ejb/src/main/java/org/xdoclet/plugin/ejb/qtags/EjbPkFieldTag.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** EjbPkFieldTag.java  7 Sep 2005 01:13:08 -0000       1.3
--- EjbPkFieldTag.java  6 Oct 2005 13:45:29 -0000       1.4
***************
*** 1,20 ****
! /*
!  * Copyright (c) 2003
!  * XDoclet Team
!  * All rights reserved.
!  */
! package org.xdoclet.plugin.ejb.qtags;
! 
! /**
!  * Use this for methods with the following pattern:
!  * <ul> 
!  * <li>public abstract Foo getX().</li>
!  * </ul>
!  * This will denote the persistent field "X" as a primary key field, which 
will be included in the 
!  * generated primary key class.<br>
!  * Must be used with the persistent-field tag.<br>
!  * This tag is only valid for EntityBeans.<br>
!  * It has no parameters.
!  */
! public interface EjbPkFieldTag extends com.thoughtworks.qdox.model.DocletTag {
  }
\ No newline at end of file
--- 1,20 ----
! /*
!  * Copyright (c) 2003
!  * XDoclet Team
!  * All rights reserved.
!  */
! package org.xdoclet.plugin.ejb.qtags;
! 
! /**
!  * Use this for methods with the following pattern:
!  * <ul> 
!  * <li>public abstract Foo getX().</li>
!  * </ul>
!  * This will denote the persistent field "X" as a primary key field, which 
will be included in the 
!  * generated primary key class.<br>
!  * Must be used with the persistence tag.<br>
!  * This tag is only valid for EntityBeans.<br>
!  * It has no parameters.
!  */
! public interface EjbPkFieldTag extends com.thoughtworks.qdox.model.DocletTag {
  }
\ No newline at end of file

Index: EjbPermissionTag.java
===================================================================
RCS file: 
/cvsroot/xdoclet-plugins/xdoclet-plugins/plugin-ejb/src/main/java/org/xdoclet/plugin/ejb/qtags/EjbPermissionTag.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** EjbPermissionTag.java       7 Sep 2005 01:13:08 -0000       1.5
--- EjbPermissionTag.java       6 Oct 2005 13:45:29 -0000       1.6
***************
*** 1,36 ****
! /*
!  * Copyright (c) 2005
!  * XDoclet Team
!  * All rights reserved.
!  */
! package org.xdoclet.plugin.ejb.qtags;
! 
! import org.xdoclet.plugin.ejb.qtags.parameter.MethodPermissionRoles;
! import org.xdoclet.plugin.ejb.qtags.parameter.ViewType;
! 
! /**
!  * Defines the transactional behaviour for this method.<br>
!  * Applicable to methods with @ejb.create-method and @ejb.interface-method 
tags.<br>
!  * When used on class level applies to all interface methods cumulatively.
!  *
!  * @qtags.location method
!  * @qtags.location class
!  * @XXXqtags.once
!  */
! public interface EjbPermissionTag extends 
com.thoughtworks.qdox.model.DocletTag, MethodPermissionRoles, ViewType {
!     /**
!      * Session and Entity beans, EJB 2.0+<br>
!      * Indicates the method-interfaces for which this permission applies.<br>
!      * The type "ServiceEndpoint" is only applicable to EJB2.1 session 
beans.<br>
!      * This parameter is only applicable to class-level permission.<br>
!      * It must not be set if "view-type" is set.<br>
!      * Default value(s): all interfaces which are supported by the bean / 
method
!      *
!      * @qtags.allowed-value Remote
!      * @qtags.allowed-value Home
!      * @qtags.allowed-value Local
!      * @qtags.allowed-value LocalHome
!      * @qtags.allowed-value ServiceEndpoint
!      */
!     String getMethodIntf();
  }
\ No newline at end of file
--- 1,37 ----
! /*
!  * Copyright (c) 2005
!  * XDoclet Team
!  * All rights reserved.
!  */
! package org.xdoclet.plugin.ejb.qtags;
! 
! import org.xdoclet.plugin.ejb.qtags.parameter.MethodPermissionRoles;
! import org.xdoclet.plugin.ejb.qtags.parameter.ViewType;
! 
! /**
!  * Defines the transactional behaviour for this method.<br>
!  * Applicable to methods with @ejb.create-method and @ejb.interface-method 
tags,
!  * finder methods<br>
!  * When used on class level applies to all interface methods cumulatively.
!  *
!  * @qtags.location method
!  * @qtags.location class
!  * @XXXqtags.once
!  */
! public interface EjbPermissionTag extends 
com.thoughtworks.qdox.model.DocletTag, MethodPermissionRoles, ViewType {
!     /**
!      * Session and Entity beans, EJB 2.0+<br>
!      * Indicates the method-interfaces for which this permission applies.<br>
!      * The type "ServiceEndpoint" is only applicable to EJB2.1 session 
beans.<br>
!      * This parameter is only applicable to class-level permission.<br>
!      * It must not be set if "view-type" is set.<br>
!      * Default value(s): all interfaces which are supported by the bean / 
method
!      *
!      * @qtags.allowed-value Remote
!      * @qtags.allowed-value Home
!      * @qtags.allowed-value Local
!      * @qtags.allowed-value LocalHome
!      * @qtags.allowed-value ServiceEndpoint
!      */
!     String getMethodIntf();
  }
\ No newline at end of file

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.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** EjbBeanTag.java     13 Sep 2005 02:22:32 -0000      1.7
--- EjbBeanTag.java     6 Oct 2005 13:45:29 -0000       1.8
***************
*** 1,178 ****
! /*
!  * Copyright (c) 2003
!  * XDoclet Team
!  * All rights reserved.
!  */
! package org.xdoclet.plugin.ejb.qtags;
! 
! import org.xdoclet.plugin.ejb.qtags.parameter.JndiName;
! import org.xdoclet.plugin.ejb.qtags.parameter.ViewType;
! 
! /**
!  * The ejb.bean tag provides information about the EJB.<br> 
!  * It is the one compulsory tag for all EJBs, however not all parameters are 
applicable for all types of beans,
!  * and some parameters apply differently for different types of beans.
!  *
!  * @qtags.location class
!  * @qtags.once
!  */
! 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.
!      *
!      * @qtags.allowed-value Auto-acknowledge
!      * @qtags.allowed-value Dups-ok-acknowledge
!      */
!     String getAcknowledgeMode();
! 
!     /**
!      * Defines the version of the spec the bean is for CMP.
!      *
!      * @qtags.allowed-value 1.x
!      * @qtags.allowed-value 2.x
!      */
!     String getCmpVersion();
! 
!     /**
!      * A description of the bean.<br>
!      * Defaults to the first sentence of the class-level javadoc comment of 
the bean class.
!      */
!     String getDescription();
! 
!     /**
!      * Defines the type of destination for MDB.
!      *
!      * @qtags.allowed-value javax.jms.Queue
!      * @qtags.allowed-value javax.jms.Topic
!      */
!     String getDestinationType();
! 
!     /**
!      * The display name of the bean.
!      */
!     String getDisplayName();
! 
!     /**
!      * 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
!      */
!     boolean isGenerate();
! 
!     /**
!      * The large icon for the bean.
!      */
!     String getLargeIcon();
! 
!     /**
!      * 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.
!      */
!     String getLocalJndiName();
! 
!     /**
!      * Defines an optional message selector for MDB.
!      */
!     String getMessageSelector();
! 
!     /**
!      * Provides the name of the bean that will be used in the ejb-jar.xml 
deployment descriptor.
!      *
!      * @qtags.required
!      */
!     String getName_();
! 
!     /**
!      * Defines the primary key field for the bean as per spec.
!      */
!     String getPrimkeyField();
! 
!     /**
!      * Defines the entity bean's reentrancy.
!      *
!      * @qtags.default false
!      */
!     boolean isReentrant();
! 
!     /**
!      * 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();
! 
!     /**
!      * Defines the abstract schema name for the bean.
!      */
!     String getSchema();
! 
!     /**
!      * The small icon for the bean.
!      */
!     String getSmallIcon();
! 
!     /**
!      * Defines the durability of messages for MDB as per EJB 2.0 spec
!      *
!      * @qtags.allowed-value Durable
!      * @qtags.allowed-value NonDurable
!      */
!     String getSubscriptionDurability();
! 
!     /**
!      * Defines the bean's transaction type.
!      *
!      * @qtags.allowed-value Container
!      * @qtags.allowed-value Bean
!      * @qtags.default Container
!      */
!     String getTransactionType();
! 
!     /**
!      * 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
!      * @qtags.allowed-value BMP
!      * @qtags.allowed-value Stateless
!      * @qtags.allowed-value Stateful
!      */
!     String getType();
! 
!     /**
!      * 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();
  }
\ No newline at end of file
--- 1,180 ----
! /*
!  * Copyright (c) 2003
!  * XDoclet Team
!  * All rights reserved.
!  */
! package org.xdoclet.plugin.ejb.qtags;
! 
! import org.xdoclet.plugin.ejb.qtags.parameter.JndiName;
! import org.xdoclet.plugin.ejb.qtags.parameter.ViewType;
! 
! /**
!  * The ejb.bean tag provides information about the EJB.<br> 
!  * It is the one compulsory tag for all EJBs, however not all parameters are 
applicable for all types of beans,
!  * and some parameters apply differently for different types of beans.
!  *
!  * @qtags.location class
!  * @qtags.once
!  */
! 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.
!      *
!      * @qtags.allowed-value Auto-acknowledge
!      * @qtags.allowed-value Dups-ok-acknowledge
!      */
!     String getAcknowledgeMode();
! 
!     /**
!      * Defines the version of the spec the bean is for CMP.
!      *
!      * @qtags.allowed-value 1.x
!      * @qtags.allowed-value 2.x
!      */
!     String getCmpVersion();
! 
!     /**
!      * A description of the bean.<br>
!      * Defaults to the first sentence of the class-level javadoc comment of 
the bean class.
!      */
!     String getDescription();
! 
!     /**
!      * Defines the type of destination for MDB.
!      *
!      * @qtags.allowed-value javax.jms.Queue
!      * @qtags.allowed-value javax.jms.Topic
!      */
!     String getDestinationType();
! 
!     /**
!      * The display name of the bean.
!      */
!     String getDisplayName();
! 
!     /**
!      * 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
!      */
!     boolean isGenerate();
! 
!     /**
!      * The large icon for the bean.
!      */
!     String getLargeIcon();
! 
!     /**
!      * 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.
!      */
!     String getLocalJndiName();
! 
!     /**
!      * Defines an optional message selector for MDB.
!      */
!     String getMessageSelector();
! 
!     /**
!      * Provides the name of the bean that will be used in the ejb-jar.xml 
deployment descriptor.
!      *
!      * @qtags.required
!      */
!     String getName_();
! 
!     /**
!      * Defines the primary key field for the bean.<br>
!      * Use this if you have one field or use ejb.pk-field's.<br>
!      * The primary fields for a bean are found gathering this bean's primary 
fields and super's bean primary key field's.
!      */
!     String getPrimkeyField();
! 
!     /**
!      * Defines the entity bean's reentrancy.
!      *
!      * @qtags.default false
!      */
!     boolean isReentrant();
! 
!     /**
!      * 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();
! 
!     /**
!      * Defines the abstract schema name for the bean.
!      */
!     String getSchema();
! 
!     /**
!      * The small icon for the bean.
!      */
!     String getSmallIcon();
! 
!     /**
!      * Defines the durability of messages for MDB as per EJB 2.0 spec
!      *
!      * @qtags.allowed-value Durable
!      * @qtags.allowed-value NonDurable
!      */
!     String getSubscriptionDurability();
! 
!     /**
!      * Defines the bean's transaction type.
!      *
!      * @qtags.allowed-value Container
!      * @qtags.allowed-value Bean
!      * @qtags.default Container
!      */
!     String getTransactionType();
! 
!     /**
!      * 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
!      * @qtags.allowed-value BMP
!      * @qtags.allowed-value Stateless
!      * @qtags.allowed-value Stateful
!      */
!     String getType();
! 
!     /**
!      * 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();
  }
\ No newline at end of file



-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
xdoclet-plugins-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xdoclet-plugins-commits

Reply via email to