3 Replies Latest reply on Sep 4, 2007 5:08 PM by William DeCoste

    Post-install supply change

    Carlo de Wolf Master

      I've hit a snag while spotting some regression because of http://jira.jboss.com/jira/browse/EJBTHREE-1042.

      If a container looks itself up using JNDI it should not register a dependency. To check this I need to iterate bindings before install (after processMetaData). But because of http://jira.jboss.com/jira/browse/EJBTHREE-942 metadata is only complete after create()->initializeClassContainer(), e.g. post-install. This is a no-go on MC, metadata must be complete pre-install.

      To make things more interesting: in general we allow metadata additions from ejb3-interceptors-aop.xml, so it should be processed after descriptor handler, but before any metadata is used. This nags EJB3InterceptorsFactory which needs the metadata to establish an interceptor chain.
      So either we don't allow metadata additions in interceptor-aop (not an option) or we don't use metadata during interceptors-aop setup (ehr...).