}
@Override
protected List<ComponentInjector.InjectionHandle> applyInjections(ComponentInstance instance) {
// TODO: a temporary hack until injection interceptors are in place
BaseSessionInvocationContext invocationContext = new BaseSessionInvocationContext(null, null, null) {
@Override
public Object proceed() throws Exception {
throw new RuntimeException("Do not call proceed");
}
};
invocationContext.setEJBContext(((SessionBeanComponentInstance) instance).getSessionContext());
CurrentInvocationContext.push(invocationContext);
try {
return super.applyInjections(instance);
} finally {
CurrentInvocationContext.pop();