Deprecated API


Contents
Deprecated Interfaces
org.apache.jackrabbit.core.persistence.util.BLOBStore
          the DataStore should be used instead 
org.apache.jackrabbit.core.persistence.util.ResourceBasedBLOBStore
          the DataStore should be used instead 
 

Deprecated Classes
org.apache.jackrabbit.core.persistence.util.FileSystemBLOBStore
          the FileDataStore should be used instead 
org.apache.jackrabbit.core.fs.db.JNDIDatabaseFileSystem
          This class should not be used because it is not database vendor specific. Each DatabaseFileSystem now supports getting the connection via JNDI by setting the driver to javax.naming.InitialContext and the URL to the JNDI name.

Database file system that uses JNDI to acquire the database connection. The JNDI location of the DataSource to be used in given as the dataSourceLocation configuration property. See the DbFileSystem for more configuration details.

WARNING: The acquired database connection is kept for the entire lifetime of the file system instance. The configured data source should be prepared for this. 

org.apache.jackrabbit.core.journal.JNDIDatabaseJournal
          This class should not be used because it is not database vendor specific. Each DatabaseJournal now supports getting the connection via JNDI by setting the driver to javax.naming.InitialContext and the URL to the JNDI name.

Database journal that uses JNDI to acquire the database connection. The JNDI location of the DataSource to be used in given as the dataSourceLocation configuration property.

WARNING: The acquired database connection is kept for the entire lifetime of the journal instance. The configured data source should be prepared for this. 

org.apache.jackrabbit.core.fs.RandomAccessOutputStream
          this class should no longer be used 
 

Deprecated Fields
org.apache.jackrabbit.core.query.lucene.SearchIndex.DEFAULT_EXTRACTOR_POOL_SIZE
          this value is not used anymore. Instead the default value is calculated as follows: 2 * Runtime.getRuntime().availableProcessors(). 
org.apache.jackrabbit.core.security.AccessManager.READ
            
org.apache.jackrabbit.core.security.AccessManager.REMOVE
            
org.apache.jackrabbit.core.security.AccessManager.WRITE
            
 

Deprecated Methods
org.apache.jackrabbit.core.query.lucene.NodeIndexer.addStringValue(Document, String, Object)
          Use addStringValue(Document, String, Object, boolean) instead. 
org.apache.jackrabbit.core.query.lucene.NodeIndexer.addStringValue(Document, String, Object, boolean, boolean, float)
          use NodeIndexer.addStringValue(Document, String, Object, boolean, boolean, float, boolean) instead. 
org.apache.jackrabbit.core.NodeImpl.cancelMerge(Version)
           
org.apache.jackrabbit.core.NodeImpl.checkin()
           
org.apache.jackrabbit.core.NodeImpl.checkin(Calendar)
           
org.apache.jackrabbit.core.NodeImpl.checkLock()
            
org.apache.jackrabbit.core.NodeImpl.checkout()
           
org.apache.jackrabbit.core.security.AccessManager.checkPermission(ItemId, int)
            
org.apache.jackrabbit.core.query.lucene.NodeIndexer.createFulltextField(String)
          use NodeIndexer.createFulltextField(String, boolean, boolean) instead. 
org.apache.jackrabbit.core.data.GarbageCollector.deleteUnused()
          use sweep(). 
org.apache.jackrabbit.core.NodeImpl.doneMerge(Version)
           
org.apache.jackrabbit.core.config.RepositoryConfig.getAccessManagerConfig()
          Use SecurityConfig.getAccessManagerConfig() instead. 
org.apache.jackrabbit.core.config.RepositoryConfig.getAppName()
          Use SecurityConfig.getAppName() instead. 
org.apache.jackrabbit.core.NodeImpl.getBaseVersion()
           
org.apache.jackrabbit.core.ItemManager.getItem(Path)
          As of JSR 283, a Path doesn't anymore uniquely identify an Item, therefore ItemManager.getNode(Path) and ItemManager.getProperty(Path) should be used instead. 
org.apache.jackrabbit.core.config.RepositoryConfig.getLoginModuleConfig()
          Use SecurityConfig.getLoginModuleConfig() instead. 
org.apache.jackrabbit.core.data.db.DbDataStore.getMaxConnections()
            
org.apache.jackrabbit.core.data.GarbageCollector.getPersistenceManagerScan()
          use isPersistenceManagerScan(). 
org.apache.jackrabbit.core.journal.DatabaseJournal.getSchema()
          This method is deprecated; DatabaseJournal.getDatabaseType() should be used instead. 
org.apache.jackrabbit.core.persistence.bundle.BundleDbPersistenceManager.getSchema()
          This method is deprecated; getDatabaseType should be used instead. 
org.apache.jackrabbit.core.persistence.pool.BundleDbPersistenceManager.getSchema()
          This method is deprecated; getDatabaseType should be used instead. 
org.apache.jackrabbit.core.query.lucene.SearchIndex.getTextFilterClasses()
            
org.apache.jackrabbit.core.cluster.LockRecord.getUserId()
          User LockRecord.getOwner() instead. 
org.apache.jackrabbit.core.NodeImpl.getVersionHistory()
           
org.apache.jackrabbit.core.virtual.VirtualItemStateProvider.getVirtualRootId()
          use VirtualItemStateProvider.getVirtualRootIds() instead. 
org.apache.jackrabbit.core.security.AccessManager.isGranted(ItemId, int)
            
org.apache.jackrabbit.core.ItemManager.itemExists(Path)
          As of JSR 283, a Path doesn't anymore uniquely identify an Item, therefore ItemManager.nodeExists(Path) and ItemManager.propertyExists(Path) should be used instead. 
org.apache.jackrabbit.core.NodeImpl.merge(String, boolean)
           
org.apache.jackrabbit.core.HierarchyManager.resolvePath(Path)
          As of JSR 283, a Path doesn't anymore uniquely identify an Item, therefore HierarchyManager.resolveNodePath(Path) and HierarchyManager.resolvePropertyPath(Path) should be used instead. 
org.apache.jackrabbit.core.NodeImpl.restore(String, boolean)
           
org.apache.jackrabbit.core.WorkspaceImpl.restore(Version[], boolean)
           
org.apache.jackrabbit.core.NodeImpl.restore(Version, boolean)
           
org.apache.jackrabbit.core.NodeImpl.restore(Version, String, boolean)
           
org.apache.jackrabbit.core.NodeImpl.restoreByLabel(String, boolean)
           
org.apache.jackrabbit.core.data.GarbageCollector.scan()
          use mark(). 
org.apache.jackrabbit.core.query.AbstractQueryHandler.setIdleTime(String)
          This parameter is not supported any more. Please use 'maxIdleTime' in the repository configuration. 
org.apache.jackrabbit.core.data.db.DbDataStore.setMaxConnections(int)
            
org.apache.jackrabbit.core.data.GarbageCollector.setScanEventListener(ScanEventListener)
          use setMarkEventListener(). 
org.apache.jackrabbit.core.journal.DatabaseJournal.setSchema(String)
          This method is deprecated; DatabaseJournal.getDatabaseType() should be used instead. 
org.apache.jackrabbit.core.persistence.bundle.BundleDbPersistenceManager.setSchema(String)
          This method is deprecated; setDatabaseType should be used instead. 
org.apache.jackrabbit.core.persistence.pool.BundleDbPersistenceManager.setSchema(String)
          This method is deprecated; setDatabaseType should be used instead. 
org.apache.jackrabbit.core.query.lucene.SearchIndex.setTextFilterClasses(String)
            
 

Deprecated Constructors
org.apache.jackrabbit.core.util.RepositoryLock(String)
          This constructor is deprecated; use the default constructor and RepositoryLock.init(String) instead. 
 



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