users@jersey.java.net

How to use DefaultResourceConfig

From: Robert Naczinski <robert.naczinski_at_googlemail.com>
Date: Tue, 8 Dec 2009 15:37:28 +0100

Hi,

how I can use com.sun.jersey.api.core.DefaultResourceConfig ?

It seems to be a provider of properties. I found this snipet:

<servlet >

<servlet-name>Jersey Web Application</servlet-name >

 <servlet-class>com.sun.jersey.spi.container.servlet.ServletContainer</servlet-class

  <init-param>

       <param-name>com.sun.jersey.config.property.resourceConfigClass</param-name>

        <param-value>com.sun.jersey.api.core.DefaultResourceConfig</param-value>

 </init-param>

<init-param>

</servlet>

How I can get this propeties in my resources?

Thanx,

Robert