On 20 March 2013 09:44, Tristan Tarrant <[email protected]> wrote: > On 03/19/2013 06:55 PM, Dennis Reed wrote: >> This is an invalid use of the MBean names. >> >> The keys in an ObjectName are unordered. It is a bug to depend on a >> specific ordering of the keys. > Thanks Dennis, I was about to write that. >> On 03/19/2013 10:07 AM, Manik Surtani wrote: >>> >>> On 27 Feb 2013, at 15:54, James Strachan <[email protected]> wrote: >>> I also wondered if folks fancied adding a few more operations to the >>> Cache mbean so that we could build a little console in hawtio for >>> Infinispan; to view/update contents of the caches or flush them etc? > This is actually trickier than you think: Infinispan can theoretically > use any kind of data for keys/values (including custom Java classes). > Furthermore these keys/values may be wrapped by service-specific > containers making it very difficult to implement some kind of CRUD > interface. > You could probably latch on to the Infinispan CLI server component > (which incidentally is also exposed as an MBean) and provides solutions > for most of the above problems.
Ah cool, I'd not seen that, I'll take a look. Being able to marshal things to blobs of JSON would be handy (e.g. using Jackson or using Jolokia). I'll try out the CLI MBean though. ------- Red Hat Email: [email protected] Web: http://fusesource.com Twitter: jstrachan, fusenews Blog: http://macstrac.blogspot.com/ Open Source Integration _______________________________________________ infinispan-dev mailing list [email protected] https://lists.jboss.org/mailman/listinfo/infinispan-dev
