com.xebialabs.deployit.jcr
Class JackrabbitRepositoryFactoryBean

java.lang.Object
  extended by com.xebialabs.deployit.jcr.JackrabbitRepositoryFactoryBean
All Implemented Interfaces:
org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.FactoryBean<javax.jcr.Repository>, org.springframework.beans.factory.InitializingBean

public class JackrabbitRepositoryFactoryBean
extends java.lang.Object
implements org.springframework.beans.factory.InitializingBean, org.springframework.beans.factory.FactoryBean<javax.jcr.Repository>, org.springframework.beans.factory.DisposableBean


Constructor Summary
JackrabbitRepositoryFactoryBean()
           
 
Method Summary
 void afterPropertiesSet()
           
 void destroy()
           
 org.springframework.core.io.Resource getConfiguration()
           
 org.springframework.core.io.Resource getHomeDir()
           
 javax.jcr.Repository getObject()
           
 java.lang.Class<javax.jcr.Repository> getObjectType()
           
 boolean isAutoInitialize()
           
 boolean isSingleton()
           
protected  void setAccessControlOnRootNode(javax.jcr.Session session)
           
 void setAutoInitialize(boolean autoInitialize)
           
 void setConfiguration(org.springframework.core.io.Resource configuration)
           
 void setHomeDir(org.springframework.core.io.Resource homeDir)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JackrabbitRepositoryFactoryBean

public JackrabbitRepositoryFactoryBean()
Method Detail

afterPropertiesSet

public void afterPropertiesSet()
                        throws java.io.IOException,
                               javax.jcr.RepositoryException
Specified by:
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
Throws:
java.io.IOException
javax.jcr.RepositoryException

setAccessControlOnRootNode

protected void setAccessControlOnRootNode(javax.jcr.Session session)
                                   throws javax.jcr.RepositoryException
Throws:
javax.jcr.RepositoryException

getObject

public javax.jcr.Repository getObject()
Specified by:
getObject in interface org.springframework.beans.factory.FactoryBean<javax.jcr.Repository>

destroy

public void destroy()
Specified by:
destroy in interface org.springframework.beans.factory.DisposableBean

getObjectType

public java.lang.Class<javax.jcr.Repository> getObjectType()
Specified by:
getObjectType in interface org.springframework.beans.factory.FactoryBean<javax.jcr.Repository>

isSingleton

public boolean isSingleton()
Specified by:
isSingleton in interface org.springframework.beans.factory.FactoryBean<javax.jcr.Repository>

getHomeDir

public org.springframework.core.io.Resource getHomeDir()

setHomeDir

public void setHomeDir(org.springframework.core.io.Resource homeDir)

getConfiguration

public org.springframework.core.io.Resource getConfiguration()

setConfiguration

public void setConfiguration(org.springframework.core.io.Resource configuration)

isAutoInitialize

public boolean isAutoInitialize()

setAutoInitialize

public void setAutoInitialize(boolean autoInitialize)