[jboss-dev-forums] [Design of POJO Server] - JBMETA-27, lifecycle representation
scott.stark@jboss.org
do-not-reply at jboss.com
Thu May 1 07:17:13 EDT 2008
Currently the lifecycle metadata is a simple array. This does not work for merges as you end up with repeated elements. It should be a map keyed by a possibly null class name which indicates 'the current' class in question. In the metadata layer this is not known generally (parsing an xml file that has no class). That is going to have to be handled by the runtime code that invokes the lifecycle callbacks. I have already done this in the client container.
So do we want to change this to a map(class-name,callback) to avoid duplicates or just update the merge logic to deal with the duplicates better?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4148091#4148091
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4148091
More information about the jboss-dev-forums
mailing list