[cdi-dev] Yan:: Re: About ProcessSessionBean<X> Container Lifecycle Event Class

Gurkan Erdogdu gurkanerdogdu at yahoo.com
Mon Jun 13 14:30:49 EDT 2011


Pete i think that this is not related with the local interfaces. ProcessSessionBean event is fired for every X where X is a session bean class

Pzt, 13 Haz 2011 14:23 EEST tarihinde Pete Muir şöyle yazdı:

>I'm not actually sure, as X always refers to the bean class, rather than anything to do with the local interfaces. Any EJB expert (cc'ing Marina, David, Carlo, Jaikiran :-) able to shed light?
>
>On 13 Jun 2011, at 11:46, Gurkan Erdogdu wrote:
>
>> Hello,
>> 
>> In the 1.0 specification, Chapter 11.5.8, ProcessSessionBean<X> container event class was defined as
>> 
>> public interface ProcessSessionBean<X> extends ProcessManagedBean<Object> {
>>   public String getEjbName();
>>    public SessionBeanType getSessionBeanType();
>> }
>> 
>> As I commented in https://issues.jboss.org/browse/CDITCK-215, it  is more accurate to define this interface as
>> 
>> public interface ProcessSessionBean<X> extends ProcessManagedBean<X>{
>> ....
>> }
>> 
>> WDYT?
>> 
>> --Gurkan Erdogdu
>> Founder and PMC Chair, Apache OpenWebBeans
>> _______________________________________________
>> cdi-dev mailing list
>> cdi-dev at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/cdi-dev
>




More information about the cdi-dev mailing list