[
http://jira.jboss.com/jira/browse/JBCACHE-1068?page=all ]
Brian Stansberry closed JBCACHE-1068.
-------------------------------------
Resolution: Done
Get rid of LifeCycle interface
------------------------------
Key: JBCACHE-1068
URL:
http://jira.jboss.com/jira/browse/JBCACHE-1068
Project: JBoss Cache
Issue Type: Sub-task
Security Level: Public(Everyone can see)
Affects Versions: 2.0.0.CR1
Reporter: Brian Stansberry
Assigned To: Brian Stansberry
Priority: Minor
Fix For: 2.0.0.CR2
The org.jboss.cache.jmx.LifeCycle interface is more trouble than help. No code refers to
anything by that interface. All it does is encapsulate create/start/stop/destroy so
various subinterfaces can save four lines of code. Problem is the subinterfaces that use
it can reasonably declare different exception types, forcing LifeCycle to say "throws
Exception". That makes using LifeCycle in any kind of utility code unworkable.
--
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