org.apache.jackrabbit.core.persistence.bundle
Class MSSqlPersistenceManager

java.lang.Object
  extended by org.apache.jackrabbit.core.persistence.bundle.AbstractBundlePersistenceManager
      extended by org.apache.jackrabbit.core.persistence.bundle.BundleDbPersistenceManager
          extended by org.apache.jackrabbit.core.persistence.bundle.MSSqlPersistenceManager
All Implemented Interfaces:
CachingPersistenceManager, PersistenceManager

public class MSSqlPersistenceManager
extends BundleDbPersistenceManager

Extends the BundleDbPersistenceManager by MS-SQL specific code.

Configuration:


Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.jackrabbit.core.persistence.bundle.BundleDbPersistenceManager
BundleDbPersistenceManager.CloseableBLOBStore, BundleDbPersistenceManager.DbBlobStore, BundleDbPersistenceManager.FSBlobStore
 
Field Summary
 
Fields inherited from class org.apache.jackrabbit.core.persistence.bundle.BundleDbPersistenceManager
binding, blobStore, bundleDelete, bundleInsert, bundleSelect, bundleUpdate, con, consistencyCheck, consistencyFix, driver, errorHandling, externalBLOBs, INITIAL_BUFFER_SIZE, initialized, nodeReferenceDelete, nodeReferenceInsert, nodeReferenceSelect, nodeReferenceUpdate, password, schema, SCHEMA_OBJECT_PREFIX_VARIABLE, schemaObjectPrefix, SM_BINARY_KEYS, SM_LONGLONG_KEYS, url, user
 
Fields inherited from class org.apache.jackrabbit.core.persistence.bundle.AbstractBundlePersistenceManager
context, NODEFILENAME, NODEREFSFILENAME, RES_NAME_INDEX, RES_NS_INDEX
 
Constructor Summary
MSSqlPersistenceManager()
           
 
Method Summary
 void init(PMContext context)
          Initializes the persistence manager. The persistence manager is permanently bound to the given context, and any required external resources are acquired.

An 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.

 
Methods inherited from class org.apache.jackrabbit.core.persistence.bundle.BundleDbPersistenceManager
checkSchema, checkTablesExist, checkTablesWithUser, close, closeResultSet, closeStatement, closeStream, createBlobStore, createDBBlobStore, createDbNameIndex, createLocalFSBlobStore, destroy, destroyBundle, exists, existsBundle, getConsistencyCheck, getConsistencyFix, getDriver, getErrorHandling, getExternalBLOBs, getMinBlobSize, getNameIndex, getPassword, getSchema, getSchemaObjectPrefix, getStorageModel, getUrl, getUser, isExternalBLOBs, load, loadBundle, logException, prepareSchemaObjectPrefix, resetStatement, setConsistencyCheck, setConsistencyFix, setDriver, setErrorHandling, setExternalBLOBs, setKey, setMinBlobSize, setPassword, setSchema, setSchemaObjectPrefix, setUrl, setUser, store, store, storeBundle, toString, useDbBlobStore, useLocalFsBlobStore
 
Methods inherited from class org.apache.jackrabbit.core.persistence.bundle.AbstractBundlePersistenceManager
buildBlobFilePath, buildNodeFilePath, buildNodeFolderPath, buildNodeReferencesFilePath, buildPropFilePath, createNew, createNew, 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
 

Constructor Detail

MSSqlPersistenceManager

public MSSqlPersistenceManager()
Method Detail

init

public void init(PMContext context)
          throws Exception
Initializes the persistence manager. The persistence manager is permanently bound to the given context, and any required external resources are acquired.

An 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.

Specified by:
init in interface PersistenceManager
Overrides:
init in class BundleDbPersistenceManager
Parameters:
context - persistence manager context
Throws:
Exception - if the persistence manager intialization failed


Copyright © 2004-2007 The Apache Software Foundation. All Rights Reserved.