Actually this would rather be a question for
[EMAIL PROTECTED]
Anyways, use the XDoclet merge facility. Put the configurations in a
jboss-container.xml file in your merge directory, and in your bean class use
@jboss-container.configuration name="container-name"

Cheers,
Bernie

-----Ursprüngliche Nachricht-----
Von: Rafal Kedziorski [mailto:[EMAIL PROTECTED]
Gesendet: Donnerstag, 16. Oktober 2003 02:58
An: [EMAIL PROTECTED]
Betreff: [JBoss-user] container-configuration and XDoclet


hi,

we are reimplementing our entity beans using XDoclet. But how can we create 
thru XDoclet new container-configurations like this:

     <container-configurations>
         <container-configuration>
             <container-name>Standard CMP 2.x EntityBean</container-name>
             <container-cache-conf>
 
<cache-policy>org.jboss.ejb.plugins.LRUEnterpriseContextCachePolicy</cache-p
olicy>
                 <cache-policy-conf>
                     <min-capacity>50</min-capacity>
                     <max-capacity>1000000</max-capacity>
                     <max-bean-age>3600</max-bean-age>
                 </cache-policy-conf>
             </container-cache-conf>
             <commit-option>A</commit-option>
         </container-configuration>

         <container-configuration extends="Standard CMP 2.x EntityBean">
             <container-name>Standard CMP 2.x EntityBean with Commit Option 
B</container-name>
             <commit-option>B</commit-option>
         </container-configuration>
     </container-configurations>

We are using the latest XDoclet beta from the sourceforge page.

Regards,
Rafal



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

This e-mail and any attachment is for authorised use by the intended recipient(s) 
only. It may contain proprietary material, confidential information and/or be subject 
to legal privilege. It should not be copied, disclosed to, retained or used by, any 
other party. If you are not an intended recipient then please promptly delete this 
e-mail and any attachment and all copies and inform the sender. Thank you.

LogicaCMG global sponsors, Gartner Symposium, Cannes, 4th -7th November 2003

http://symposium.gartner.com/story.php.id.3323.s.5.html

Please note that LogicaCMG does not have control over content from,or availability of, 
this website


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to