Hello everybody,

As I understand the configuration file. customized filter which is provided
as

 <jaxrs:providers>
           <ref bean="authorizationFilter" />
         </jaxrs:providers>

So If I provide a service called myservice I will have configuration
something like this:

<jaxrs:server id="myService" address="/">
        <jaxrs:serviceBeans>
            <ref bean="serviceImpl" />
        </jaxrs:serviceBeans>

        <jaxrs:providers>
           <ref bean="authorizationFilter" />
         </jaxrs:providers>


        <jaxrs:extensionMappings>
            <entry key="xml" value="application/xml" />
        </jaxrs:extensionMappings>

Now suppose I have many services, do I have to include provider ( in this
case "authorizationFilter") with each service or I can put somewhere common?

I will appreciate your answer

Thank you.
Santos

Reply via email to