Re: about PrevaylerInterceptor
Jon Tirsén <[email protected]> Sun, 11 May 2003 15:36:09 +0200 (CEST)
| Newsgroups | gmane.comp.java.nanning.devel |
|---|---|
| Message-ID | <[email protected]> |
Ooops, yes that's a redundant method. It's left from when PrevaylerInterceptor was a ConstructionInterceptor. A ConstructionInterceptor is added to an AspectInstance by doing AspectInstance.addConstructionInterceptor(constructionInterceptor). The constructionInterceptor should implement ConstructionInterceptor and will be invoked the first time you do AspectInstance.getProxy(). --- yiming wang <[email protected]> skrev: > hi jon, > > In PrevaylerInterceptor.java, following method: > public boolean interceptsConstructor(Class > interfaceClass) { > return > Attributes.hasAttribute(interfaceClass, > "entity"); > } > > when i run the PrevaylerTest, this method never be > called one time, why? but all unit-test is ok. > is it redundant method? how can i add > ConstructionInterceptor? > > thanks a lot! > > wang yiming > 2003.5.11 > > __________________________________ > Do you Yahoo!? > The New Yahoo! Search - Faster. Easier. Bingo. > http://search.yahoo.com > > > ------------------------------------------------------- > Enterprise Linux Forum Conference & Expo, June 4-6, > 2003, Santa Clara > The only event dedicated to issues related to Linux > enterprise solutions > www.enterpriselinuxforum.com > > _______________________________________________ > Nanning-developer mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/nanning-developer _____________________________________________________ Gå före i kön och få din sajt värderad på nolltid med Yahoo! Express Se mer på: http://se.docs.yahoo.com/info/express/help/index.html ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com