[jboss-dev-forums] [Design of JBossCache] - Re: Channel creation - mux vs. old style
manik.surtani@jboss.com
do-not-reply at jboss.com
Thu Apr 26 07:34:21 EDT 2007
"bstansberry at jboss.com" wrote :
| a) Can they parse a deployment descriptor (a la -service.xml, but their format), use it instantiate a pojo (aka CacheLegacyJmxWrapper) and inject config elements into it and then register that pojo in JMX?
|
| If no, then the user is going to have to deal with JMX themselves anyway (programatically). In that case, providing a convenience method doesn't buy much. User still has to provide us a ref to the MBeanServer and the ObjectName of the JChannelFactory. They just avoid the trivial lookup call.
|
Good point. I suppose in most cases there will be some custom "deployer" code to read a JBoss Cache XML file, instantiate the cache and then attach it to JNDI or JMX for use by apps.
The JMX lookup for a JChannel could be done programatically and injected I suppose.
This will be related to what we do for JBCACHE-1023.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4040930#4040930
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4040930
More information about the jboss-dev-forums
mailing list