org.jboss.portal.security.impl.store
Interface ObjectManager

All Known Implementing Classes:
JBossTreeCacheStore

public interface ObjectManager

The object manager interface provides the callback made by the TreeCacheAdapter.


Method Summary
 void createContent()
          Give a chance to the manager to create the initial content when the cache adapter has detected it does not exist.
 ObjectModelAdapter getModelAdapter()
          Return the object model adapter.
 

Method Detail

createContent

public void createContent()
                   throws java.lang.Exception
Give a chance to the manager to create the initial content when the cache adapter has detected it does not exist.

Throws:
java.lang.Exception - any exception that will cause a rollback of the transaction

getModelAdapter

public ObjectModelAdapter getModelAdapter()
Return the object model adapter.

Returns:
the object model adapter