[jboss-dev-forums] [Design of POJO Server] - [jboss-metadata] No LocalBindingMetaData
ALRubinger
do-not-reply at jboss.com
Mon Oct 13 23:27:15 EDT 2008
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
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4181986#4181986
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4181986
More information about the jboss-dev-forums
mailing list