From: Sacha L. <sac...@ml...> - 2003-06-13 16:55:16
|
Yes, look in jboss-3.2\varia\src\etc\sample-service.bsh Cheers, Sacha > -----Original Message----- > From: jbo...@li... > [mailto:jbo...@li...] On Behalf Of > Jason Essington > Sent: vendredi, 13. juin 2003 18:47 > To: jbo...@li... > Subject: Re: [JBoss-user] System properties > > > > On Thursday, June 12, 2003, at 12:06 PM, Scott M Stark wrote: > > > No, this is beyond the scope of the ejb functionality. Use the > > org.jboss.varia.property.SystemPropertiesService > > shown in the deploy/properties-service.xml as a service descriptor > > bundled with your deployment to do this. > > It could also be done as a beanshell script as well. > > Since I need to assign values to new properties, based upon existing > system properties, the SystemPropertiesService route probably > will not > work for me. > > Are there any examples of how to use beanshell with jboss? > > -jason > > > xxxxxxxxxxxxxxxxxxxxxxxx > > Scott Stark > > Chief Technology Officer > > JBoss Group, LLC > > xxxxxxxxxxxxxxxxxxxxxxxx > > > > ----- Original Message ----- > > From: "Jason Essington" <jasone@GreenRiverComputing.com> > > To: <jbo...@li...> > > Sent: Thursday, June 12, 2003 9:49 AM > > Subject: [JBoss-user] System properties > > > > > >> Is there a way to set System properties from an ejb's deployment > >> descriptor? > >> > >> currently I am using a static block in one of my beans to set the > >> properties that one of the libraries I am using expects, but this > >> seems > >> a little bit hackish, I would prefer to set them in the > >> application.xml, jboss-app.xml, ejb-jar.xml or jboss.xml > files Ideally > >> via an XDoclet tag. > >> > >> Is there any way to accomplish this? > >> > >> -jason > > > > ------------------------------------------------------- > This SF.NET email is sponsored by: eBay > Great deals on office technology -- on eBay now! Click here: > http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 > _______________________________________________ > JBoss-user mailing list > JBo...@li... > https://lists.sourceforge.net/lists/listinfo/jboss-user > |