Title: MessageDrivenBeans info in ibm-ejb-jar-bnd.xmi

Hi,

     When I generate the ibm-ejb-jar-bnd.xmi with XDoclet from ant, all my messageDrivenBean information is not generated. How can I generate it?

Below I included my class tags in my MDB beans, the part of the ant file that generates the ibm-ejb-jar-bnd.xmi file, and lastly what the ibm-ejb-jar-bnd.xmi file should contain but doesn't.


Tags in my class:

*
 * @ejb.bean
 *      name="WorkBenchMDB"
 *      description="WorkBench Event MDB"
 *      display-name="WorkBenchMDB"
 *      transaction-type="Bean"
 *      acknowledge-mode="Auto-acknowledge"
 *      destination-type="javax.jms.Topic"
 *      subscription-durability="NonDurable"


Ant file part:

        <ejbdoclet destdir="${src.gen.dir}">
            <fileset dir="${src.java.dir}">
                    <include name="**/*SBBean.java"/>
                    <include name="**/*MDBBean.java"/>
            </fileset>

            <remoteinterface pattern="{0}"/>
            <homeinterface pattern="{0}Home" />
            <deploymentdescriptor destdir="${src.gen.dir}/META-INF"/>
            <websphere destdir="${src.gen.dir}/META-INF"/>
            <jrun destdir="${src.gen.dir}/META-INF"/>
        </ejbdoclet>


 What should be generated in ibm-ejb-jar-bnd.xmi:

<?xml version="1.0" encoding="UTF-8"?>
<ejbbnd:EJBJarBinding xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:ejbbnd="ejbbnd.xmi" xmlns:ejb="ejb.xmi" xmi:id="EJBJarBinding_1065889730295">

  <ejbJar href="">
  <ejbBindings xmi:type="ejbbnd:MessageDrivenBeanBinding" xmi:id="MessageDrivenBeanBinding_1065889730315" listenerInputPortName="ApolloProcessLP">

    <enterpriseBean xmi:type="ejb:MessageDriven" href="">
  </ejbBindings>
  <ejbBindings xmi:type="ejbbnd:MessageDrivenBeanBinding" xmi:id="MessageDrivenBeanBinding_1065889772446" listenerInputPortName="ApolloProcessLP">

    <enterpriseBean xmi:type="ejb:MessageDriven" href="">
  </ejbBindings>
  <ejbBindings xmi:type="ejbbnd:MessageDrivenBeanBinding" xmi:id="MessageDrivenBeanBinding_1065898062536" listenerInputPortName="ApolloProcessLP">

    <enterpriseBean xmi:type="ejb:MessageDriven" href="">
  </ejbBindings>
  <ejbBindings xmi:id="EnterpriseBeanBinding_1065898335108" jndiName="ejb/apollo/ipm/IPMSB">
    <enterpriseBean xmi:type="ejb:Session" href="">
  </ejbBindings>
  <ejbBindings xmi:id="EnterpriseBeanBinding_1065898354887" jndiName="ejb/apollo/planning/PlanningEngineSB">
    <enterpriseBean xmi:type="ejb:Session" href="">
  </ejbBindings>
  <ejbBindings xmi:id="EnterpriseBeanBinding_1065898370489" jndiName="ejb/apollo/security/SecuritySB">
    <enterpriseBean xmi:type="ejb:Session" href="">
  </ejbBindings>
  <ejbBindings xmi:id="EnterpriseBeanBinding_1067203443576" jndiName="ejb/apollo/calendar/FactoryCalendarSB">
    <enterpriseBean xmi:type="ejb:Session" href="">
  </ejbBindings>
</ejbbnd:EJBJarBinding>



What it generates:

<ejbbnd:EJBJarBinding xmi:version="2.0"
   xmlns:xmi="http://www.omg.org/XMI" xmlns:ejbbnd="ejbbnd.xmi"
   xmlns:ejb="ejb.xmi" xmlns:commonbnd="commonbnd.xmi"
   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
   xmi:id="ejb-jar_ID_Bnd">

   <ejbJar href="">

      <ejbBindings
         xmi:id="Session_bnd_1"
         jndiName="ejb/apollo/security/WorkBenchSB">

         <enterpriseBean
            xmi:type="ejb:Session" href="" />
      </ejbBindings>

      <ejbBindings
         xmi:id="Session_bnd_2"
         jndiName="ejb/apollo/security/SecuritySB">

         <enterpriseBean
            xmi:type="ejb:Session" href="" />
      </ejbBindings>

      <ejbBindings
         xmi:id="Session_bnd_3"
         jndiName="ejb/apollo/security/PlanningEngineSB">

         <enterpriseBean
            xmi:type="ejb:Session" href="" />
      </ejbBindings>

      <ejbBindings
         xmi:id="Session_bnd_4"
         jndiName="ejb/apollo/calendar/FactoryCalendarSB">

         <enterpriseBean
            xmi:type="ejb:Session" href="" />
      </ejbBindings>

      <ejbBindings
         xmi:id="Session_bnd_5"
         jndiName="ejb/apollo/security/IPMSB">

         <enterpriseBean
            xmi:type="ejb:Session" href="" />
      </ejbBindings>

</ejbbnd:EJBJarBinding>






Thanks


Gustavo E Tenrreiro


Reply via email to