|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.dna.jcr.JcrEngine
public class JcrEngine
The basic component that encapsulates the JBoss DNA services, including the Repository
instances.
Method Summary | |
---|---|
ExecutionContext |
getExecutionContext()
Get the execution context for this engine. |
Problems |
getProblems()
Get the problems that were encountered when setting up this engine from the configuration. |
javax.jcr.Repository |
getRepository(String repositoryName)
Get the Repository implementation for the named repository. |
void |
shutdown()
|
void |
start()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public Problems getProblems()
public final ExecutionContext getExecutionContext()
public final javax.jcr.Repository getRepository(String repositoryName) throws javax.jcr.RepositoryException
Repository
implementation for the named repository.
repositoryName
- the name of the repository, which corresponds to the name of a configured RepositorySource
IllegalArgumentException
- if the repository name is null, blank or invalid
javax.jcr.RepositoryException
- if there is no repository with the specified namepublic void start()
public void shutdown()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |