org.apache.cocoon.ojb.jdo.components
Class JDOImpl

java.lang.Object
  extended byorg.apache.avalon.framework.logger.AbstractLogEnabled
      extended byorg.apache.cocoon.ojb.jdo.components.JDOImpl
All Implemented Interfaces:
Component, Initializable, JDO, LogEnabled, ThreadSafe

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.java 155367 2005-02-25 20:22:13Z vgritsenko $
Author:
Antonio Gallardo

Field Summary
protected  javax.jdo.PersistenceManagerFactory factory
           
 
Fields inherited from interface org.apache.cocoon.ojb.jdo.components.JDO
ROLE
 
Constructor Summary
JDOImpl()
           
 
Method Summary
 javax.jdo.PersistenceManager getPersistenceManager()
          Get a Persitence Manager.
 void initialize()
           
 
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

factory

protected javax.jdo.PersistenceManagerFactory factory
Constructor Detail

JDOImpl

public JDOImpl()
Method Detail

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-2005 The Apache Software Foundation. All Rights Reserved.