org.apache.turbine.services.castor
Interface CastorService

All Superinterfaces:
Initable, Service
All Known Implementing Classes:
TurbineCastorService

public interface CastorService
extends Service

The interface a CastorService implements.

Version:
$Id: CastorService.java,v 1.1.1.1 2001/08/16 05:08:50 jvanzyl Exp $
Author:
Giacomo Pati

Field Summary
static java.lang.String DATABASEFILE_PROPERTY
          Deprecated.  
static java.lang.String DATABASENAME_PROPERTY
          Deprecated.  
static java.lang.String DEFAULT_LOGPREFIX
          Deprecated.  
static java.lang.String LOGFILE_PROPERTY
          Deprecated.  
static java.lang.String LOGPREFIX_PROPERTY
          Deprecated.  
static java.lang.String SERVICE_NAME
          Deprecated.  
 
Method Summary
 java.io.PrintWriter getCastorLogger()
          Deprecated. Gets the Castor logger object.
 org.exolab.castor.jdo.Database getDatabase()
          Deprecated. Gets the database object.
 org.exolab.castor.jdo.JDO getJDO()
          Deprecated. Gets the JDO.
 
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, init, setInitableBroker, shutdown
 

Field Detail

SERVICE_NAME

public static final java.lang.String SERVICE_NAME
Deprecated. 

LOGFILE_PROPERTY

public static final java.lang.String LOGFILE_PROPERTY
Deprecated. 

LOGPREFIX_PROPERTY

public static final java.lang.String LOGPREFIX_PROPERTY
Deprecated. 

DEFAULT_LOGPREFIX

public static final java.lang.String DEFAULT_LOGPREFIX
Deprecated. 

DATABASEFILE_PROPERTY

public static final java.lang.String DATABASEFILE_PROPERTY
Deprecated. 

DATABASENAME_PROPERTY

public static final java.lang.String DATABASENAME_PROPERTY
Deprecated. 
Method Detail

getCastorLogger

public java.io.PrintWriter getCastorLogger()
Deprecated. 
Gets the Castor logger object.
Returns:
A PrintWriter.

getJDO

public org.exolab.castor.jdo.JDO getJDO()
Deprecated. 
Gets the JDO.
Returns:
A JDO.

getDatabase

public org.exolab.castor.jdo.Database getDatabase()
                                           throws org.exolab.castor.jdo.DatabaseNotFoundException,
                                                  org.exolab.castor.jdo.PersistenceException
Deprecated. 
Gets the database object.
Returns:
A Database.
Throws:
DatabaseNotFoundException, - if attempted to open a database that does not exist.
PersistenceException, - if database access failed.


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