This content has been marked as final.
Show 3 replies
-
1. Re: using static modifier with Seam logger
pmuir Dec 7, 2007 6:16 AM (in response to asookazian)The injection for static loggers is different - static loggers are injected at component install, non static at component instantiation (think about what static means)
-
2. Re: using static modifier with Seam logger
asookazian Dec 7, 2007 11:40 AM (in response to asookazian)well I understand the meaning of static (you don't need to instantiate the object manually to reference it, it's already instantiated). My question was wronngly worded. I meant to ask why do I need to use static (why doesn't it work without static, i.e. it's null object w/o static). In a SFSB this is not the case.
You already indicated that it's not advisable to use a Seam POJO as an interceptor so perhaps this has something to do with it... -
3. Re: using static modifier with Seam logger
pmuir Dec 9, 2007 7:11 AM (in response to asookazian)The interceptor isn't instantiated as a seam component when used, but it is installed as a component.