ojb.broker.platforms
Class PlatformFactory

java.lang.Object
  |
  +--ojb.broker.platforms.PlatformFactory

public class PlatformFactory
extends java.lang.Object

this factory class is responsible to create Platform objects that define RDBMS platform specific behaviour.

Version:
1.0
Author:
Thomas Mahler

Constructor Summary
PlatformFactory()
           
 
Method Summary
static Platform getPlatformFor(JdbcConnectionDescriptor jcd)
          returns the Platform matching to the JdbcConnectionDescriptor jcd.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PlatformFactory

public PlatformFactory()
Method Detail

getPlatformFor

public static Platform getPlatformFor(JdbcConnectionDescriptor jcd)
returns the Platform matching to the JdbcConnectionDescriptor jcd. The method jcd.getDbms(...) is used to determine the Name of the platform. BRJ : cache paltforms

Parameters:
jcd - the JdbcConnectionDescriptor defining the platform


Authors: Thomas Mahler and others. (C) 2000, 2001.
All rights reserved. Published under the Gnu Public License.
http://objectbridge.sourceforge.net
Version: 0.8.375, 2002-04-04