|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.objectwave.persist.properties.BrokerPropertyDetail
The properties for configuration of the RDBBroker.
Constructor Summary | |
BrokerPropertyDetail()
Constructor for the BrokerPropertyDetail object |
Method Summary | |
protected SqlConnectionFactory |
getActualConnectionFactory()
Get the actual instance - Normal use should get this from the BrokerPropertySource |
protected SQLConvertExceptionIF |
getActualConverter()
Gets the ActualConverter attribute of the BrokerPropertyDetail object |
protected java.sql.Driver |
getActualPersistDriver()
|
protected PrimaryKeyStrategy |
getActualStrategy()
Get an instance of the primary key strategy instead of the name |
java.lang.String |
getConnectionFactory()
|
java.lang.String |
getConnectUrl()
Get the value. |
java.lang.String |
getDatabaseImpl()
Get the value. |
java.lang.String |
getExceptionConverter()
|
java.lang.String |
getPersistDriver()
Get the value. |
java.lang.String |
getPersistPassword()
Gets the PersistPassword attribute of the BrokerPropertyDetail object |
java.lang.String |
getPersistUser()
Gets the PersistUser attribute of the BrokerPropertyDetail object |
java.lang.String |
getPrimaryKeyStrategy()
Gets the PrimaryKeyStrategy attribute of the BrokerPropertyDetail object |
boolean |
getUsePreparedStatements()
Gets the UsePreparedStatements attribute of the BrokerPropertyDetail object |
boolean |
isShowingSql()
Gets the ShowingSql attribute of the BrokerPropertyDetail object |
protected void |
setActualConnectionFactory(SqlConnectionFactory factory)
Use the BrokerPropertySource to set these values. |
protected void |
setActualConverter(SQLConvertExceptionIF converter)
Sets the ActualConverter attribute of the BrokerPropertyDetail object |
protected void |
setActualPersistDriver(java.sql.Driver driver)
Use the BrokerPropertySource to set this value. |
protected void |
setActualStrategy(PrimaryKeyStrategy strat)
Use the BrokerPropertySource to set these values. |
void |
setConnectionFactory(java.lang.String className)
Set the name of the class that is to be used as the SqlConnectionFactory for the RDBConnection objects. |
void |
setConnectUrl(java.lang.String aValue)
Set the value. |
void |
setDatabaseImpl(java.lang.String aValue)
Set the value. |
void |
setExceptionConverter(java.lang.String value)
The name of a class that implements the SQLConvertExceptionIF interface. |
void |
setPersistDriver(java.lang.String aValue)
Set the value. |
void |
setPersistPassword(java.lang.String value)
Sets the PersistPassword attribute of the BrokerPropertyDetail object |
void |
setPersistUser(java.lang.String value)
Sets the PersistUser attribute of the BrokerPropertyDetail object |
void |
setPrimaryKeyStrategy(java.lang.String str)
Sets the PrimaryKeyStrategy attribute of the BrokerPropertyDetail object |
void |
setShowingSql(boolean showSql)
If true, show the sql statements |
void |
setUsePreparedStatements(boolean prep)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public BrokerPropertyDetail()
Method Detail |
public void setDatabaseImpl(java.lang.String aValue)
aValue
- The new DatabaseImpl valuepublic void setConnectUrl(java.lang.String aValue)
aValue
- The new ConnectUrl valuepublic void setExceptionConverter(java.lang.String value) throws java.lang.ClassNotFoundException
value
- The new ExceptionConverter value
java.lang.ClassNotFoundException
public void setPersistPassword(java.lang.String value)
value
- The new PersistPassword valuepublic void setPersistUser(java.lang.String value)
value
- The new PersistUser valuepublic void setPersistDriver(java.lang.String aValue) throws java.lang.ClassNotFoundException
aValue
- The new PersistDriver value
java.lang.ClassNotFoundException
public void setConnectionFactory(java.lang.String className) throws java.lang.ClassNotFoundException
className
- The new ConnectionFactory value
java.lang.ClassNotFoundException
public void setPrimaryKeyStrategy(java.lang.String str) throws java.lang.ClassNotFoundException
str
- The new PrimaryKeyStrategy value
java.lang.ClassNotFoundException
public void setUsePreparedStatements(boolean prep)
prep
- The new UsePreparedStatements valuepublic void setShowingSql(boolean showSql)
showSql
- The new ShowingSql valueprotected void setActualPersistDriver(java.sql.Driver driver)
driver
- The new ActualPersistDriver valueprotected void setActualConverter(SQLConvertExceptionIF converter)
converter
- The new ActualConverter valueprotected void setActualConnectionFactory(SqlConnectionFactory factory)
factory
- The new ActualConnectionFactory valueprotected void setActualStrategy(PrimaryKeyStrategy strat)
strat
- The new ActualStrategy valuepublic java.lang.String getExceptionConverter()
public java.lang.String getPersistUser()
public java.lang.String getPersistPassword()
public java.lang.String getDatabaseImpl()
public java.lang.String getConnectUrl()
public java.lang.String getPersistDriver()
public java.lang.String getPrimaryKeyStrategy()
public java.lang.String getConnectionFactory()
public boolean isShowingSql()
public boolean getUsePreparedStatements()
protected java.sql.Driver getActualPersistDriver()
protected SQLConvertExceptionIF getActualConverter()
protected SqlConnectionFactory getActualConnectionFactory()
protected PrimaryKeyStrategy getActualStrategy()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |