[jboss-dev-forums] [Design of EJB 3.0] - JBossSessionBeanMetadataCreator a la EjbJar30Creator

ALRubinger do-not-reply at jboss.com
Wed May 28 19:47:47 EDT 2008


Team Metadata:

I'm looking for something analogous to EjbJar30Creator which will also take into consideration JBoss-specific annotations.  Want to do something like:

AnnotationFinder<AnnotatedElement> finder = new DefaultAnnotationFinder<AnnotatedElement>();
  | Collection<Class<?>> classes = new HashSet<Class<?>>();
  | classes.add(beanImplClass);
  | JBossSessionBeanMetaData metaData = new JBossSessionBeanMetadataCreator(finder).create(classes);

Couldn't find it in jboss-metadata presently; does this exist or are there plans to provide one?

For the time being I'm mocking it for tests, but this will be helpful for non-JBossAS EJB3 Environments.

S,
ALR

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

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



More information about the jboss-dev-forums mailing list