@Override public Invocation copy() { final SessionContainerInvocation<A, T> newInvocation = new SessionContainerInvocation<A, T>( this.invokedBusinessInterface, this.info, container); newInvocation.interceptors = this.interceptors; newInvocation.invocationContext = this.invocationContext; newInvocation.setBeanContext(this.getBeanContext()); return newInvocation; } }
EJBContainerInvocation nextInvocation = new SessionContainerInvocation(null, info, timeoutMethodAOPInterceptors, this); nextInvocation.setAdvisor(getAdvisor());
EJBContainerInvocation<StatelessContainer, StatelessBeanContext> nextInvocation = new SessionContainerInvocation<StatelessContainer, StatelessBeanContext>( null, info, this); nextInvocation.setAdvisor(getAdvisor());
Interceptor[] aopInterceptors = aopInvocationContext.getInterceptors(); EJBContainerInvocation<AOPBasedSingletonContainer, LegacySingletonBeanContext> invocation = new SessionContainerInvocation<AOPBasedSingletonContainer, LegacySingletonBeanContext>( containerInvocation.getInvokedBusinessInterface(), aopInvocationContext.getMethodInfo(), aopInterceptors, aopBasedSingletonContainer);
newSi = new SessionContainerInvocation<StatelessContainer, StatelessBeanContext>( invokedBusinessInterface, info, this); newSi.setArguments(si.getArguments());