站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBOSS Portal 2.2 API 英文版文档

TreeCacheAdapter - JBOSS Portal 2.2 API 英文版文档


org.jboss.portal.security.impl.store
Class TreeCacheAdapter

java.lang.Object
  extended byorg.jboss.portal.security.impl.store.TreeCacheAdapter

public class TreeCacheAdapter
extends java.lang.Object


Field Summary
protected  TreeCache cache
          The cache we use to store the info.
protected  org.jboss.portal.security.impl.store.TreeCacheAdapter.TreeCacheListenerImpl cacheListener
          .
protected  TreeCacheProvider cacheProvider
          The cache provider.
protected  Fqn fqnPrefix
          The prefix to use.
protected  org.jboss.logging.Logger log
          The logger.
protected  ObjectManager objectManager
          .
protected  java.util.Map objects
          The objects.
protected  java.lang.String prefix
          The prefix to use as a string.
protected  java.util.Map uuids
          .
 
Constructor Summary
TreeCacheAdapter()
           
 
Method Summary
 void create()
           
 void createObject(Fqn fqn, java.util.Map state)
           
 void destroy()
           
 void destroyObject(Fqn fqn)
           
 TreeCache getCache()
           
 TreeCacheProvider getCacheProvider()
           
 Fqn getFQNPrefix()
           
 java.lang.Object getObject(Fqn fqn)
           
 ObjectManager getObjectManager()
           
 java.lang.String getPrefix()
           
 void setCacheProvider(TreeCacheProvider cacheProvider)
           
 void setObjectManager(ObjectManager objectManager)
           
 void setPrefix(java.lang.String prefix)
           
 void start()
           
 void stop()
           
 void updateEntry(Fqn fqn, java.lang.String key, java.lang.Object value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected org.jboss.logging.Logger log
The logger.


prefix

protected java.lang.String prefix
The prefix to use as a string.


fqnPrefix

protected Fqn fqnPrefix
The prefix to use.


cacheProvider

protected TreeCacheProvider cacheProvider
The cache provider.


cache

protected TreeCache cache
The cache we use to store the info.


objects

protected java.util.Map objects
The objects.


uuids

protected java.util.Map uuids
.


objectManager

protected ObjectManager objectManager
.


cacheListener

protected org.jboss.portal.security.impl.store.TreeCacheAdapter.TreeCacheListenerImpl cacheListener
.

Constructor Detail

TreeCacheAdapter

public TreeCacheAdapter()
Method Detail

getCache

public TreeCache getCache()

getFQNPrefix

public Fqn getFQNPrefix()

getObjectManager

public ObjectManager getObjectManager()

setObjectManager

public void setObjectManager(ObjectManager objectManager)

getPrefix

public java.lang.String getPrefix()

setPrefix

public void setPrefix(java.lang.String prefix)

getCacheProvider

public TreeCacheProvider getCacheProvider()

setCacheProvider

public void setCacheProvider(TreeCacheProvider cacheProvider)

create

public void create()
            throws java.lang.Exception
Throws:
java.lang.Exception

start

public void start()

stop

public void stop()

destroy

public void destroy()

getObject

public java.lang.Object getObject(Fqn fqn)

updateEntry

public void updateEntry(Fqn fqn,
                        java.lang.String key,
                        java.lang.Object value)

createObject

public void createObject(Fqn fqn,
                         java.util.Map state)
                  throws DuplicateObjectException
Throws:
DuplicateObjectException

destroyObject

public void destroyObject(Fqn fqn)
                   throws NoSuchObjectException
Throws:
NoSuchObjectException