You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openwebbeans.apache.org by Eric Covener <co...@gmail.com> on 2010/05/18 12:34:27 UTC
Re: [jira] Commented: (OWB-371) no lifecycle interceptors for
non-contextual EJB
Gurkan,
I'm no longer able to run the ejb-sample in my sandbox, can you verify
that our OpenWebBeansEjbInterceptor.java is also missing
context.proceed() for lifecycle interceptor of contextual EJB?
I believe in the contextual case we:
a) don't add defined-in-class lifecycle interceptor to our stack when
it's in an EJB
b) don't call proceed on our passed-in context
I believe if you added a @PostConstruct private void post() { } to the
EJB it would not be executed by openejb due to this, but I can't
actually execute it anymore. Can you take a look?
On Tue, May 18, 2010 at 5:41 AM, Gurkan Erdogdu (JIRA) <ji...@apache.org> wrote:
>
> [ https://issues.apache.org/jira/browse/OWB-371?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12868579#action_12868579 ]
>
> Gurkan Erdogdu commented on OWB-371:
> ------------------------------------
>
> Eric,
>
> Could you solve this? If so could I close?
>
>> no lifecycle interceptors for non-contextual EJB
>> ------------------------------------------------
>>
>> Key: OWB-371
>> URL: https://issues.apache.org/jira/browse/OWB-371
>> Project: OpenWebBeans
>> Issue Type: Bug
>> Components: Interceptor and Decorators
>> Affects Versions: M4
>> Reporter: Eric Covener
>> Assignee: Gurkan Erdogdu
>> Original Estimate: 4h
>> Remaining Estimate: 4h
>>
>> The current OpenWebBeansEjbInterceptor only does work in its postConstruct/preDestroy when the EJB was contextual.
>
> --
> This message is automatically generated by JIRA.
> -
> You can reply to this email to add a comment to the issue online.
>
>
--
Eric Covener
covener@gmail.com
Re: [jira] Commented: (OWB-371) no lifecycle interceptors for non-contextual EJB
Posted by Gurkan Erdogdu <gu...@yahoo.com>.
Eric;
I have updated code and samples.
Please try again;
--Gurkan
________________________________
From: Eric Covener <co...@gmail.com>
To: dev@openwebbeans.apache.org
Sent: Tue, May 18, 2010 1:34:27 PM
Subject: Re: [jira] Commented: (OWB-371) no lifecycle interceptors for non-contextual EJB
Gurkan,
I'm no longer able to run the ejb-sample in my sandbox, can you verify
that our OpenWebBeansEjbInterceptor.java is also missing
context.proceed() for lifecycle interceptor of contextual EJB?
I believe in the contextual case we:
a) don't add defined-in-class lifecycle interceptor to our stack when
it's in an EJB
b) don't call proceed on our passed-in context
I believe if you added a @PostConstruct private void post() { } to the
EJB it would not be executed by openejb due to this, but I can't
actually execute it anymore. Can you take a look?
On Tue, May 18, 2010 at 5:41 AM, Gurkan Erdogdu (JIRA) <ji...@apache.org> wrote:
>
> [ https://issues.apache.org/jira/browse/OWB-371?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12868579#action_12868579 ]
>
> Gurkan Erdogdu commented on OWB-371:
> ------------------------------------
>
> Eric,
>
> Could you solve this? If so could I close?
>
>> no lifecycle interceptors for non-contextual EJB
>> ------------------------------------------------
>>
>> Key: OWB-371
>> URL: https://issues.apache.org/jira/browse/OWB-371
>> Project: OpenWebBeans
>> Issue Type: Bug
>> Components: Interceptor and Decorators
>> Affects Versions: M4
>> Reporter: Eric Covener
>> Assignee: Gurkan Erdogdu
>> Original Estimate: 4h
>> Remaining Estimate: 4h
>>
>> The current OpenWebBeansEjbInterceptor only does work in its postConstruct/preDestroy when the EJB was contextual.
>
> --
> This message is automatically generated by JIRA.
> -
> You can reply to this email to add a comment to the issue online.
>
>
--
Eric Covener
covener@gmail.com