ejb@glassfish.java.net

ejb-jar_3_0.xsd updates

From: Kenneth Saks <Kenneth.Saks_at_Sun.COM>
Date: Thu, 09 Feb 2006 09:32:11 -0500

The workspace has been updated with the latest ejb schema. Here are
the changes :

1. around-invoke-method, pre-passivate-method, and post-activate-method

have been changed to :

around-invoke, pre-passivate, post-activate

2. The type of the around-invoke elements has been changed from
lifecycle-callbackType to a new type, aroundInvokeType,
which is defined in ejb-jar_3_0.xsd. The semantics are the same,
but the element names are a bit different :

old :

<around-invoke-method>
    
<lifecycle-callback-class>com.acme.FooInterceptor</lifecycle-callback-class>
    <lifecycle-callback-method>aroundInvoke</lifecycle-callback-method>
</around-invoke-method>

new :

<around-invoke>
    <class>com.acme.FooInterceptor</class>
    <method-name>aroundInvoke</method-name>
</around-invoke>

3. <ejb-class> minOccurs = 0

The ejb-class element is now optional for session beans / message driven
beans when used in conjuction(same ejb-name) with a component-defining
annotation.