[jira] Created: (OWB-344) implement Decorators and Interceptors as subclassing

2010-04-07 Thread Mark Struberg (JIRA)
implement Decorators and Interceptors as subclassing Key: OWB-344 URL: https://issues.apache.org/jira/browse/OWB-344 Project: OpenWebBeans Issue Type: Bug Components:

[jira] Created: (OWB-345) Remove duplicate dependencies

2010-04-07 Thread Jean-Louis MONTEIRO (JIRA)
Remove duplicate dependencies - Key: OWB-345 URL: https://issues.apache.org/jira/browse/OWB-345 Project: OpenWebBeans Issue Type: Bug Affects Versions: 1.0.0 Environment: WinXP Reporter:

are @PostConstruct and @PreDestroy really interceptor functions?

2010-04-07 Thread Mark Struberg
Hi! Currently we handle @PostConstruct and @PreDestroy methods via the InterceptorHandler. Is this really necessary? Those functions are directly called by the container in very clear defined situations in the lifecycle. And they always get called from _inside_ the container and not

Re: are @PostConstruct and @PreDestroy really interceptor functions?

2010-04-07 Thread Gurkan Erdogdu
Those are not handled by InterceptorHandler. These are defined in AbstractInjectionTargetBean#postConstruct or preDestroy From: Mark Struberg strub...@yahoo.de To: dev@openwebbeans.apache.org Sent: Wed, April 7, 2010 7:56:37 PM Subject: are @PostConstruct and

Re: are @PostConstruct and @PreDestroy really interceptor functions?

2010-04-07 Thread Joseph Bergmark
I agree it may not be necessary, but Gavin has strongly hinted that he expected Decorators (and maybe even Interceptors) to be implemented using subclassing. Seems our current solution works in a spec compliant way for normal scoped beans though. Not sure if any MRs to the spec will change that.