Re: Using AOP in CXF service impl

2008-06-06 Thread Daniel Kulp
.. Basically, you have to weigh your priorities and decide which direction is right for your project. Dan Thanks, -Chris -Original Message- From: Daniel Kulp [mailto:[EMAIL PROTECTED] Sent: Saturday, May 24, 2008 10:05 PM To: users@cxf.apache.org Subject: Re: Using AOP in CXF service impl

RE: Using AOP in CXF service impl

2008-06-06 Thread Wolf, Chris (IT)
sorry. -Original Message- From: Daniel Kulp [mailto:[EMAIL PROTECTED] Sent: Thursday, June 05, 2008 3:29 PM To: users@cxf.apache.org Subject: Re: Using AOP in CXF service impl On Jun 5, 2008, at 2:51 PM, Wolf, Chris (IT) wrote: > Dan, > > Thanks for the help. Yes, it wa

RE: Using AOP in CXF service impl

2008-06-05 Thread Wolf, Chris (IT)
-Original Message- From: Daniel Kulp [mailto:[EMAIL PROTECTED] Sent: Thursday, June 05, 2008 3:29 PM To: users@cxf.apache.org Subject: Re: Using AOP in CXF service impl On Jun 5, 2008, at 2:51 PM, Wolf, Chris (IT) wrote: > Dan, > > Thanks for the help. Yes, it was Spr

Re: Using AOP in CXF service impl

2008-06-05 Thread Daniel Kulp
iorities and decide which direction is right for your project. Dan Thanks, -Chris -Original Message- From: Daniel Kulp [mailto:[EMAIL PROTECTED] Sent: Saturday, May 24, 2008 10:05 PM To: users@cxf.apache.org Subject: Re: Using AOP in CXF service impl We definitely have seen

RE: Using AOP in CXF service impl

2008-06-05 Thread Wolf, Chris (IT)
n the later case, it seems that being JAX-WS API would mean greater portability, so wouldn't that be better? Thanks, -Chris -Original Message- From: Daniel Kulp [mailto:[EMAIL PROTECTED] Sent: Saturday, May 24, 2008 10:05 PM To: users@cxf.apache.org Subject: Re: Using AOP in CXF ser

RE: Using AOP in CXF service impl

2008-06-05 Thread Wolf, Chris (IT)
y factory = new ProxyFactory(svc); factory.addAdvisor(new DefaultPointcutAdvisor(new ServiceCallPointcut(), new AuthenticationChecker())); -Chris -Original Message- From: Ian Roberts [mailto:[EMAIL PROTECTED] Sent: Sun 25/05/2008 12:08 PM To: users@cxf.apache.org Subject: Re: Using AOP in C

Re: Using AOP in CXF service impl

2008-05-25 Thread Ian Roberts
Wolf, Chris (IT) wrote: static class ServiceCallPointcut extends StaticMethodMatcherPointcut { public boolean matches(Method m, Class targetClass) { return (targetClass == this.getClass() && m.getName().matches("(add.*)|(delete.*)|(fetch.*)|(login.*)")); } } I'm suspic

Re: Using AOP in CXF service impl

2008-05-24 Thread Daniel Kulp
We definitely have seen people using Spring AOP with CXF, but I think they've all used Spring configuration for setting up the endpoints and stuff. That said, it should definitely be doable from API's since all the spring config does is configure the same objects via the API. CXF doesn'