public class StatementsForClassFactory
extends org.apache.ojb.broker.util.factory.ConfigurableFactory
StatementsForClassIF
implementations. Developers may specify the specific implementation returned by
getStatementsForClass(org.apache.ojb.broker.metadata.JdbcConnectionDescriptor, org.apache.ojb.broker.metadata.ClassDescriptor)
by implementing the
StatementsForClassIF
interface and setting the StatementsForClassClass
property in
OJB.properties
.
StatementManager
,
StatementsForClassImpl
Constructor and Description |
---|
StatementsForClassFactory() |
Modifier and Type | Method and Description |
---|---|
static StatementsForClassFactory |
getInstance()
Get the singleton instance of this class
|
StatementsForClassIF |
getStatementsForClass(JdbcConnectionDescriptor cds,
ClassDescriptor cld)
Get an instance of
StatementsForClassIF |
public static StatementsForClassFactory getInstance()
public StatementsForClassIF getStatementsForClass(JdbcConnectionDescriptor cds, ClassDescriptor cld)
StatementsForClassIF
cds
- our connection descriptorcld
- the class descriptor of the persistant objectStatementsForClassIF
(C) 2002 - 2005 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