[jboss-cvs] JBossAS SVN: r90587 - in projects/ejb3/trunk/metadata-spi/src/main/java/org/jboss/ejb3/metadata/spi: jboss and 1 other directory.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Thu Jun 25 05:29:33 EDT 2009


Author: jaikiran
Date: 2009-06-25 05:29:33 -0400 (Thu, 25 Jun 2009)
New Revision: 90587

Modified:
   projects/ejb3/trunk/metadata-spi/src/main/java/org/jboss/ejb3/metadata/spi/javaee/ActivationConfigMetaData.java
   projects/ejb3/trunk/metadata-spi/src/main/java/org/jboss/ejb3/metadata/spi/javaee/ActivationConfigPropertyMetaData.java
   projects/ejb3/trunk/metadata-spi/src/main/java/org/jboss/ejb3/metadata/spi/javaee/MessageDrivenBeanMetaData.java
   projects/ejb3/trunk/metadata-spi/src/main/java/org/jboss/ejb3/metadata/spi/javaee/SessionBeanMetaData.java
   projects/ejb3/trunk/metadata-spi/src/main/java/org/jboss/ejb3/metadata/spi/jboss/JBossMessageDrivenBeanMetaData.java
   projects/ejb3/trunk/metadata-spi/src/main/java/org/jboss/ejb3/metadata/spi/jboss/JBossSessionBeanMetaData.java
Log:
EJBTHREE-1791 More javadocs and SPI work

Modified: projects/ejb3/trunk/metadata-spi/src/main/java/org/jboss/ejb3/metadata/spi/javaee/ActivationConfigMetaData.java
===================================================================
--- projects/ejb3/trunk/metadata-spi/src/main/java/org/jboss/ejb3/metadata/spi/javaee/ActivationConfigMetaData.java	2009-06-25 09:19:29 UTC (rev 90586)
+++ projects/ejb3/trunk/metadata-spi/src/main/java/org/jboss/ejb3/metadata/spi/javaee/ActivationConfigMetaData.java	2009-06-25 09:29:33 UTC (rev 90587)
@@ -1,8 +1,8 @@
 //
-// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6 
-// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
-// Any modifications to this file will be lost upon recompilation of the source schema. 
-// Generated on: 2009.06.08 at 07:12:16 PM IST 
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2009.06.08 at 07:12:16 PM IST
 //
 
 package org.jboss.ejb3.metadata.spi.javaee;
@@ -10,26 +10,26 @@
 import java.util.List;
 
 /**
- * 
- * 
+ *
+ *
  * 	The activation-configType defines information about the
  * 	expected configuration properties of the message-driven bean
  * 	in its operational environment. This may include information
  * 	about message acknowledgement, message selector, expected
  * 	destination type, etc.
- * 
+ *
  * 	The configuration information is expressed in terms of
  * 	name/value configuration properties.
- * 
+ *
  * 	The properties that are recognized for a particular
  * 	message-driven bean are determined by the messaging type.
- * 
- *       
- * 
+ *
+ *
+ *
  * <p>Java class for activation-configType complex type.
- * 
+ *
  * <p>The following schema fragment specifies the expected content contained within this class.
- * 
+ *
  * <pre>
  * &lt;complexType name="activation-configType">
  *   &lt;complexContent>
@@ -43,78 +43,51 @@
  *   &lt;/complexContent>
  * &lt;/complexType>
  * </pre>
- * 
- * 
+ *
+ *
  */
-public interface ActivationConfigMetaData
+public interface ActivationConfigMetaData extends IdMetaData
 {
 
    /**
     * Gets the value of the description property.
-    * 
+    *
     * <p>
     * This accessor method returns a reference to the live list,
     * not a snapshot. Therefore any modification you make to the
     * returned list will be present inside the JAXB object.
     * This is why there is not a <CODE>set</CODE> method for the description property.
-    * 
+    *
     * <p>
     * For example, to add a new item, do as follows:
     * <pre>
     *    getDescription().add(newItem);
     * </pre>
-    * 
-    * 
+    *
+    *
     * <p>
     * Objects of the following type(s) are allowed in the list
     * {@link DescriptionMetaData }
-    * 
-    * 
+    *
+    *
     */
    List<DescriptionMetaData> getDescription();
 
    /**
-    * Gets the value of the activationConfigProperty property.
-    * 
-    * <p>
-    * This accessor method returns a reference to the live list,
-    * not a snapshot. Therefore any modification you make to the
-    * returned list will be present inside the JAXB object.
-    * This is why there is not a <CODE>set</CODE> method for the activationConfigProperty property.
-    * 
-    * <p>
-    * For example, to add a new item, do as follows:
-    * <pre>
-    *    getActivationConfigProperty().add(newItem);
-    * </pre>
-    * 
-    * 
-    * <p>
-    * Objects of the following type(s) are allowed in the list
-    * {@link ActivationConfigPropertyMetaData }
-    * 
-    * 
+    * @return Returns the list of activation config properties.
+    *
+    * Returns an empty list if there are no such properties.
+    *
+    * It's upto the implementation to return either a modifiable
+    * or an unmodifiable list.
     */
-   List<ActivationConfigPropertyMetaData> getActivationConfigProperty();
+   List<ActivationConfigPropertyMetaData> getActivationConfigProperties();
 
    /**
-    * Gets the value of the id property.
-    * 
-    * @return
-    *     possible object is
-    *     {@link java.lang.String }
-    *     
+    * Sets the activation config properties
+    *
+    * @param activationConfigProperties Activation config properties
     */
-   java.lang.String getId();
+   void setActivationConfigProperties(List<ActivationConfigPropertyMetaData> activationConfigProperties);
 
-   /**
-    * Sets the value of the id property.
-    * 
-    * @param value
-    *     allowed object is
-    *     {@link java.lang.String }
-    *     
-    */
-   void setId(java.lang.String value);
-
 }

Modified: projects/ejb3/trunk/metadata-spi/src/main/java/org/jboss/ejb3/metadata/spi/javaee/ActivationConfigPropertyMetaData.java
===================================================================
--- projects/ejb3/trunk/metadata-spi/src/main/java/org/jboss/ejb3/metadata/spi/javaee/ActivationConfigPropertyMetaData.java	2009-06-25 09:19:29 UTC (rev 90586)
+++ projects/ejb3/trunk/metadata-spi/src/main/java/org/jboss/ejb3/metadata/spi/javaee/ActivationConfigPropertyMetaData.java	2009-06-25 09:29:33 UTC (rev 90587)
@@ -1,27 +1,27 @@
 //
-// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6 
-// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
-// Any modifications to this file will be lost upon recompilation of the source schema. 
-// Generated on: 2009.06.08 at 07:12:16 PM IST 
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2009.06.08 at 07:12:16 PM IST
 //
 
 package org.jboss.ejb3.metadata.spi.javaee;
 
 /**
- * 
- * 
+ *
+ *
  * 	The activation-config-propertyType contains a name/value
  * 	configuration property pair for a message-driven bean.
- * 
+ *
  * 	The properties that are recognized for a particular
  * 	message-driven bean are determined by the messaging type.
- * 
- *       
- * 
+ *
+ *
+ *
  * <p>Java class for activation-config-propertyType complex type.
- * 
+ *
  * <p>The following schema fragment specifies the expected content contained within this class.
- * 
+ *
  * <pre>
  * &lt;complexType name="activation-config-propertyType">
  *   &lt;complexContent>
@@ -35,70 +35,40 @@
  *   &lt;/complexContent>
  * &lt;/complexType>
  * </pre>
- * 
- * 
+ *
+ *
  */
-public interface ActivationConfigPropertyMetaData
+public interface ActivationConfigPropertyMetaData extends IdMetaData
 {
 
    /**
-    * Gets the value of the activationConfigPropertyName property.
-    * 
-    * @return
-    *     possible object is
-    *     {@link XsdStringType }
-    *     
+    *
+    * @return Returns the activation config property name
+    *
     */
    String getActivationConfigPropertyName();
 
    /**
-    * Sets the value of the activationConfigPropertyName property.
-    * 
-    * @param value
-    *     allowed object is
-    *     {@link XsdStringType }
-    *     
+    * Sets the activation config property name
+    *
+    * @param activationConfigPropertyName The activation config property name
+    *
     */
-   void setActivationConfigPropertyName(String value);
+   void setActivationConfigPropertyName(String activationConfigPropertyName);
 
    /**
-    * Gets the value of the activationConfigPropertyValue property.
-    * 
-    * @return
-    *     possible object is
-    *     {@link XsdStringType }
-    *     
+    *
+    * @return Returns the activation config property value
+    *
     */
    String getActivationConfigPropertyValue();
 
    /**
-    * Sets the value of the activationConfigPropertyValue property.
-    * 
-    * @param value
-    *     allowed object is
-    *     {@link XsdStringType }
-    *     
+    * Sets the activation config property value
+    *
+    * @param activationConfigPropertyValue The activation config property value
+    *
     */
-   void setActivationConfigPropertyValue(String value);
+   void setActivationConfigPropertyValue(String activationConfigPropertyValue);
 
-   /**
-    * Gets the value of the id property.
-    * 
-    * @return
-    *     possible object is
-    *     {@link java.lang.String }
-    *     
-    */
-   java.lang.String getId();
-
-   /**
-    * Sets the value of the id property.
-    * 
-    * @param value
-    *     allowed object is
-    *     {@link java.lang.String }
-    *     
-    */
-   void setId(java.lang.String value);
-
 }

Modified: projects/ejb3/trunk/metadata-spi/src/main/java/org/jboss/ejb3/metadata/spi/javaee/MessageDrivenBeanMetaData.java
===================================================================
--- projects/ejb3/trunk/metadata-spi/src/main/java/org/jboss/ejb3/metadata/spi/javaee/MessageDrivenBeanMetaData.java	2009-06-25 09:19:29 UTC (rev 90586)
+++ projects/ejb3/trunk/metadata-spi/src/main/java/org/jboss/ejb3/metadata/spi/javaee/MessageDrivenBeanMetaData.java	2009-06-25 09:29:33 UTC (rev 90587)
@@ -1,8 +1,8 @@
 //
-// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6 
-// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
-// Any modifications to this file will be lost upon recompilation of the source schema. 
-// Generated on: 2009.06.08 at 07:12:16 PM IST 
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2009.06.08 at 07:12:16 PM IST
 //
 
 package org.jboss.ejb3.metadata.spi.javaee;
@@ -10,11 +10,11 @@
 import java.util.List;
 
 /**
- * 
- * 
+ *
+ *
  * 	The message-driven element declares a message-driven
  * 	bean. The declaration consists of:
- * 
+ *
  * 	    - an optional description
  * 	    - an optional display name
  * 	    - an optional icon element that contains a small and a large
@@ -57,13 +57,13 @@
  * 	      environment references.
  * 	    - an optional declaration of the bean's message
  * 	      destination references
- * 
- *       
- * 
+ *
+ *
+ *
  * <p>Java class for message-driven-beanType complex type.
- * 
+ *
  * <p>The following schema fragment specifies the expected content contained within this class.
- * 
+ *
  * <pre>
  * &lt;complexType name="message-driven-beanType">
  *   &lt;complexContent>
@@ -88,590 +88,464 @@
  *   &lt;/complexContent>
  * &lt;/complexType>
  * </pre>
- * 
- * 
+ *
+ *
  */
-public interface MessageDrivenBeanMetaData
+public interface MessageDrivenBeanMetaData extends IdMetaData
 {
 
    /**
     * Gets the value of the description property.
-    * 
+    *
     * <p>
     * This accessor method returns a reference to the live list,
     * not a snapshot. Therefore any modification you make to the
     * returned list will be present inside the JAXB object.
     * This is why there is not a <CODE>set</CODE> method for the description property.
-    * 
+    *
     * <p>
     * For example, to add a new item, do as follows:
     * <pre>
     *    getDescription().add(newItem);
     * </pre>
-    * 
-    * 
+    *
+    *
     * <p>
     * Objects of the following type(s) are allowed in the list
     * {@link DescriptionMetaData }
-    * 
-    * 
+    *
+    *
     */
    List<DescriptionMetaData> getDescription();
 
    /**
     * Gets the value of the displayName property.
-    * 
+    *
     * <p>
     * This accessor method returns a reference to the live list,
     * not a snapshot. Therefore any modification you make to the
     * returned list will be present inside the JAXB object.
     * This is why there is not a <CODE>set</CODE> method for the displayName property.
-    * 
+    *
     * <p>
     * For example, to add a new item, do as follows:
     * <pre>
     *    getDisplayName().add(newItem);
     * </pre>
-    * 
-    * 
+    *
+    *
     * <p>
     * Objects of the following type(s) are allowed in the list
     * {@link DisplayNameMetaData }
-    * 
-    * 
+    *
+    *
     */
    List<DisplayNameMetaData> getDisplayName();
 
    /**
     * Gets the value of the icon property.
-    * 
+    *
     * <p>
     * This accessor method returns a reference to the live list,
     * not a snapshot. Therefore any modification you make to the
     * returned list will be present inside the JAXB object.
     * This is why there is not a <CODE>set</CODE> method for the icon property.
-    * 
+    *
     * <p>
     * For example, to add a new item, do as follows:
     * <pre>
     *    getIcon().add(newItem);
     * </pre>
-    * 
-    * 
+    *
+    *
     * <p>
     * Objects of the following type(s) are allowed in the list
     * {@link IconType }
-    * 
-    * 
+    *
+    *
     */
    List<IconType> getIcon();
 
    /**
-    * Gets the value of the ejbName property.
-    * 
-    * @return
-    *     possible object is
-    *     {@link EjbNameType }
-    *     
+    *
+    * @return Returns the name of this message driven bean
+    *
     */
    String getEjbName();
 
    /**
-    * Sets the value of the ejbName property.
-    * 
-    * @param value
-    *     allowed object is
-    *     {@link EjbNameType }
-    *     
+    * Sets the name of this message driven bean
+    *
+    * @param ejbName The name of the bean
+    *
     */
    void setEjbName(String value);
 
    /**
-    * Gets the value of the mappedName property.
-    * 
-    * @return
-    *     possible object is
-    *     {@link XsdStringType }
-    *     
+    *
+    * @return Returns the mapped-name of this message driven bean
+    *
     */
    String getMappedName();
 
    /**
-    * Sets the value of the mappedName property.
-    * 
-    * @param value
-    *     allowed object is
-    *     {@link XsdStringType }
-    *     
+    * Sets the mapped-name of this message driven bean
+    *
+    * @param mappedName Mapped name of the bean
+    *
     */
-   void setMappedName(String value);
+   void setMappedName(String mappedName);
 
    /**
-    * Gets the value of the ejbClass property.
-    * 
-    * @return
-    *     possible object is
-    *     {@link EjbClassType }
-    *     
+    *
+    * @return Returns the fully qualified classname of this message driven bean
+    *
     */
    String getEjbClass();
 
    /**
-    * Sets the value of the ejbClass property.
-    * 
-    * @param value
-    *     allowed object is
-    *     {@link EjbClassType }
-    *     
+    * Sets the fully qualified classname of the message driven bean
+    *
+    * @param ejbClassname Fully qualified classname of the message driven bean
+    *
     */
-   void setEjbClass(String value);
+   void setEjbClass(String ejbClassname);
 
    /**
-    * Gets the value of the messagingType property.
-    * 
-    * @return
-    *     possible object is
-    *     {@link FullyQualifiedClassType }
-    *     
+    *
+    * @return Returns the fully qualified classname of the message
+    * listener interface of this message-driven bean.
+    *
     */
    String getMessagingType();
 
    /**
-    * Sets the value of the messagingType property.
-    * 
-    * @param value
-    *     allowed object is
-    *     {@link FullyQualifiedClassType }
-    *     
+    * Sets the fully qualified classname of the message
+    * listener interface of this message-driven bean.
+    *
+    * @param messageListenerType Fully qualified classname of the message listener
+    * interface of this bean
+    *
     */
-   void setMessagingType(String value);
+   void setMessagingType(String messageListenerType);
 
    /**
-    * Gets the value of the timeoutMethod property.
-    * 
-    * @return
-    *     possible object is
-    *     {@link NamedMethodMetaData }
-    *     
+    *
+    * @return  Returns the timeout method of this bean.
+    *
+    * Returns null if there is no such method
+    *
     */
    NamedMethodMetaData getTimeoutMethod();
 
    /**
-    * Sets the value of the timeoutMethod property.
-    * 
-    * @param value
-    *     allowed object is
-    *     {@link NamedMethodMetaData }
-    *     
+    * Sets the timeout-method of this bean
+    *
+    * @param timeoutMethod The timeout method metadata
+    *
     */
-   void setTimeoutMethod(NamedMethodMetaData value);
+   void setTimeoutMethod(NamedMethodMetaData timeoutMethod);
 
    /**
-    * Gets the value of the transactionType property.
-    * 
-    * @return
-    *     possible object is
-    *     {@link TransactionTypeType }
-    *     
+    * Returns the transaction type of this bean
+    *
     */
-   String getTransactionType();
+   TransactionType getTransactionType();
 
    /**
-    * Sets the value of the transactionType property.
-    * 
-    * @param value
-    *     allowed object is
-    *     {@link TransactionTypeType }
-    *     
+    * Sets the transaction type of this bean
+    *
+    * @param transactionType The transaction type of this bean
+    *
     */
-   void setTransactionType(String value);
+   void setTransactionType(TransactionType transactionType);
 
    /**
-    * Gets the value of the messageDestinationType property.
-    * 
-    * @return
-    *     possible object is
-    *     {@link MessageDestinationTypeType }
-    *     
+    *
+    * @return Returns the destination type associated with this
+    * message driven bean. The destination type is the fully qualified
+    * classname of the interface expected to be implemented by the destination.
+    *
+    *  Ex: javax.jms.Queue
+    *
     */
    String getMessageDestinationType();
 
    /**
-    * Sets the value of the messageDestinationType property.
-    * 
-    * @param value
-    *     allowed object is
-    *     {@link MessageDestinationTypeType }
-    *     
+    * Sets the destination type associated with this
+    * message driven bean. The destination type is the fully qualified
+    * classname of the interface expected to be implemented by the destination.
+    *
+    * @param destinationType Fully qualified classname of the interface implemented
+    * by the destination
+    *
     */
-   void setMessageDestinationType(String value);
+   void setMessageDestinationType(String destinationType);
 
    /**
-    * Gets the value of the messageDestinationLink property.
-    * 
-    * @return
-    *     possible object is
-    *     {@link MessageDestinationLinkType }
-    *     
+    *
+    * @return Returns the message destination link. The message-destination-link
+    * is used to link a message destination reference or message-driven bean to a message
+    * destination.
     */
    String getMessageDestinationLink();
 
    /**
-    * Sets the value of the messageDestinationLink property.
-    * 
-    * @param value
-    *     allowed object is
-    *     {@link MessageDestinationLinkType }
-    *     
+    * Sets the message destination link.
+    * The message-destination-link is used to link a message destination reference
+    * or message-driven bean to a message
+    *
+    * @param destinationLink
+    *
     */
-   void setMessageDestinationLink(String value);
+   void setMessageDestinationLink(String destinationLink);
 
    /**
-    * Gets the value of the activationConfig property.
-    * 
-    * @return
-    *     possible object is
-    *     {@link ActivationConfigMetaData }
-    *     
+    *
+    * @return Returns the activation config associated with this message driven bean
+    *
     */
    ActivationConfigMetaData getActivationConfig();
 
    /**
-    * Sets the value of the activationConfig property.
-    * 
-    * @param value
-    *     allowed object is
-    *     {@link ActivationConfigMetaData }
-    *     
+    * Sets the activation configuration for this message driven bean
+    *
+    * @param activationConfig
+    *
     */
-   void setActivationConfig(ActivationConfigMetaData value);
+   void setActivationConfig(ActivationConfigMetaData activationConfig);
 
    /**
-    * Gets the value of the aroundInvoke property.
-    * 
-    * <p>
-    * This accessor method returns a reference to the live list,
-    * not a snapshot. Therefore any modification you make to the
-    * returned list will be present inside the JAXB object.
-    * This is why there is not a <CODE>set</CODE> method for the aroundInvoke property.
-    * 
-    * <p>
-    * For example, to add a new item, do as follows:
-    * <pre>
-    *    getAroundInvoke().add(newItem);
-    * </pre>
-    * 
-    * 
-    * <p>
-    * Objects of the following type(s) are allowed in the list
-    * {@link AroundInvokeMetaData }
-    * 
-    * 
+    * Returns a list of around-invoke metadata of this bean.
+    * Returns an empty list if there is no around-invoke for this bean
+    *
+    * It's upto the implementation to return either a modifiable
+    * or an unmodifiable list.
+    *
     */
-   List<AroundInvokeMetaData> getAroundInvoke();
+   List<AroundInvokeMetaData> getAroundInvokes();
 
    /**
-    * Gets the value of the envEntry property.
-    * 
-    * <p>
-    * This accessor method returns a reference to the live list,
-    * not a snapshot. Therefore any modification you make to the
-    * returned list will be present inside the JAXB object.
-    * This is why there is not a <CODE>set</CODE> method for the envEntry property.
-    * 
-    * <p>
-    * For example, to add a new item, do as follows:
-    * <pre>
-    *    getEnvEntry().add(newItem);
-    * </pre>
-    * 
-    * 
-    * <p>
-    * Objects of the following type(s) are allowed in the list
-    * {@link EnvEntryMetaData }
-    * 
-    * 
+    * Sets the list of around-invoke metadata of the bean.
+    *
+    * @param aroundInvokes
     */
-   List<EnvEntryMetaData> getEnvEntry();
+   void setAroundInvokes(List<AroundInvokeMetaData> aroundInvokes);
 
    /**
-    * Gets the value of the ejbRef property.
-    * 
-    * <p>
-    * This accessor method returns a reference to the live list,
-    * not a snapshot. Therefore any modification you make to the
-    * returned list will be present inside the JAXB object.
-    * This is why there is not a <CODE>set</CODE> method for the ejbRef property.
-    * 
-    * <p>
-    * For example, to add a new item, do as follows:
-    * <pre>
-    *    getEjbRef().add(newItem);
-    * </pre>
-    * 
-    * 
-    * <p>
-    * Objects of the following type(s) are allowed in the list
-    * {@link EjbRefMetaData }
-    * 
-    * 
+    * Returns a list of env-entry metadata of this bean.
+    *
+    * Returns an empty list if there is no env-entry.
+    *
+    * It's upto the implementation to return either a modifiable
+    * or an unmodifiable list.
+    *
+    *
     */
-   List<EjbRefMetaData> getEjbRef();
+   List<EnvEntryMetaData> getEnvEntries();
 
    /**
-    * Gets the value of the ejbLocalRef property.
-    * 
-    * <p>
-    * This accessor method returns a reference to the live list,
-    * not a snapshot. Therefore any modification you make to the
-    * returned list will be present inside the JAXB object.
-    * This is why there is not a <CODE>set</CODE> method for the ejbLocalRef property.
-    * 
-    * <p>
-    * For example, to add a new item, do as follows:
-    * <pre>
-    *    getEjbLocalRef().add(newItem);
-    * </pre>
-    * 
-    * 
-    * <p>
-    * Objects of the following type(s) are allowed in the list
-    * {@link EjbLocalRefMetaData }
-    * 
-    * 
+    * Sets the list of env-entry metadata of this bean
+    *
+    * @param envEntries The list of env-entry of this bean
     */
-   List<EjbLocalRefMetaData> getEjbLocalRef();
+   void setEnvEntries(List<EnvEntryMetaData> envEntries);
 
    /**
-    * Gets the value of the serviceRef property.
-    * 
-    * <p>
-    * This accessor method returns a reference to the live list,
-    * not a snapshot. Therefore any modification you make to the
-    * returned list will be present inside the JAXB object.
-    * This is why there is not a <CODE>set</CODE> method for the serviceRef property.
-    * 
-    * <p>
-    * For example, to add a new item, do as follows:
-    * <pre>
-    *    getServiceRef().add(newItem);
-    * </pre>
-    * 
-    * 
-    * <p>
-    * Objects of the following type(s) are allowed in the list
-    * {@link ServiceRefMetaData }
-    * 
-    * 
+    * Returns the list of EJB references of this bean
+    * Returns an empty list if there is no EJB reference for this bean.
+    *
+    * It's upto the implementation to return either a modifiable
+    * or an unmodifiable list.
+    *
+    *
     */
-   List<ServiceRefMetaData> getServiceRef();
+   List<EjbRefMetaData> getEjbRefs();
 
    /**
-    * Gets the value of the resourceRef property.
-    * 
-    * <p>
-    * This accessor method returns a reference to the live list,
-    * not a snapshot. Therefore any modification you make to the
-    * returned list will be present inside the JAXB object.
-    * This is why there is not a <CODE>set</CODE> method for the resourceRef property.
-    * 
-    * <p>
-    * For example, to add a new item, do as follows:
-    * <pre>
-    *    getResourceRef().add(newItem);
-    * </pre>
-    * 
-    * 
-    * <p>
-    * Objects of the following type(s) are allowed in the list
-    * {@link ResourceRefMetaData }
-    * 
-    * 
+    * Sets the list of EJB references for this bean
+    *
+    * @param ejbRefs The list of EJB references
     */
-   List<ResourceRefMetaData> getResourceRef();
+   void setEjbRefs(List<EjbRefMetaData> ejbRefs);
 
    /**
-    * Gets the value of the resourceEnvRef property.
-    * 
-    * <p>
-    * This accessor method returns a reference to the live list,
-    * not a snapshot. Therefore any modification you make to the
-    * returned list will be present inside the JAXB object.
-    * This is why there is not a <CODE>set</CODE> method for the resourceEnvRef property.
-    * 
-    * <p>
-    * For example, to add a new item, do as follows:
-    * <pre>
-    *    getResourceEnvRef().add(newItem);
-    * </pre>
-    * 
-    * 
-    * <p>
-    * Objects of the following type(s) are allowed in the list
-    * {@link ResourceEnvRefMetaData }
-    * 
-    * 
+    * Returns the list of EJB local references of this bean
+    * Returns an empty list if there is no EJB local reference for this bean.
+    *
+    * It's upto the implementation to return either a modifiable
+    * or an unmodifiable list.
+    *
     */
-   List<ResourceEnvRefMetaData> getResourceEnvRef();
+   List<EjbLocalRefMetaData> getEjbLocalRefs();
 
    /**
+    * Sets the list of EJB local references for this bean
+    *
+    * @param ejbLocalRefs The list of EJB local references
+    */
+   void setEjbLocalRefs(List<EjbLocalRefMetaData> ejbLocalRefs);
+
+   /**
+    * Returns the list of web service reference(s) of this bean.
+    * Returns an empty list if there are no such references.
+    *
+    * It's upto the implementation to return either a modifiable
+    * or an unmodifiable list.
+    *
+    */
+   List<ServiceRefMetaData> getServiceRefs();
+
+   /**
+    * Sets the list of web service references for this bean
+    *
+    * @param serviceRefs The service references
+    */
+   void setServiceRefs(List<ServiceRefMetaData> serviceRefs);
+
+   /**
+    * @return Returns the list of resource references of this bean.
+    * Returns an empty list if there are no such references.
+    *
+    * It's upto the implementation to return either a modifiable
+    * or an unmodifiable list
+    *
+    *
+    */
+   List<ResourceRefMetaData> getResourceRefs();
+
+   /**
+    * Sets the resource references of this bean
+    *
+    * @param resourceRefs List of resource references of this bean
+    */
+   void setResourceRefs(List<ResourceRefMetaData> resourceRefs);
+
+   /**
+    * @return Returns the list of resource environment references of this bean.
+    * Returns an empty list if there are no such references.
+    *
+    * It's upto the implementation to return either a modifiable
+    * or an unmodifiable list
+    *
+    *
+    */
+   List<ResourceEnvRefMetaData> getResourceEnvRefs();
+
+   /**
+    * Sets the resource env references of this bean
+    *
+    * @param resourceEnvRefs
+    */
+   void setResourceEnvRefs(List<ResourceEnvRefMetaData> resourceEnvRefs);
+
+   /**
     * Gets the value of the messageDestinationRef property.
-    * 
+    *
     * <p>
     * This accessor method returns a reference to the live list,
     * not a snapshot. Therefore any modification you make to the
     * returned list will be present inside the JAXB object.
     * This is why there is not a <CODE>set</CODE> method for the messageDestinationRef property.
-    * 
+    *
     * <p>
     * For example, to add a new item, do as follows:
     * <pre>
     *    getMessageDestinationRef().add(newItem);
     * </pre>
-    * 
-    * 
+    *
+    *
     * <p>
     * Objects of the following type(s) are allowed in the list
     * {@link MessageDestinationRefType }
-    * 
-    * 
+    *
+    *
     */
    // TODO: We need this. Revisit this
    //List<MessageDestinationRefType> getMessageDestinationRef();
    /**
-    * Gets the value of the persistenceContextRef property.
-    * 
-    * <p>
-    * This accessor method returns a reference to the live list,
-    * not a snapshot. Therefore any modification you make to the
-    * returned list will be present inside the JAXB object.
-    * This is why there is not a <CODE>set</CODE> method for the persistenceContextRef property.
-    * 
-    * <p>
-    * For example, to add a new item, do as follows:
-    * <pre>
-    *    getPersistenceContextRef().add(newItem);
-    * </pre>
-    * 
-    * 
-    * <p>
-    * Objects of the following type(s) are allowed in the list
-    * {@link PersistenceContextRefMetaData }
-    * 
-    * 
+    * @return Returns the list of persistence context references of this bean
+    *
+    * Returns an empty list if there are no such references.
+    *
+    * It's upto the implementation to return either a modifiable
+    * or an unmodifiable list
+    *
     */
-   List<PersistenceContextRefMetaData> getPersistenceContextRef();
+   List<PersistenceContextRefMetaData> getPersistenceContextRefs();
 
    /**
-    * Gets the value of the persistenceUnitRef property.
-    * 
-    * <p>
-    * This accessor method returns a reference to the live list,
-    * not a snapshot. Therefore any modification you make to the
-    * returned list will be present inside the JAXB object.
-    * This is why there is not a <CODE>set</CODE> method for the persistenceUnitRef property.
-    * 
-    * <p>
-    * For example, to add a new item, do as follows:
-    * <pre>
-    *    getPersistenceUnitRef().add(newItem);
-    * </pre>
-    * 
-    * 
-    * <p>
-    * Objects of the following type(s) are allowed in the list
-    * {@link PersistenceUnitRefMetaData }
-    * 
-    * 
+    * Sets the list of persistence context references of this bean
+    *
+    * @param persistenceContextRefs The persistence context references
     */
-   List<PersistenceUnitRefMetaData> getPersistenceUnitRef();
+   void setPeristenceContextRefs(List<PersistenceContextRefMetaData> persistenceContextRefs);
 
    /**
-    * Gets the value of the postConstruct property.
-    * 
-    * <p>
-    * This accessor method returns a reference to the live list,
-    * not a snapshot. Therefore any modification you make to the
-    * returned list will be present inside the JAXB object.
-    * This is why there is not a <CODE>set</CODE> method for the postConstruct property.
-    * 
-    * <p>
-    * For example, to add a new item, do as follows:
-    * <pre>
-    *    getPostConstruct().add(newItem);
-    * </pre>
-    * 
-    * 
-    * <p>
-    * Objects of the following type(s) are allowed in the list
-    * {@link LifecycleCallbackMetaData }
-    * 
-    * 
+    * @returns Returns the persistence unit references associated with this bean
+    *
+    * Returns an empty list if there are no such references.
+    *
+    * It's upto the implementation to return either a modifiable
+    * or an unmodifiable list
+    *
     */
-   List<LifecycleCallbackMetaData> getPostConstruct();
+   List<PersistenceUnitRefMetaData> getPersistenceUnitRefs();
 
    /**
-    * Gets the value of the preDestroy property.
-    * 
-    * <p>
-    * This accessor method returns a reference to the live list,
-    * not a snapshot. Therefore any modification you make to the
-    * returned list will be present inside the JAXB object.
-    * This is why there is not a <CODE>set</CODE> method for the preDestroy property.
-    * 
-    * <p>
-    * For example, to add a new item, do as follows:
-    * <pre>
-    *    getPreDestroy().add(newItem);
-    * </pre>
-    * 
-    * 
-    * <p>
-    * Objects of the following type(s) are allowed in the list
-    * {@link LifecycleCallbackMetaData }
-    * 
-    * 
+    * Sets the persistence unit references
+    *
+    * @param persistenceUnitRefs The persistence unit references of this bean
     */
-   List<LifecycleCallbackMetaData> getPreDestroy();
+   void setPersistenceUnitRefs(List<PersistenceUnitRefMetaData> persistenceUnitRefs);
 
    /**
-    * Gets the value of the securityIdentity property.
-    * 
-    * @return
-    *     possible object is
-    *     {@link SecurityIdentityMetaData }
-    *     
+    * @return Returns a list of post-construct methods associated with this bean
+    * Returns an empty list if there are no post-constructs.
+    *
+    * It's upto the implementation to return either a modifiable
+    * or an unmodifiable list
+    *
     */
-   SecurityIdentityMetaData getSecurityIdentity();
+   List<LifecycleCallbackMetaData> getPostConstructs();
 
    /**
-    * Sets the value of the securityIdentity property.
-    * 
-    * @param value
-    *     allowed object is
-    *     {@link SecurityIdentityMetaData }
-    *     
+    * Sets the post-constructs associated with this bean
+    *
+    * @param postConstructs The list of post-constructs
     */
-   void setSecurityIdentity(SecurityIdentityMetaData value);
+   void setPostConstructs(List<LifecycleCallbackMetaData> postConstructs);
 
    /**
-    * Gets the value of the id property.
-    * 
-    * @return
-    *     possible object is
-    *     {@link java.lang.String }
-    *     
+    * @return Returns a list of pre-destroy methods associated with this bean
+    * Returns an empty list if there are no pre-destroy callbacks for this bean.
+    *
+    * It's upto the implementation to return either a modifiable
+    * or an unmodifiable list
+    *
+    *
     */
-   java.lang.String getId();
+   List<LifecycleCallbackMetaData> getPreDestroys();
 
    /**
-    * Sets the value of the id property.
-    * 
-    * @param value
-    *     allowed object is
-    *     {@link java.lang.String }
-    *     
+    * Sets the list of pre-destroy callbacks associated with this bean
+    *
+    * @param preDestroys The list of pre-destroys for this bean
     */
-   void setId(java.lang.String value);
+   void setPreDestroys(List<LifecycleCallbackMetaData> preDestroys);
 
+   /**
+    * @return Returns the security identity associated with this bean
+    *
+    */
+   SecurityIdentityMetaData getSecurityIdentity();
+
+   /**
+    * Sets the security identity associated with this bean
+    *
+    * @param securityIdentity The security identity associated with this bean
+    *
+    */
+   void setSecurityIdentity(SecurityIdentityMetaData securityIdentity);
+
 }

Modified: projects/ejb3/trunk/metadata-spi/src/main/java/org/jboss/ejb3/metadata/spi/javaee/SessionBeanMetaData.java
===================================================================
--- projects/ejb3/trunk/metadata-spi/src/main/java/org/jboss/ejb3/metadata/spi/javaee/SessionBeanMetaData.java	2009-06-25 09:19:29 UTC (rev 90586)
+++ projects/ejb3/trunk/metadata-spi/src/main/java/org/jboss/ejb3/metadata/spi/javaee/SessionBeanMetaData.java	2009-06-25 09:29:33 UTC (rev 90587)
@@ -600,7 +600,6 @@
     */
    void setResourceRefs(List<ResourceRefMetaData> resourceRefs);
 
-
    /**
     * @return Returns the list of resource environment references of this bean.
     * Returns an empty list if there are no such references.
@@ -643,7 +642,6 @@
     */
    // TODO: Revisit, we need this
    //List<MessageDestinationRefType> getMessageDestinationRef();
-
    /**
     * @return Returns the list of persistence context references of this bean
     *
@@ -662,7 +660,6 @@
     */
    void setPeristenceContextRefs(List<PersistenceContextRefMetaData> persistenceContextRefs);
 
-
    /**
     * @returns Returns the persistence unit references associated with this bean
     *
@@ -782,6 +779,4 @@
     */
    void setSecurityIdentity(SecurityIdentityMetaData securityIdentity);
 
-
-
 }

Modified: projects/ejb3/trunk/metadata-spi/src/main/java/org/jboss/ejb3/metadata/spi/jboss/JBossMessageDrivenBeanMetaData.java
===================================================================
--- projects/ejb3/trunk/metadata-spi/src/main/java/org/jboss/ejb3/metadata/spi/jboss/JBossMessageDrivenBeanMetaData.java	2009-06-25 09:19:29 UTC (rev 90586)
+++ projects/ejb3/trunk/metadata-spi/src/main/java/org/jboss/ejb3/metadata/spi/jboss/JBossMessageDrivenBeanMetaData.java	2009-06-25 09:29:33 UTC (rev 90587)
@@ -1,8 +1,8 @@
 //
-// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6 
-// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
-// Any modifications to this file will be lost upon recompilation of the source schema. 
-// Generated on: 2009.06.08 at 07:12:16 PM IST 
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
+// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
+// Any modifications to this file will be lost upon recompilation of the source schema.
+// Generated on: 2009.06.08 at 07:12:16 PM IST
 //
 
 package org.jboss.ejb3.metadata.spi.jboss;
@@ -15,12 +15,12 @@
  *  The message-driven element holds information specific to jboss and not
  *             declared in ejb-jar.xml about a message-driven bean, such as container configuration and
  *             resources. The bean should already be declared in ejb-jar.xml, with the same ejb-name.
- *          
- * 
+ *
+ *
  * <p>Java class for message-driven-beanType complex type.
- * 
+ *
  * <p>The following schema fragment specifies the expected content contained within this class.
- * 
+ *
  * <pre>
  * &lt;complexType name="message-driven-beanType">
  *   &lt;complexContent>
@@ -58,366 +58,295 @@
  *   &lt;/complexContent>
  * &lt;/complexType>
  * </pre>
- * 
- * 
+ *
+ *
  */
 public interface JBossMessageDrivenBeanMetaData extends MessageDrivenBeanMetaData
 {
 
    /**
-    * Gets the value of the destinationJndiName property.
-    * 
-    * @return
-    *     possible object is
-    *     {@link DestinationJndiNameType }
-    *     
+    *
+    * @return Returns the jndi name of the destination on which this message driven
+    * bean is listening.
+    *
     */
    String getDestinationJndiName();
 
    /**
-    * Sets the value of the destinationJndiName property.
-    * 
-    * @param value
-    *     allowed object is
-    *     {@link DestinationJndiNameType }
-    *     
+    * Sets the jndi name of the destination
+    *
+    * @param destinationJndiName The jndi name of the destination
+    *
     */
-   void setDestinationJndiName(String value);
+   void setDestinationJndiName(String destinationJndiName);
 
    /**
-    * Gets the value of the mdbUser property.
-    * 
-    * @return
-    *     possible object is
-    *     {@link MdbUserType }
-    *     
+    *
+    * @return Returns the (optional) user name that's used for the JMS
+    * connection that delivers the message
+    *
     */
    String getMdbUser();
 
    /**
-    * Sets the value of the mdbUser property.
-    * 
-    * @param value
-    *     allowed object is
-    *     {@link MdbUserType }
-    *     
+    * Sets the user name that will be used for the JMS connection that delivers the message
+    *
+    * @param mdbUserName The user name to be use for the JMS connection while delivering the
+    * message
+    *
     */
    void setMdbUser(String value);
 
    /**
-    * Gets the value of the mdbPasswd property.
-    * 
-    * @return
-    *     possible object is
-    *     {@link MdbPasswdType }
-    *     
+    * @return Returns the password that's used for the JMS
+    * connection that delivers the message
+    *
     */
    String getMdbPasswd();
 
    /**
-    * Sets the value of the mdbPasswd property.
-    * 
-    * @param value
-    *     allowed object is
-    *     {@link MdbPasswdType }
-    *     
+    * Sets the password that will be used for the JMS connection that delivers the message
+    *
+    * @param mdbPassword The password to be use for the JMS connection while delivering the
+    * message
+    *
     */
-   void setMdbPasswd(String value);
+   void setMdbPasswd(String mdbPassword);
 
    /**
-    * Gets the value of the mdbClientId property.
-    * 
-    * @return
-    *     possible object is
-    *     {@link MdbClientIdType }
-    *     
+    * @return Returns the client id that's used for the JMS
+    * connection that delivers the message
+    *
     */
    String getMdbClientId();
 
    /**
-    * Sets the value of the mdbClientId property.
-    * 
-    * @param value
-    *     allowed object is
-    *     {@link MdbClientIdType }
-    *     
+    * Sets the client id that will be used for the JMS connection that delivers the message
+    *
+    * @param mdbClientId The client id to be use for the JMS connection while delivering the
+    * message
+    *
     */
-   void setMdbClientId(String value);
+   void setMdbClientId(String mdbClientId);
 
    /**
-    * Gets the value of the mdbSubscriptionId property.
-    * 
-    * @return
-    *     possible object is
-    *     {@link MdbSubscriptionIdType }
-    *     
+    *
+    * @return Returns the subscription name of the topic delivery
+    *
     */
    String getMdbSubscriptionId();
 
    /**
-    * Sets the value of the mdbSubscriptionId property.
-    * 
-    * @param value
-    *     allowed object is
-    *     {@link MdbSubscriptionIdType }
-    *     
+    * Sets the subscription name for the topic delivery
+    *
+    * @param subscriptionId Subscription name for the topic delivery
+    *
     */
-   void setMdbSubscriptionId(String value);
+   void setMdbSubscriptionId(String subscriptionId);
 
    /**
-    * Gets the value of the resourceAdapterName property.
-    * 
-    * @return
-    *     possible object is
-    *     {@link ResourceAdapterNameType }
-    *     
+    *
+    * @return Returns the name of the rar used in JCA 1.5 message inflow
+    *
     */
    String getResourceAdapterName();
 
    /**
-    * Sets the value of the resourceAdapterName property.
-    * 
-    * @param value
-    *     allowed object is
-    *     {@link ResourceAdapterNameType }
-    *     
+    * Sets the name of the rar used in JCA 1.5 message inflow
+    *
+    * @param rarName The rar name
+    *
     */
-   void setResourceAdapterName(String value);
+   void setResourceAdapterName(String rarName);
 
    /**
     * Gets the value of the messageDestinationRef property.
-    * 
+    *
     * <p>
     * This accessor method returns a reference to the live list,
     * not a snapshot. Therefore any modification you make to the
     * returned list will be present inside the JAXB object.
     * This is why there is not a <CODE>set</CODE> method for the messageDestinationRef property.
-    * 
+    *
     * <p>
     * For example, to add a new item, do as follows:
     * <pre>
     *    getMessageDestinationRef().add(newItem);
     * </pre>
-    * 
-    * 
+    *
+    *
     * <p>
     * Objects of the following type(s) are allowed in the list
     * {@link JBossMessageDestinationRefMetaData }
-    * 
-    * 
+    *
+    *
     */
-   List<JBossMessageDestinationRefMetaData> getMessageDestinationRef();
+   //TODO
+   List<JBossMessageDestinationRefMetaData> getMessageDestinationRefs();
 
    /**
-    * Gets the value of the securityDomain property.
-    * 
-    * @return
-    *     possible object is
-    *     {@link SecurityDomainType }
-    *     
-    */
+   *
+   * @return Return the security domain name associated with this bean
+   *
+   */
    String getSecurityDomain();
 
    /**
-    * Sets the value of the securityDomain property.
-    * 
-    * @param value
-    *     allowed object is
-    *     {@link SecurityDomainType }
-    *     
+    * Sets the security domain name for this bean.
+    *
+    * @param securityDomain The security domain name
+    *
     */
    void setSecurityDomain(String value);
 
    /**
-    * Gets the value of the methodAttributes property.
-    * 
-    * @return
-    *     possible object is
-    *     {@link MethodAttributesMetaData }
-    *     
+    * @return Returns the method attributes associated with this bean
+    *
+    *
     */
    MethodAttributesMetaData getMethodAttributes();
 
    /**
-    * Sets the value of the methodAttributes property.
-    * 
-    * @param value
-    *     allowed object is
-    *     {@link MethodAttributesMetaData }
-    *     
+    * Sets the method attributes for this bean
+    *
+    * @param methodAttributes The method attributes for this bean
+    *
     */
-   void setMethodAttributes(MethodAttributesMetaData value);
+   void setMethodAttributes(MethodAttributesMetaData methodAttributes);
 
    /**
-    * Gets the value of the depends property.
-    * 
-    * <p>
-    * This accessor method returns a reference to the live list,
-    * not a snapshot. Therefore any modification you make to the
-    * returned list will be present inside the JAXB object.
-    * This is why there is not a <CODE>set</CODE> method for the depends property.
-    * 
-    * <p>
-    * For example, to add a new item, do as follows:
-    * <pre>
-    *    getDepends().add(newItem);
-    * </pre>
-    * 
-    * 
-    * <p>
-    * Objects of the following type(s) are allowed in the list
-    * {@link DependsType }
-    * 
-    * 
+    * @return Returns a list of dependencies for this bean. The list contains
+    * JMX ObjectName(s) of a service on which the EJB depends.
+    *
+    * Returns an empty list if there are no such dependencies.
+    *
+    * It's upto the implementation to return either a modifiable
+    * or an unmodifiable list
+    *
     */
    List<String> getDepends();
 
    /**
-    * Gets the value of the ejbTimeoutIdentity property.
-    * 
-    * @return
-    *     possible object is
-    *     {@link JBossSecurityIdentityMetaData }
-    *     
+    * Sets the list of dependencies for this bean
+    *
+    * @param depends The list of JMX ObjectName(s) of services on which this bean depends
     */
+   void setDepends(List<String> depends);
+
+   /**
+   *
+   * @return
+   */
    JBossSecurityIdentityMetaData getEjbTimeoutIdentity();
 
    /**
     * Sets the value of the ejbTimeoutIdentity property.
-    * 
+    *
     * @param value
-    *     allowed object is
-    *     {@link JBossSecurityIdentityMetaData }
-    *     
+    *
     */
    void setEjbTimeoutIdentity(JBossSecurityIdentityMetaData value);
 
    /**
-    * Gets the value of the annotation property.
-    * 
-    * <p>
-    * This accessor method returns a reference to the live list,
-    * not a snapshot. Therefore any modification you make to the
-    * returned list will be present inside the JAXB object.
-    * This is why there is not a <CODE>set</CODE> method for the annotation property.
-    * 
-    * <p>
-    * For example, to add a new item, do as follows:
-    * <pre>
-    *    getAnnotation().add(newItem);
-    * </pre>
-    * 
-    * 
-    * <p>
-    * Objects of the following type(s) are allowed in the list
-    * {@link AnnotationMetaData }
-    * 
-    * 
+    * @return Returns a list of annotations that will be added to the bean class,
+    * method or field.
+    *
+    * Returns an empty list if there are no such dependencies.
+    *
+    * It's upto the implementation to return either a modifiable
+    * or an unmodifiable list
+    *
     */
-   List<AnnotationMetaData> getAnnotation();
+   List<AnnotationMetaData> getAnnotations();
 
    /**
-    * Gets the value of the ignoreDependency property.
-    * 
-    * @return
-    *     possible object is
-    *     {@link IgnoreDependencyMetaData }
-    *     
+    * Set the list of annotations to be added to the bean class, method or field
+    *
+    * @param annotations The list of annotations
     */
-   IgnoreDependencyMetaData getIgnoreDependency();
+   void setAnnotations(List<AnnotationMetaData> annotations);
 
    /**
-    * Sets the value of the ignoreDependency property.
-    * 
-    * @param value
-    *     allowed object is
-    *     {@link IgnoreDependencyMetaData }
-    *     
+    *  @return Returns the ignore dependency metadata associated with this bean
+    *
     */
-   void setIgnoreDependency(IgnoreDependencyMetaData value);
+   IgnoreDependencyMetaData getIgnoreDependency();
 
    /**
-    * Gets the value of the aopDomainName property.
-    * 
-    * @return
-    *     possible object is
-    *     {@link AopDomainNameType }
-    *     
+    * Sets the ignore dependency metadata for this bean
+    *
+    * @param ignoreDependency The ignore dependency metadata
+    *
     */
+   void setIgnoreDependency(IgnoreDependencyMetaData ignoreDependency);
+
+   /**
+   *
+   * @return Returns the AOP domain name associated with this bean.
+   * The aspect domain contains the interceptor stack and bindings
+   *
+   */
    String getAopDomainName();
 
    /**
-    * Sets the value of the aopDomainName property.
-    * 
-    * @param value
-    *     allowed object is
-    *     {@link AopDomainNameType }
-    *     
+    * Sets the AOP domain name for this bean
+    *
+    * @param aopDomainName The AOP domain name
+    *
     */
-   void setAopDomainName(String value);
+   void setAopDomainName(String aopDomainName);
 
    /**
-    * Gets the value of the poolConfig property.
-    * 
-    * @return
-    *     possible object is
-    *     {@link PoolConfigMetaData }
-    *     
-    */
+   *
+   *
+   * @return Returns the pool configuration of this bean
+   *
+   */
    PoolConfigMetaData getPoolConfig();
 
    /**
-    * Sets the value of the poolConfig property.
-    * 
-    * @param value
-    *     allowed object is
-    *     {@link PoolConfigMetaData }
-    *     
+    * Sets the pool configuration of this bean
+    *
+    * @param poolConfig The pool configuration for this bean
+    *
     */
    void setPoolConfig(PoolConfigMetaData value);
 
    /**
-    * Gets the value of the jndiRef property.
-    * 
-    * <p>
-    * This accessor method returns a reference to the live list,
-    * not a snapshot. Therefore any modification you make to the
-    * returned list will be present inside the JAXB object.
-    * This is why there is not a <CODE>set</CODE> method for the jndiRef property.
-    * 
-    * <p>
-    * For example, to add a new item, do as follows:
-    * <pre>
-    *    getJndiRef().add(newItem);
-    * </pre>
-    * 
-    * 
-    * <p>
-    * Objects of the following type(s) are allowed in the list
-    * {@link JndiRefMetaData }
-    * 
-    * 
+    * @return Returns a list of jndi references for this bean.
+    * Returns an empty list if there are no such references.
+    *
+    * It's upto the implementation to return either a modifiable
+    * or an unmodifiable list
+    *
+    *
     */
-   List<JndiRefMetaData> getJndiRef();
+   List<JndiRefMetaData> getJndiRefs();
 
    /**
-    * Gets the value of the createDestination property.
-    * 
-    * @return
-    *     possible object is
-    *     {@link Boolean }
-    *     
+    * Set the jndi references used to inject generic types based on JNDI name,
+    * for this bean
+    *
+    * @param jndiRefs
     */
-   Boolean isCreateDestination();
+   void setJndiRefs(List<JndiRefMetaData> jndiRefs);
 
    /**
-    * Sets the value of the createDestination property.
-    * 
-    * @param value
-    *     allowed object is
-    *     {@link Boolean }
-    *     
+    *
+    * @return Returns true if the destination, on which this message driven bean is listening,
+    * has to be created, if it doesn't exist. Else returns false.
+    *
     */
-   void setCreateDestination(Boolean value);
+   boolean isCreateDestination();
 
+   /**
+    * Set to true if the destination, on which this message driven bean is listening,
+    * has to be created if it doesn't exist.
+    *
+    * @param createDestination True if a non-existent destination has to be created. False
+    * otherwise.
+    *
+    */
+   void setCreateDestination(boolean value);
+
 }

Modified: projects/ejb3/trunk/metadata-spi/src/main/java/org/jboss/ejb3/metadata/spi/jboss/JBossSessionBeanMetaData.java
===================================================================
--- projects/ejb3/trunk/metadata-spi/src/main/java/org/jboss/ejb3/metadata/spi/jboss/JBossSessionBeanMetaData.java	2009-06-25 09:19:29 UTC (rev 90586)
+++ projects/ejb3/trunk/metadata-spi/src/main/java/org/jboss/ejb3/metadata/spi/jboss/JBossSessionBeanMetaData.java	2009-06-25 09:29:33 UTC (rev 90587)
@@ -61,7 +61,8 @@
 public interface JBossSessionBeanMetaData extends SessionBeanMetaData
 {
 
-   List<JBossMessageDestinationRefMetaData> getMessageDestinationRef();
+   //TODO
+   List<JBossMessageDestinationRefMetaData> getMessageDestinationRefs();
 
    /**
     * @return Returns the local jndi bindings for this bean.




More information about the jboss-cvs-commits mailing list