users@jersey.java.net

Multiple values for com.sun.ws.rest.config.property.resourceConfigClass

From: Dan Lowe <dan_at_gc1.com>
Date: Wed, 26 Mar 2008 13:50:55 -0400 (EDT)

Hi,

 

I am configure multiple Resource Config classes.

Does the property support this?

I have tried multiple configs, none seem to work.

I have to use this property because resin can't find my resources.

 

Here is what I have tried so far:

<init-param>

                  <param-name>

 
com.sun.ws.rest.config.property.resourceConfigClass

                  </param-name>

                  <param-value>

                        path.to.resource.ResourceCfgClass1

                  </param-value>

                  <param-value>

                        path.to.resource.ResourceCfgClass2

                  </param-value>

            </init-param>

 

 

 

 

<init-param>

                  <param-name>

 
com.sun.ws.rest.config.property.resourceConfigClass

                  </param-name>

                  <param-value>

 
path.to.resource.ResourceCfgClass1,path.to.resource.ResourceCfgClass2

                  </param-value>

            </init-param>

 

 

 

 

<init-param>

                  <param-name>

 
com.sun.ws.rest.config.property.resourceConfigClass

                  </param-name>

                  <param-value>

 
path.to.resource.ResourceCfgClass1:path.to.resource.ResourceCfgClass2

                  </param-value>

            </init-param>

 

 

 

<init-param>

                  <param-name>

 
com.sun.ws.rest.config.property.resourceConfigClass

                  </param-name>

                  <param-value>

 
path.to.resource.ResourceCfgClass1;path.to.resource.ResourceCfgClass2

                  </param-value>

            </init-param>

 

 

 

TIA,

Dan Lowe