public Object invoke(Object proxy, Method method, Object[] args) throws Throwable { try { if(encFactory == null) throw new IllegalStateException("EJBTHREE-2056: EjbEncFactory is null, usage of java:comp is not allowed before CREATE"); return method.invoke(encFactory.getEnc(EJBContainer.this), args); } catch(InvocationTargetException e) { throw e.getTargetException(); } } };
enc = encFactory.getEnc(this);