org.apache.ojb.broker.platforms
Class PlatformFactory
java.lang.Object
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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PlatformFactory
public PlatformFactory()
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.