[jboss-dev-forums] [Design of EJB 3.0] - Post-install supply change

wolfc do-not-reply at jboss.com
Tue Sep 4 07:41:30 EDT 2007


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...).
Suggestions?

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4080831#4080831

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4080831



More information about the jboss-dev-forums mailing list