[jboss-jira] [JBoss JIRA] Updated: (JBCACHE-1181) CacheJmxWrappers exposes details as JMX attributes, not operations

Brian Stansberry (JIRA) jira-events at lists.jboss.org
Mon Sep 17 23:45:11 EDT 2007


     [ http://jira.jboss.com/jira/browse/JBCACHE-1181?page=all ]

Brian Stansberry updated JBCACHE-1181:
--------------------------------------

    Description: 
getConfigurationAsString();
getConfigurationAsHtmlString();
getCacheDetails();
getCacheDetailsAsHtml();
getLockInfo();
getLockInfoAsHtml();

All are too verbose for exposure as MBean attributes in the JMX console.  They need to be converted into operations so users will have to specifically invoke them.

A better API would be:

printConfigurationAsString();
printConfigurationAsHtmlString();
printCacheDetails();
printCacheDetailsAsHtml();
printLockInfo();
printLockInfoAsHtml();



  was:
getConfigurationAsString();
getConfigurationAsHtmlString();
getCacheDetails();
getCacheDetailsAsHtml();

All are too verbose for exposure as MBean attributes in the JMX console.  They need to be converted into operations so users will have to specifically invoke them.

A better API would be:

printConfigurationAsString();
printConfigurationAsHtmlString();
printCacheDetails();
printCacheDetailsAsHtml();




> CacheJmxWrappers exposes details as JMX attributes, not operations
> ------------------------------------------------------------------
>
>                 Key: JBCACHE-1181
>                 URL: http://jira.jboss.com/jira/browse/JBCACHE-1181
>             Project: JBoss Cache
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>    Affects Versions: 2.0.0.GA
>            Reporter: Brian Stansberry
>         Assigned To: Brian Stansberry
>             Fix For: 2.1.0.GA
>
>
> getConfigurationAsString();
> getConfigurationAsHtmlString();
> getCacheDetails();
> getCacheDetailsAsHtml();
> getLockInfo();
> getLockInfoAsHtml();
> All are too verbose for exposure as MBean attributes in the JMX console.  They need to be converted into operations so users will have to specifically invoke them.
> A better API would be:
> printConfigurationAsString();
> printConfigurationAsHtmlString();
> printCacheDetails();
> printCacheDetailsAsHtml();
> printLockInfo();
> printLockInfoAsHtml();

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list