[jboss-jira] [JBoss JIRA] Closed: (JBCACHE-928) Add a method to expose lifecycle state
Brian Stansberry (JIRA)
jira-events at lists.jboss.org
Wed May 23 15:33:08 EDT 2007
[ http://jira.jboss.com/jira/browse/JBCACHE-928?page=all ]
Brian Stansberry closed JBCACHE-928.
------------------------------------
Resolution: Done
Method is public CacheStatus getCacheStatus(). Added to Cache, CacheJmxWrapperMBean and PojoCacheJmxWrapperMBean. The 2 MBean interfaces also expose getState, which is the legacy name for the concept. That is done to ease integration with the AS JSR-77 layer, which checks for an attribute of that name in order to decide if an mbean is manageable.
> Add a method to expose lifecycle state
> --------------------------------------
>
> Key: JBCACHE-928
> URL: http://jira.jboss.com/jira/browse/JBCACHE-928
> Project: JBoss Cache
> Issue Type: Sub-task
> Security Level: Public(Everyone can see)
> Reporter: Brian Stansberry
> Assigned To: Brian Stansberry
> Fix For: 2.0.0.CR2
>
>
> In 1.x, in the AS at least, the lifecycle state of a cache could be determined via the inherited ServiceMBeanSupport.getState(). Now there is no way to find out if the cache is created/started/stopped/destroyed. We should consider adding this, perhaps as a method in the Cache interface.
--
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