5657585960616263
CurrentComponent.push(component); } public void popEnc(EJBContainer container) { JavaEEComponent previous = CurrentComponent.pop(); assert previous == component; }
694695696697698699700701702703704
// TODO: must come in via MC injection final JavaEEModule module = getBean(beanName, JavaEEModule.class); // Web uses a Module context return new JavaEEComponent() { public Context getContext() { return module.getContext(); }
281282283284285286287288289290291
* @see org.jboss.ejb3.EJBContainer#popEnc() */ @Override protected void popEnc() { JavaEEComponent previousComponent = CurrentComponent.pop(); if (previousComponent != this.javaComp) { throw new IllegalStateException("Unexpected ENC context " + previousComponent + " popped by EJB container of bean " + this.getBeanClassName()); }
243244245246247248249250251252253