org.springframework.extensions.jcr.jackrabbit
Class TransientRepositoryFactoryBean

java.lang.Object
  extended by org.springframework.extensions.jcr.RepositoryFactoryBean
      extended by org.springframework.extensions.jcr.jackrabbit.RepositoryFactoryBean
          extended by org.springframework.extensions.jcr.jackrabbit.TransientRepositoryFactoryBean
All Implemented Interfaces:
org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.FactoryBean, org.springframework.beans.factory.InitializingBean

public class TransientRepositoryFactoryBean
extends RepositoryFactoryBean

FactoryBean for creating Jackrabbit's TransientRepository (i.e. repository are initialized for the first session and closed once the last session is closed.

Since:
0.5
Author:
Costin Leau, Sergio Bossa, Salvatore Incandela

Field Summary
 
Fields inherited from class org.springframework.extensions.jcr.RepositoryFactoryBean
configuration, repository
 
Constructor Summary
TransientRepositoryFactoryBean()
           
 
Method Summary
protected  javax.jcr.Repository createRepository()
          Subclasses have to implement this method to allow specific JSR-170 implementation repository creation.
 
Methods inherited from class org.springframework.extensions.jcr.jackrabbit.RepositoryFactoryBean
destroy, getHomeDir, getRepositoryConfig, resolveConfigurationResource, setHomeDir, setRepositoryConfig
 
Methods inherited from class org.springframework.extensions.jcr.RepositoryFactoryBean
afterPropertiesSet, getConfiguration, getObject, getObjectType, isSingleton, setConfiguration
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TransientRepositoryFactoryBean

public TransientRepositoryFactoryBean()
Method Detail

createRepository

protected javax.jcr.Repository createRepository()
                                         throws java.lang.Exception
Description copied from class: RepositoryFactoryBean
Subclasses have to implement this method to allow specific JSR-170 implementation repository creation.

Overrides:
createRepository in class RepositoryFactoryBean
Returns:
Throws:
java.lang.Exception
See Also:
RepositoryFactoryBean.createRepository()


Copyright © 2009. All Rights Reserved.