[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: InstallType vs. CallbackType

adrian@jboss.org do-not-reply at jboss.com
Fri Feb 29 08:54:55 EST 2008


"alesj" wrote : "alesj" wrote : Why the change/difference in handling installType vs. callbackType?
  | To be consistent with JAXB?
  | Since we have separate metadata classes for install callback and uninstall callback, where there is only single install metadata class for the installs/uninstall?

No its called "forward compatibility". 
In the future, we might want to add something that is only for one of them.

Why did you create an InstallCallbackMetaData with no additional
properties if not for this reason? :-)

The JAXB changes just brought the issue into focus.
The same is probably true of the install and lifecycle types?

I guess I was a bit lazy in just cloning it, there should really be an
abstractCallbackType to ease maintenance. :-)

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

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



More information about the jboss-dev-forums mailing list