org.apache.ojb.broker.platforms
Class PlatformFactory

java.lang.Object
  extended by org.apache.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
equals, 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 platforms

Parameters:
jcd - the JdbcConnectionDescriptor defining the platform


(C) 2002 - 2006 Apache Software Foundation
All rights reserved. Published under the Apache License 2.0.
http://db.apache.org/ojb
Version: 1.0.4, 2005-12-30