[jboss-dev] JNDI Binding Policy / Full meta data view

Scott Stark sstark at redhat.com
Fri Jun 27 12:03:35 EDT 2008


I started a pojo server forum thread here:
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4161240#4161240

This affects, jboss-metadata, ejb3, aop, jbossas, maybe mdr, deployers, 
so jump in if thats you.

Carlo de Wolf wrote:
> In EJB3 we use ejb3-interceptors-aop.xml to add meta data to our
> container (as opposed to standardjboss.xml).
> For example the JNDI binding policy:
>
>    <domain name="Stateless Bean" extends="Intercepted Bean" inheritBindings="true">
> ...
>       <annotation expr="!class(@org.jboss.ejb3.annotation.JndiBindingPolicy)">
>          @org.jboss.ejb3.annotation.JndiBindingPolicy (policy=org.jboss.ejb3.jndipolicy.impl.PackagingBasedJndiBindingPolicy.class)
>       </annotation>
> ...
>    </domain>
>
> These settings to not make it into the full meta data view, so mapped
> reference meta data resolver deployer doesn't know about it.
>
> We could do an extra deployer in before the annotation meta data
> deployer. Would that work?
> Or do we need to change annotation meta data deployer to pick this up?
> At least the annotation meta deployer needs to use a different
> annotation finder. Problem here is the domain is one-on-one with an EJB,
> while the finder is one-on-one with a module.
>
> Carlo
>
> _______________________________________________
> jboss-development mailing list
> jboss-development at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jboss-development
>   




More information about the jboss-development mailing list