org.apache.ojb.broker.platforms
Class PlatformFactory

java.lang.Object
  extended by org.apache.ojb.broker.platforms.PlatformFactory

public class PlatformFactory
extends 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 platforms

Parameters:
jcd - the JdbcConnectionDescriptor defining the platform


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