[Design of JBossCache] - Re: Last chance for any changes to the 2.0.0 API
by manik.surtani@jboss.com
"bstansberry(a)jboss.com" wrote : Another thing I've thought about is renaming the TreeCache class to CacheImpl or something. We don't code to be written against the TreeCache class itself. There's a lot of legacy code written that way; changing the class name forces a shift to the new API.
|
+1, this is a good idea.
"bstansberry(a)jboss.com" wrote :
| A kinder gentler way is to create CacheImpl, and then make TreeCache a trivial subclass. Then mark TreeCache deprecated with a comment it will be removed in 2.1 or 2.2.
Do we really want this? Like you said we don't want people talking to the implementation directly at all, especially since we can't guarantee correct behaviour with the interceptor chains, etc. I'd rather remove this altogether, like you said forcing people to write to the new API.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995351#3995351
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3995351
19 years, 3 months
[Design of POJO Server] - Re: Moving forward with the profile service mgmt api
by charles.crouch@jboss.com
"scott.stark(a)jboss.org" wrote :
| It can be. The piece that is missing is how does the profile service take a ManagedObject populated with a set of changes, and then merge that into the base DeploymentContext metadata attachments to create the predetermined attachments that override the raw deployment values. The missing mapping is the attachment name, and the corresponding metdata object property(s). In general a ManagedObject properties are going to map to several different metadata objects/properties.
|
| The ManagementView also needs to be updated to support applying a ManagedObject change. I don't see that the ManagedObject returned from the ManagementView is hooked up to the attachments it overrides, therefore, this needs to be a write step.
|
Ok, is this something you are going to looking at, or Adrian?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995345#3995345
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3995345
19 years, 3 months