This content has been marked as final.
Show 4 replies
-
1. Re: How can I make an abstract class as a bean?
pmuir Apr 23, 2010 1:31 PM (in response to wuhaixing.wuhaixing.gmail.com)Explain more, I don't follow your question.
-
2. Re: How can I make an abstract class as a bean?
wuhaixing.wuhaixing.gmail.com Apr 23, 2010 3:07 PM (in response to wuhaixing.wuhaixing.gmail.com)Suggest we have an abstract class LargeTransaction,is there any to Inject the class use @Inject LargetTransaction tx?
I just want to do the work in the interceptor and don't need method body. -
3. Re: How can I make an abstract class as a bean?
swd847 Apr 24, 2010 12:23 AM (in response to wuhaixing.wuhaixing.gmail.com)You can't do this out of the box. You would however write a portable extension to accomplish this that creates an empty impl class using javassist.
-
4. Re: How can I make an abstract class as a bean?
wuhaixing.wuhaixing.gmail.com Apr 24, 2010 12:50 PM (in response to wuhaixing.wuhaixing.gmail.com)thanks,I thik inject decorator and manual invoke it works for me too,but there is no way out of the box.