Class JcrRepository
java.lang.Object
ch.colabproject.colab.api.persistence.jcr.JcrRepository
Access to the JCR repository
- Author:
- maxence
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionjavax.jcr.RepositoryGet the JCR repositoryvoidinit()Initialize the repositoryvoidGracefully close repository on shutdown
-
Constructor Details
-
JcrRepository
public JcrRepository()
-
-
Method Details
-
init
public void init()Initialize the repository -
getRepository
public javax.jcr.Repository getRepository()Get the JCR repository- Returns:
- The repository
-
preDestroy
@PreDestroy public void preDestroy()Gracefully close repository on shutdown
-