[jboss-dev-forums] [Design of POJO Server] - Re: metadata simplication

wolfc do-not-reply at jboss.com
Mon Oct 22 10:40:04 EDT 2007


"scott.stark at jboss.org" wrote : I guess the main argument for having x.merge(...) merge into x is is that if you don't have jboss a metadata instance to merge you have strange code vs just passing in null:
If we merge into self, the argument stands. If we merge into a new object graph and there is no spec you would get:
  jboss.merged(merged, null);

As a counter point: the instance merge methods would be more in line with that static ones. Both having the same arguments with a static merge method returning the result and an instance merge method working on this.

For me only the merged view is important, so I don't mind what happens to the original objects.

What happens when we get another view / annotation view?

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

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



More information about the jboss-dev-forums mailing list