* @see org.jboss.aop.advice.Interceptor#invoke(org.jboss.aop.joinpoint.Invocation)
*/
public Object invoke(final Invocation invocation) throws Throwable
{
// Get the current invocation ID
final AsyncInvocationId id = CurrentAsyncAOPInvocation.getCurrentAsyncInvocationId(invocation);
// Get at the current invocations via the container
final Advisor advisor = invocation.getAdvisor();
final EJBContainer ejbContainer = EJBContainer.getEJBContainer(advisor);
if (ejbContainer instanceof ServiceContainer || ejbContainer instanceof MessagingContainer)