|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--com.ibm.dse.applsrv.aa.SecurityJDBCPersistence2
This class represents a JDBC persistence controller for the security objects.
| Fields inherited from interface com.ibm.dse.applsrv.aa.LimitsConstants |
BIN,
CLOSE_MAX_AMT,
CONTAINER_SUBTYPE,
CONTAINER_TYPE,
CONTAINER_TYPE_DB,
CURCODE,
CURRENTVALUE_AMT,
DESCRIPTION,
DRAWER,
LIMIT,
LIMITS_COLUMNS,
LIMITS_DATA_NAMES,
OFF_VALUE_AMT,
ON_VALUE_AMT,
OVERSHORT_MAX_AMT,
RHT_NAME,
SETTLE_MAX_AMT,
TRANS_TYPE,
TRANS_TYPE_DB,
TRAY,
WRK_OFF_COUNT_HIGH,
WRK_OFF_HIGH_AMT,
WRK_OFF_LOW_AMT,
WRK_ON_COUNT_HIGH,
WRK_ON_HIGH_AMT,
WRK_ON_LOW_AMT |
| Constructor Summary | |
SecurityJDBCPersistence2()
Create a new instance of this persistence controller. |
|
| Method Summary | |
void |
commit()
Commits all changes to the database. |
static java.sql.Connection |
connect(java.lang.String aDatabaseURL,
java.lang.String userId,
java.lang.String password)
Centralized connect method. |
java.lang.String |
database()
Return the name of this database. |
protected void |
finalize()
Close the database connection whenever this object is about to be garbase collected. |
void |
initialize(Dictionary config)
Initialize the persistor with the specified set of options. |
java.io.Serializable |
load()
Return an object representing the current state of the persistent database. |
void |
rollback()
Rollback all changes to the database. |
void |
save(java.io.Serializable db)
Replace the persistent database with the in-memory copy. |
void |
setMapLimits()
Stores some helper information to assist mapping of information between database and SecurityLimits |
void |
shutdown()
Shutdown this database. |
| Methods inherited from class java.lang.Object |
clone,
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
| Constructor Detail |
public SecurityJDBCPersistence2()
| Method Detail |
public void commit()
throws DSESecurityException
public static java.sql.Connection connect(java.lang.String aDatabaseURL,
java.lang.String userId,
java.lang.String password)
throws java.sql.SQLException
aDatabaseURL - String - the database URL.userId - String - the default userId.password - String - the default password.public java.lang.String database()
protected void finalize()
throws java.lang.Throwable
public void initialize(Dictionary config)
throws DSESecurityException
config - Dictionary - the configuration options.
public java.io.Serializable load()
throws DSESecurityException
public void rollback()
throws DSESecurityException
public void save(java.io.Serializable db)
throws DSESecurityException
db - Serializable - the in-memory database.public void setMapLimits()
public void shutdown()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||