container-configuration is a "global" element that isn't related to individual classes (EJBs), so it wouldn't make sense to let XDoclet generate this element from @tags in classes. You should use XDoclet's merge feature to merge this in. Write it by hand and store it in a file called jboss-container.xml. Use the mergedir attribute of the ejbdoclet task to tell XDoclet where to look for merge files.
Then, you should use @jboss.container-configuration name="blah" to declare what configuration you want for your bean. It's a class-level tag, and you *will* get different jboss.xml with/without it, but I guess you looked for differences in the wrong place. Look at the samples. HTH, Aslak -----Original Message----- From: [EMAIL PROTECTED] [mailto:xdoclet-user-admin@;lists.sourceforge.net]On Behalf Of Derek Lin Sent: 27. oktober 2002 21:52 To: [EMAIL PROTECTED] Subject: [Xdoclet-user] @jboss:container-configuration Can someone please tell me what @jboss:container-configuration does? I used it in one of my beans, but I didn't see any difference in either jboss.xml or ejb-jar.xml. The stuff behind all this is that I am following the Jboss3 Quickstart guide to configure security. The example, show this: <jboss> <container-configurations> <!-- StatelessSession beans are secure by default --> <container-configuration> <container-name>Standard Stateless SessionBean</container-name> <security-domain>java:/jaas/spec-test</security-domain> </container-configuration> ... Anyone knows how I can generate this using xdoclet? I use <jboss version="3.0" ... securityDomain="java:/jaas/spec-test" destdir="${ejb}/bean/gen-dd/META-INF"/>, but it only generated the following: <jboss> <security-domain>java:/jaas/spec-test</security-domain> ... (See that <container-configurations> and other entries are not there) Please help. Thanks, Derek ------------------------------------------------------- This SF.net email is sponsored by: ApacheCon, November 18-21 in Las Vegas (supported by COMDEX), the only Apache event to be fully supported by the ASF. http://www.apachecon.com _______________________________________________ Xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user
