[jboss-dev-forums] [Design of JBossCache] - Re: POJOization of config elements
bstansberry@jboss.com
do-not-reply at jboss.com
Tue Oct 24 09:57:40 EDT 2006
"manik.surtani at jboss.com" wrote :
| Ugh! :-) I'd steer well clear of such ambiguities, if I were you! If we can use a PropertyEditor where needed, I'd prefer this approach.
|
Following Scott's suggestion, all such ambiguities will be gone. The Configuration object will just expose:
| public BuddyReplicationConfig getBuddyReplicationConfig()
| public void setBuddyReplicationConfig(BuddyReplicationConfig config)
| public CacheLoaderConfig getCacheLoaderConfig()
| public void setCacheLoaderConfig(CacheLoaderConfig config)
| public EvictionConfig getEvictionConfig()
| public void setEvictionConfig(EvictionConfig config)
|
The task of interpreting the legacy element names in XML will be handled by XmlConfigurationParser.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3980370#3980370
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3980370
More information about the jboss-dev-forums
mailing list