cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dan Diephouse" <>
Subject Re: Configuring coloc as policy/feature.
Date Wed, 25 Apr 2007 16:28:59 GMT
Hi Ajay,

I think the easiest thing would be to just configure a feature. Here's the
simplest feature around, the logging feature

It just adds interceptors to the client/server. You can also override
initialize(Client, Bus) or initialize(Server, Bus) if you want to customize
those objects specifically instead of just their InterceptorProvider:

You can then plugin this in pretty easily via XML:

     <bean class="org.apachce.cxf.binding.coloc.ColocFeature"/>

Or if you're feeling ambitious you could write a BeanDefinitionParser for it
as well to get something like <cxf:coloc/>.

I think the system test that tests the features stuff is called
InlineAddressingPolicyTest. It also includes inline Policy references in
addition to its use of the logging feature.

- Dan

On 4/25/07, Paibir, Ajay <> wrote:
> Dan,
> To configure coloc as a policy , a coloc assertion is required.
> Now how can the similar thing be done using the feature stuff?
> Any system tests which I can have a look at.
> Ajay

Dan Diephouse
Envoi Solutions |

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message