Hi,

I plan to use AspectJ to perform this.
It should be no problem and working fine.......


2006/4/12, Eduardo Valentim <[EMAIL PROTECTED]>:
>
> Hi Friend,
>
>        I have the same issue, I am need to use AOP to advice the Page
> class with an Spring ThrowsAdvice for tranformation of my validation
> exception in Tapestry validation exception.
>        I do not have idea of how can I solve this issue, somebody would
> know ......
>
> Thank You in advance,
>
> Eduardo Valentim
>
> On Wed, 2006-04-05 at 23:30 +0800, seng kim khong wrote:
>
> > Hi All,
> >
> > I am planning to use AOP to advice the Java Page class for tapestry.
> > But hivemind AOP is just for it's service only and since the java page
> class
> > is not hivemind service, is it possible we can advice those java page
> class?
> >
> > My main purpose to do this is taking out those logging and exception
> > handling aspect in all of the java page class instead of redundant it in
> > every java page class.
> >
> > I have been do the same thing in JSF+Spring. Below is my
> configration.......
> >
> >
> > <faces-config>
> >
> > <managed-bean>
> >
> > <managed-bean-name>actionInterceptor</managed-bean-name>
> >
> > <managed-bean-class>
> >
> > com.mycompany.advice.ActionInterceptor
> >
> > </managed-bean-class>
> >
> > <managed-bean-scope>application</managed-bean-scope>
> >
> > </managed-bean>
> >
> > <managed-bean>
> >
> > <managed-bean-name>actionAutoProxy</managed-bean-name>
> >
> > <managed-bean-class>
> >
> > org.springframework.aop.framework.autoproxy.BeanNameAutoProxyCreator
> >
> > </managed-bean-class>
> >
> > <managed-bean-scope>application</managed-bean-scope>
> >
> > <managed-property>
> >
> > <property-name>beanNames</property-name>
> >
> > <list-entries>
> >
> > <value>*Bean</value>
> >
> > </list-entries>
> >
> > </managed-property>
> >
> > <managed-property>
> >
> > <property-name>interceptorNames</property-name>
> >
> > <list-entries>
> >
> > <value>actionInterceptor</value>
> >
> > </list-entries>
> >
> > </managed-property>
> >
> > </managed-bean>
> >
> > </faces-config>
> >
> > Hope you can share your idea with me reagrds this issue.....
> >
> > Thank You in advance.
> >
> >
> > Cheers!
>
>

Reply via email to