When I've had to do this, I do it by having the Bus Feature install Server and 
Client LifecycleListeners that directly add the interceptors the feature 
normally would.  LifecycleListener gets called later in the creation order so 
you can't just use that to install a Feature on the Client or Server.

________________________________________
From: [email protected] [[email protected]] On Behalf Of Jason Pell 
[[email protected]]
Sent: Monday, October 08, 2012 12:29 AM
To: [email protected]
Subject: is there a way to configure a feature that should be applied to every 
jaxws endpoint without having to specify it.

So for instance I have a feature which I want to define at the bus
level, but to be executed by every endpoint.

<cxf:bus>
                <cxf:features>
                        <bean class="com.pellcorp.server.ApplyPoliciesFeature" 
/>
                </cxf:features>
</cxf:bus>


To avoid having to add the feature to each jaxws:endpoint

Reply via email to