[jboss-dev-forums] [Design of EJB 3.0] - Ordering multiple life cycle callback methods

alex.loubyansky@jboss.com do-not-reply at jboss.com
Mon Sep 1 10:25:54 EDT 2008


The issue affects app clients, web and ejb. Right now, the ordering (if implemented) is done in each container. So, I was thinking why not add a helper method in the metadata project and re-use the algorithm in each container?

E.g. a method could be added to org.jboss.metadata.javaee.spec.LifecycleCallbacksMetaData
public List<Method> getOrderedCallbacks(Class<?> defaultClass
or whatever return type makes more sense.

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

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



More information about the jboss-dev-forums mailing list