org.apache.jetspeed.services.db
Class ObjectBridgeDatabaseService

java.lang.Object
  |
  +--org.apache.turbine.services.BaseInitable
        |
        +--org.apache.turbine.services.BaseService
              |
              +--org.apache.turbine.services.TurbineBaseService
                    |
                    +--org.apache.jetspeed.services.db.ObjectBridgeDatabaseService
All Implemented Interfaces:
org.apache.turbine.services.Initable, JetspeedDatabaseService, org.apache.turbine.services.Service

public class ObjectBridgeDatabaseService
extends org.apache.turbine.services.TurbineBaseService
implements JetspeedDatabaseService

This is an implementation of the JetspeedDatabase interface.

Version:
$Id: ObjectBridgeDatabaseService.java,v 1.4 2004/02/23 03:28:10 jford Exp $
Author:
David Sean Taylor

Field Summary
 
Fields inherited from class org.apache.turbine.services.BaseService
configuration, name, properties, serviceBroker
 
Fields inherited from class org.apache.turbine.services.BaseInitable
initableBroker, isInitialized
 
Fields inherited from interface org.apache.jetspeed.services.db.JetspeedDatabaseService
SERVICE_NAME
 
Constructor Summary
ObjectBridgeDatabaseService()
           
 
Method Summary
 java.lang.Object getPersistenceManager()
          Returns a PersistenceManager for the the configured database service.
 void init()
          This is the lateinitialization method called by the Turbine Service framework
 void init(javax.servlet.ServletConfig conf)
          This is the early initialization method called by the Turbine Service framework
 void shutdown()
          This is the shutdown method called by the Turbine Service framework
 
Methods inherited from class org.apache.turbine.services.TurbineBaseService
init, init
 
Methods inherited from class org.apache.turbine.services.BaseService
getConfiguration, getName, getProperties, getServiceBroker, setName, setServiceBroker
 
Methods inherited from class org.apache.turbine.services.BaseInitable
getInit, getInitableBroker, setInit, setInitableBroker
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.turbine.services.Service
getConfiguration, getName, getProperties, setName, setServiceBroker
 
Methods inherited from interface org.apache.turbine.services.Initable
getInit, init, setInitableBroker
 

Constructor Detail

ObjectBridgeDatabaseService

public ObjectBridgeDatabaseService()
Method Detail

init

public void init(javax.servlet.ServletConfig conf)
          throws org.apache.turbine.services.InitializationException
This is the early initialization method called by the Turbine Service framework

Overrides:
init in class org.apache.turbine.services.TurbineBaseService
Parameters:
conf - The ServletConfig
Throws:
throws - a InitializationException if the service fails to initialize
org.apache.turbine.services.InitializationException

getPersistenceManager

public java.lang.Object getPersistenceManager()
Description copied from interface: JetspeedDatabaseService
Returns a PersistenceManager for the the configured database service. When JDO implementations are available, this method should return a JDO PersistenceManager interface.

Specified by:
getPersistenceManager in interface JetspeedDatabaseService
Returns:
A PersistenceManager instance.

init

public void init()
          throws org.apache.turbine.services.InitializationException
This is the lateinitialization method called by the Turbine Service framework

Specified by:
init in interface org.apache.turbine.services.Initable
Overrides:
init in class org.apache.turbine.services.TurbineBaseService
Throws:
throws - a InitializationException if the service fails to initialize
org.apache.turbine.services.InitializationException

shutdown

public void shutdown()
This is the shutdown method called by the Turbine Service framework

Specified by:
shutdown in interface org.apache.turbine.services.Initable
Overrides:
shutdown in class org.apache.turbine.services.TurbineBaseService


Copyright © 2000-2004 Apache Software Foundation. All Rights Reserved.