org.outerj.daisy.books.store.impl
Class CommonBookStore
java.lang.Object
org.outerj.daisy.books.store.impl.CommonBookStore
- All Implemented Interfaces:
- org.outerj.daisy.repository.ExtensionProvider
public class CommonBookStore
- extends java.lang.Object
- implements org.outerj.daisy.repository.ExtensionProvider
The book store. This class should be a singleton. It registers an extension with the Daisy repository manager.
Users should access the book store through the repository, i.e. repository.getExtension("BookStore").
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CommonBookStore
public CommonBookStore()
enableLogging
public void enableLogging(Logger logger)
configure
public void configure(Configuration configuration)
throws ConfigurationException
- Throws:
ConfigurationException
service
public void service(ServiceManager serviceManager)
throws ServiceException
- Throws:
ServiceException
initialize
public void initialize()
throws java.lang.Exception
- Throws:
java.lang.Exception
dispose
public void dispose()
createExtension
public java.lang.Object createExtension(org.outerj.daisy.repository.Repository repository)
- Specified by:
createExtension in interface org.outerj.daisy.repository.ExtensionProvider
renameBookInstance
public void renameBookInstance(java.lang.String oldName,
java.lang.String newName,
org.outerj.daisy.repository.Repository repository)
existsBookInstance
public boolean existsBookInstance(java.lang.String name,
org.outerj.daisy.repository.Repository repository)
Copyright © -2006 . All Rights Reserved.