org.apache.ojb.odmg
Class OJB

java.lang.Object
  extended by org.apache.ojb.broker.util.factory.ConfigurableFactory
      extended by org.apache.ojb.odmg.OJB
All Implemented Interfaces:
Configurable
Direct Known Subclasses:
OJBJ2EE_2

public class OJB
extends ConfigurableFactory

Facade to the persistence ObjectServer system. Implements the factory interface for a particular ODMG implementation.

Version:
$Id: OJB.java,v 1.1 2007-08-24 22:17:37 ewestfal Exp $
Author:
Armin Waibel

Constructor Summary
protected OJB()
          protected Constructor: use static factory method getInstance() to obtain an instance of Implementation
 
Method Summary
protected  String getConfigurationKey()
          must be implemented in the concrete factory classes.
static ImplementationExt getInstance()
          Return new instance of the Implementation class.
 
Methods inherited from class org.apache.ojb.broker.util.factory.ConfigurableFactory
buildArgumentString, configure, createNewInstance, createNewInstance, createNewInstance, getClassToServe, getLogger, setClassToServe
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OJB

protected OJB()
protected Constructor: use static factory method getInstance() to obtain an instance of Implementation

Method Detail

getInstance

public static ImplementationExt getInstance()
Return new instance of the Implementation class. The used implementation class can be specified in OJB properties file.


getConfigurationKey

protected String getConfigurationKey()
Description copied from class: ConfigurableFactory
must be implemented in the concrete factory classes. the configuration key is used to lookup the Class to serve from the OjbConfiguration in configure().

Specified by:
getConfigurationKey in class ConfigurableFactory


Copyright © 2004-2012 The Kuali Foundation. All Rights Reserved.