[jboss-cvs] JBossCache/src/org/jboss/cache ...
Brian Stansberry
brian.stansberry at jboss.com
Tue May 22 12:51:01 EDT 2007
User: bstansberry
Date: 07/05/22 12:51:01
Modified: src/org/jboss/cache TreeCacheViewMBean.java
Log:
[JBCACHE-1068] Get rid of LifeCycle interface.
Revision Changes Path
1.4 +10 -4 JBossCache/src/org/jboss/cache/TreeCacheViewMBean.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: TreeCacheViewMBean.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/src/org/jboss/cache/TreeCacheViewMBean.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- TreeCacheViewMBean.java 7 Sep 2006 13:52:28 -0000 1.3
+++ TreeCacheViewMBean.java 22 May 2007 16:51:01 -0000 1.4
@@ -6,17 +6,23 @@
*/
package org.jboss.cache;
-import org.jboss.cache.jmx.LifeCycle;
/**
* MBean interface.
*
* @author <a href="mailto:bela at jboss.org">Bela Ban</a> March 27 2003
*/
-public interface TreeCacheViewMBean extends LifeCycle
+public interface TreeCacheViewMBean
{
- java.lang.String getCacheService();
+ void create() throws Exception;
- void setCacheService(java.lang.String cache_service) throws java.lang.Exception;
+ void start() throws Exception;
+ void stop() ;
+
+ void destroy() ;
+
+ String getCacheService();
+
+ void setCacheService(String cache_service) throws Exception;
}
More information about the jboss-cvs-commits
mailing list