two things:
1. create a singleton resource class2. have the class access some params from the config files or wherever
Jeff
From: jfn_at_sepior.com
Date: Sat, 12 Dec 2015 18:22:08 +0100
To: users_at_jersey.java.net
Subject: [Jersey] Re: Accessing initialization parameters in App or Resource
What do you want to accomplish?
--Janus Friis NielsenSenior Software Architect, GWAPT, CSM, PhD.
T +45 40 83 09 10E jfn_at_sepior.comW Sepior.com
Den 11. dec. 2015 kl. 17.58 skrev jeff saremi <jeffsaremi_at_hotmail.com>:
I am trying to use Jersey with Grizzly
I'd like to know how i can pass some parameters to my Application?
Does my application have access to the initparams that is passed to GrizzlyWebContainerFactory.create?
thanksJeff