当前页面:
在线文档首页 >
JBoss 4.0.1 sp1 Cache API Documentation 英文版文档
TreeCacheAopView (JBossCache API) - JBoss 4.0.1 sp1 Cache API Documentation 英文版文档
org.jboss.cache.aop
Class TreeCacheAopView
java.lang.Object
org.jboss.cache.aop.TreeCacheAopView
- public class TreeCacheAopView
- extends Object
Graphical view of a ReplicatedTree (using the MVC paradigm). An instance of this class needs to be given a
reference to the underlying model (ReplicatedTree) and needs to registers as a ReplicatedTreeListener. Changes
to the tree structure are propagated from the model to the view (via ReplicatedTreeListener), changes from the
GUI (e.g. by a user) are executed on the tree model (which will broadcast the changes to all replicas).
The view itself caches only the nodes, but doesn't cache any of the data (HashMap) associated with it. When
data needs to be displayed, the underlying tree will be accessed directly.
- Version:
- $Revision: 1.10.4.1 $
- Author:
- Ben Wang
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TreeCacheAopView
public TreeCacheAopView(TreeCacheAop cache)
throws Exception
start
public void start()
throws Exception
- Throws:
Exception
stop
public void stop()
main
public static void main(String[] args)
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.