org.jtheque.core.managers.persistence
Class PersistenceManager

java.lang.Object
  extended by org.jtheque.core.managers.AbstractActivableManager
      extended by org.jtheque.core.managers.persistence.PersistenceManager
All Implemented Interfaces:
ActivableManager, IManager, IPersistenceManager

public final class PersistenceManager
extends AbstractActivableManager
implements IPersistenceManager

A persistence manager implementation.

Author:
Baptiste Wicht

Constructor Summary
PersistenceManager()
           
 
Method Summary
 void clearDatabase()
          Clear the database.
 void close()
          Close the manager.
 void init()
          Init the manager.
 void preInit()
          Pre-init the manager.
 
Methods inherited from class org.jtheque.core.managers.AbstractActivableManager
isEnabled, setEnabled
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.jtheque.core.managers.ActivableManager
isEnabled, setEnabled
 

Constructor Detail

PersistenceManager

public PersistenceManager()
Method Detail

preInit

public void preInit()
Description copied from interface: IManager
Pre-init the manager. This operation is called before modules preplug.

Specified by:
preInit in interface IManager

init

public void init()
          throws ManagerException
Description copied from interface: IManager
Init the manager. This operation is called after modules preplug but before module plug.

Specified by:
init in interface IManager
Throws:
ManagerException - If an error occurs during the init process.

close

public void close()
           throws ManagerException
Description copied from interface: IManager
Close the manager.

Specified by:
close in interface IManager
Throws:
ManagerException - If an error occurs during the close process.

clearDatabase

public void clearDatabase()
Description copied from interface: IPersistenceManager
Clear the database.

Specified by:
clearDatabase in interface IPersistenceManager


Copyright © 2009 JTheque. All Rights Reserved.