// {
// return invokeEJBObjectMethod(factory, id, info, args);
// }
// FIXME: Ahem, stateful container invocation works on all.... (violating contract though)
StatefulContainerInvocation nextInvocation = new StatefulContainerInvocation(info, id);
//StatefulSessionContainerMethodInvocation nextInvocation = new StatefulSessionContainerMethodInvocation(info,null);
//EJBContainerInvocation nextInvocation = new StatefulContainerInvocation(info, id);
nextInvocation.setAdvisor(getAdvisor());
nextInvocation.setArguments(args);
// allow a container to supplement information into an invocation
nextInvocation = populateInvocation(nextInvocation);
return nextInvocation.invokeNext();
}
finally
{
Thread.currentThread().setContextClassLoader(oldLoader);
popEnc();