|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jafer.interfaces.DatabeanFactory
org.jafer.databeans.DatabeanManagerFactory
public class DatabeanManagerFactory
This class is responsible for creating DatabaseBeanManagers
Field Summary | |
---|---|
private java.lang.String[] |
allDatabases
Stores a reference to the complete set of configured databases for any new DatabeanManagers |
private CacheFactory |
cacheFactory
Stores a reference to cache factory that is passed to the databeanManager |
private java.util.Hashtable |
databeanFactories
Stores a reference to factories that can create databeans for specified databases. |
private java.lang.String |
mode
Stores a reference to search mode. |
static java.lang.String |
MODE_PARALLEL
Stores a reference to the PARALLEL MODE definition |
static java.lang.String |
MODE_SERIAL
Stores a reference to the SERIAL MODE definition |
private java.lang.String |
recordSchema
Stores a reference to the default record schema to set on the databean manager |
Constructor Summary | |
---|---|
DatabeanManagerFactory()
|
Method Summary | |
---|---|
CacheFactory |
getCacheFactory()
Returns the cache factory used by this databeanManagerFactory |
Databean |
getDatabean()
|
DatabeanFactory[] |
getDatabeanFactories()
Return the database factories that this databeanmaagerfactory uses |
java.lang.String |
getMode()
Get the mode that this factory uses when creating databean managers |
java.lang.String |
getRecordSchema()
gets the default record schema to be set on any databeanmanagers created |
void |
setCacheFactory(CacheFactory cacheFactory)
Sets the cache factory to be used by the DatabeanManagerFactory |
void |
setDatabeanFactories(DatabeanFactory[] databeanFactories)
set the database factories that this databeanmaagerfactory uses |
void |
setMode(java.lang.String mode)
Set the mode that the factory should use when creating DatabeanManagers |
void |
setRecordSchema(java.lang.String recordSchema)
Sets the default record schema to be set on any databeanmanagers created |
Methods inherited from class org.jafer.interfaces.DatabeanFactory |
---|
getName, load, setName |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String MODE_SERIAL
public static final java.lang.String MODE_PARALLEL
private java.lang.String recordSchema
private java.util.Hashtable databeanFactories
private CacheFactory cacheFactory
private java.lang.String mode
private java.lang.String[] allDatabases
Constructor Detail |
---|
public DatabeanManagerFactory()
Method Detail |
---|
public Databean getDatabean()
getDatabean
in class DatabeanFactory
public void setDatabeanFactories(DatabeanFactory[] databeanFactories)
databeanFactories
- An array of DatabeanFactoriespublic DatabeanFactory[] getDatabeanFactories()
public void setMode(java.lang.String mode)
mode
- The mode to use SERIAL or PARALLELpublic java.lang.String getMode()
public void setCacheFactory(CacheFactory cacheFactory)
cacheFactory
- the cache factory to usepublic CacheFactory getCacheFactory()
public void setRecordSchema(java.lang.String recordSchema)
recordSchema
- the record schema to setpublic java.lang.String getRecordSchema()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |