|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.jackrabbit.core.persistence.pool.AbstractBundlePersistenceManager
org.apache.jackrabbit.core.persistence.pool.BundleDbPersistenceManager
org.apache.jackrabbit.core.persistence.pool.OraclePersistenceManager
public class OraclePersistenceManager
Extends the BundleDbPersistenceManager by Oracle specific code.
#setExternalBLOBs(String) externalBLOBs}" value="false"/>
bundleCacheSize" value="8"/>
consistencyCheck" value="false"/>
minBlobSize" value="16384"/>
driver" value="oracle.jdbc.OracleDriverr"/>
url" value="jdbc:oracle:thin:@127.0.0.1:1521:xe"/>
user" value=""/>
password" value=""/>
schema" value="oracle"/>
schemaObjectPrefix" value="${wsp.name}_"/>
tableSpace" value=""/>
errorHandling" value=""/>
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.apache.jackrabbit.core.persistence.pool.BundleDbPersistenceManager |
|---|
BundleDbPersistenceManager.CloseableBLOBStore, BundleDbPersistenceManager.DbBlobStore, BundleDbPersistenceManager.FSBlobStore |
| Field Summary | |
|---|---|
protected String |
tableSpace
the Oracle table space to use |
| Fields inherited from class org.apache.jackrabbit.core.persistence.pool.BundleDbPersistenceManager |
|---|
binding, blobStore, blockOnConnectionLoss, bundleDeleteSQL, bundleInsertSQL, bundleSelectAllIdsFromSQL, bundleSelectAllIdsSQL, bundleSelectSQL, bundleUpdateSQL, conHelper, consistencyCheck, consistencyFix, databaseType, dataSourceName, driver, errorHandling, externalBLOBs, INITIAL_BUFFER_SIZE, initialized, nodeReferenceDeleteSQL, nodeReferenceInsertSQL, nodeReferenceSelectSQL, nodeReferenceUpdateSQL, password, schemaObjectPrefix, SM_BINARY_KEYS, SM_LONGLONG_KEYS, url, user |
| Fields inherited from class org.apache.jackrabbit.core.persistence.pool.AbstractBundlePersistenceManager |
|---|
context, NODEFILENAME, NODEREFSFILENAME, RES_NAME_INDEX, RES_NS_INDEX |
| Constructor Summary | |
|---|---|
OraclePersistenceManager()
Creates a new oracle persistence manager |
|
| Method Summary | |
|---|---|
protected CheckSchemaOperation |
createCheckSchemaOperation()
This method is called from BundleDbPersistenceManager.init(PMContext) after the
BundleDbPersistenceManager.createConnectionHelper(DataSource) method, and returns a default CheckSchemaOperation. |
protected ConnectionHelper |
createConnectionHelper(DataSource dataSrc)
This method is called from the BundleDbPersistenceManager.init(PMContext) method of this class and returns a
ConnectionHelper instance which is assigned to the conHelper field. |
protected DbNameIndex |
createDbNameIndex()
Returns a new instance of a NGKDbNameIndex. |
String |
getTableSpace()
Returns the configured Oracle table space. |
void |
init(PMContext context)
Initializes the persistence manager. |
void |
setTableSpace(String tableSpace)
Sets the Oracle table space. |
| Methods inherited from class org.apache.jackrabbit.core.persistence.pool.AbstractBundlePersistenceManager |
|---|
buildBlobFilePath, buildNodeFilePath, buildNodeFolderPath, buildNodeReferencesFilePath, buildPropFilePath, createNew, createNew, evictBundle, exists, exists, getBundleCacheSize, getNsIndex, load, load, onExternalUpdate, setBundleCacheSize |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected String tableSpace
| Constructor Detail |
|---|
public OraclePersistenceManager()
| Method Detail |
|---|
public String getTableSpace()
public void setTableSpace(String tableSpace)
tableSpace - the Oracle table space.
public void init(PMContext context)
throws Exception
BundleDbPersistenceManagerAn appropriate exception is thrown if the persistence manager initialization fails for whatever reason. In this case the state of the persistence manager is undefined and the instance should be discarded. Initializes the internal structures of this abstract persistence manager.
init in interface PersistenceManagerinit in class BundleDbPersistenceManagercontext - persistence manager context
Exception - if the persistence manager initialization failed
protected DbNameIndex createDbNameIndex()
throws SQLException
createDbNameIndex in class BundleDbPersistenceManagerSQLException - if an SQL error occurs.
protected ConnectionHelper createConnectionHelper(DataSource dataSrc)
throws Exception
BundleDbPersistenceManager.init(PMContext) method of this class and returns a
ConnectionHelper instance which is assigned to the conHelper field. Subclasses may
override it to return a specialized connection helper.
createConnectionHelper in class BundleDbPersistenceManagerdataSrc - the DataSource of this persistence manager
ConnectionHelper
Exception - on errorprotected CheckSchemaOperation createCheckSchemaOperation()
BundleDbPersistenceManager.init(PMContext) after the
BundleDbPersistenceManager.createConnectionHelper(DataSource) method, and returns a default CheckSchemaOperation.
Subclasses can overrride this implementation to get a customized implementation.
createCheckSchemaOperation in class BundleDbPersistenceManagerCheckSchemaOperation instance
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||