jsr345-experts@ejb-spec.java.net

[jsr345-experts] Re: Signature of Lifecycle Callback Methods in interceptors

From: Adam Bien <abien_at_adam-bien.com>
Date: Sun, 13 Nov 2011 12:05:59 +0100

We should at least add a reference to the page. In the EJB spec it is "half-defined" :-)
On 13.11.2011, at 11:01, Pete Muir wrote:

> This is defined on page 8 of the interceptors spec. Please do not
> alter the ejb spec here!
>
> On 13 November 2011 04:52, Adam Bien <abien_at_adam-bien.com> wrote:
>> Hi *,
>>
>> I cannot find any definition of the method signature of Lifecycle callbacks in interceptors.
>>
>> is the InvocationContext valid in an interceptor? (it works in GF, getTarget is filled, getMethod returns null)
>>
>> @PostConstruct
>> public void onCreation(InvocationContext context){ }
>>
>>
>> Should we extend the section: 12.5 Interceptors for LifeCycle Event Callbacks
>> with a sample / explanation?
>>
>> thanks!,
>>
>> adam
>>
>>
>>