[jboss-user] [JBossWS] - Initializing parameters in a webservice

alfred.rsa do-not-reply at jboss.com
Mon Nov 5 02:54:14 EST 2007


Hi guys

I want to be able to add init-params or something similar to my deployment descriptor and access it from my webservice (through injection if possible)
If I add the following to my web.xml:
<init-param>
            <param-name>dispatcherName</param-name>
            <param-value>FNB.Commercial.BFLo:service=JMSDataDispatcherService</param-value>
        </init-param>

How can I access them ein my web service? 
I use annotated webservices.

Regards
Alfred


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4101674#4101674

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4101674



More information about the jboss-user mailing list