0 Replies Latest reply on Oct 13, 2008 11:27 PM by alrubinger

    [jboss-metadata] No LocalBindingMetaData

    alrubinger

      So far we've gotten by without a LocalBindingMetaData class because we set the necessary values directly in LocalBindingProcessor:

      public void process(JBossSessionBeanMetaData metaData, Class<?> type)
       {
       LocalBinding annotation = finder.getAnnotation(type, LocalBinding.class);
       if(annotation == null)
       return;
      
       if(annotation.jndiBinding() != null && annotation.jndiBinding().length() > 1)
       metaData.setLocalJndiName(annotation.jndiBinding());
       }


      But this doesn't model the metadata properly, and is preventing me from doing some validation as defined by JBMETA-117.

      Any objections to adding LocalBindingMetaData and the other necessary support? Then metaData.setLocalJndiName() gets called somewhere else.

      I'm hoping to task Emanuel on this one?

      S,
      ALR