ejb3/src/main/java/org/jboss/as/ejb3/timerservice/TimerServiceImpl.java
protected boolean isLifecycleCallbackInvocation() {
        final InterceptorContext currentInvocationContext = CurrentInvocationContext.get();
        if (currentInvocationContext == null) {
            return false;
        }
        // If the method in current invocation context is null,
        // then it represents a lifecycle callback invocation
        Method invokedMethod = currentInvocationContext.getMethod();
        if (invokedMethod == null) {
            // it's a lifecycle callback
            return true;
        }
        // not a lifecycle callback
        return false;
    }
protected boolean isLifecycleCallbackInvocation() {
        final InterceptorContext currentInvocationContext = CurrentInvocationContext.get();
        if (currentInvocationContext == null) {
            return false;
        }
        // If the method in current invocation context is null,
        // then it represents a lifecycle callback invocation
        Method invokedMethod = currentInvocationContext.getMethod();
        if (invokedMethod == null) {
            // it's a lifecycle callback
            return true;
        }
        // not a lifecycle callback
        return false;
    }
Returns true if the {@link CurrentInvocationContext} represents a lifecycle
callback invocation. Else returns false.
<p>
This method internally relies on {@link CurrentInvocationContext#get()} to obtain
the current invocation context.
<ul>
<li>If the context is available then it looks for the method that was invoked.
The absence of a method indicates a lifecycle callback.</li>
<li>If the context is <i>not</i> available, then this method returns false (i.e.
it doesn't consider the current invocation as a lifecycle callback). This is
for convenience, to allow the invocation of {@link javax.ejb.TimerService} methods
in the absence of {@link CurrentInvocationContext}</li>
</ul>
<p/>
</p>

@return