2 Replies Latest reply on Dec 1, 2007 11:42 PM by Scott Stark

    DefaultJndiBindingPolicy and ReferenceMetaDataResolverDeploy

    Scott Stark Master

      Currently there is no knowledge of the JndiBindingPolicy annotation or DefaultJndiBindingPolicy interface in the metadata. The ReferenceMetaDataResolverDeployer expects that by the time it runs, the JBossEnterpriseBeanMetaData resolved for a ejb-ref/ejb-local-ref can be used to determine the mappeName for the referring EJBLocalReferenceMetaData/EJBReferenceMetaData.

      This is not the case if the proxy factory is looking to a DefaultJndiBindingPolicy for the name if it was not explicitly set. These need to be brought together if the post ReferenceMetaDataResolverDeployer state is that all references have been resolved and the values determined.