org.apache.cocoon.ojb.jdo.components
Class JDOImpl
java.lang.Object
org.apache.avalon.framework.logger.AbstractLogEnabled
org.apache.cocoon.ojb.jdo.components.JDOImpl
- All Implemented Interfaces:
- Initializable, Component, LogEnabled, ThreadSafe, JDO
public class JDOImpl
- extends AbstractLogEnabled
- implements JDO, ThreadSafe, Initializable
Implementation of the JDO component. Creates one PersistenceManagerFactory
and stores it for the future use.
- Version:
- CVS $Id: JDOImpl.html 1304258 2012-03-23 10:09:27Z ilgrosso $
- Author:
- Antonio Gallardo
Field Summary |
protected javax.jdo.PersistenceManagerFactory |
factory
|
Fields inherited from interface org.apache.cocoon.ojb.jdo.components.JDO |
ROLE |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
factory
protected javax.jdo.PersistenceManagerFactory factory
JDOImpl
public JDOImpl()
getPersistenceManager
public javax.jdo.PersistenceManager getPersistenceManager()
- Description copied from interface:
JDO
- Get a Persitence Manager.
- Specified by:
getPersistenceManager
in interface JDO
initialize
public void initialize()
throws Exception
- Specified by:
initialize
in interface Initializable
- Throws:
Exception
Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.