users@jersey.java.net

Re: [Jersey] Accessing some kind of configuration in an Application

From: Daniel Manzke <daniel.manzke_at_googlemail.com>
Date: Fri, 24 Jul 2009 09:28:07 +0200

Hi Markus,
das mir schon klar. Leider komme ich aus der Application nicht an einen
Context ran. Außer ich bastel mir mal wieder ein Singleton und greife dann
drauf zu. Paul hat es schon richtig beantwortet, dass es derzeit nicht geht.


Gruß,
Daniel

2009/7/23 Markus KARG <markus.karg_at_gmx.net>

> Hey Dude, read the spec! ;-)
>
>
>
> As JAX-RS can be used with both, JavaSE and JavaEE, and such can use the
> native configuration APIs of those, there is no need for its own
> configuration technology. Just use whatever technology your container
> provides, and JAX-RS will be happy with it.
>
>
>
> Regards
>
> Markus
>
>
>
>
>
>
>
> *From:* Daniel Manzke [mailto:daniel.manzke_at_googlemail.com]
> *Sent:* Mittwoch, 22. Juli 2009 23:22
> *To:* users_at_jersey.dev.java.net
> *Subject:* [Jersey] Accessing some kind of configuration in an Application
>
>
>
> Hi,
>
>
>
> is there a possibility to access any kind of configuration in an
> (javax.ws.rs.core.)Application? (ServletConfig or anything else?)
>
>
>
>
>
>
>
> Thanks,
>
> Daniel
>



-- 
Mit freundlichen Grüßen
Daniel Manzke