|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.bea.dsp.management.beans.DataCacheConfig
public final class DataCacheConfig
Data space level configuration about whether caching should be done and where it should be done.
Method Summary | |
---|---|
java.lang.String |
getDataSourceName()
Returns the name of the data source that would be used to cache content. |
java.lang.String |
getTableName()
Returns the name of the table within the configured datasource that should be used to persist cache entries. |
boolean |
isEnabled()
Returns true if caching is enabled at the data space level. |
void |
setDataSourceName(java.lang.String dataSourceName)
|
void |
setEnabled(boolean enabled)
|
void |
setTableName(java.lang.String tableName)
|
java.lang.String |
toString()
|
void |
validate()
Validates bean specific attributes. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public java.lang.String getDataSourceName()
public void setDataSourceName(java.lang.String dataSourceName)
public boolean isEnabled()
true
if caching is enabled at the data space level.
If this disabled the administrator would not be allowed
to set the datasource and the table for caching.
If this is enabled then both the datasource name and the table name must be set.
true
if caching is enabled at the data space levelpublic void setEnabled(boolean enabled)
public java.lang.String getTableName()
public void setTableName(java.lang.String tableName)
public void validate() throws ValidationException
Validatable
validate
in interface Validatable
ValidationException
- if the validation fails.public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |