|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.dna.graph.ExecutionContext org.jboss.dna.repository.util.JcrExecutionContext
public class JcrExecutionContext
The context of an execution within a JCR environment.
Constructor Summary | |
---|---|
JcrExecutionContext(ExecutionContext context,
SessionFactory sessionFactory,
String repositoryWorkspaceForNamespaceRegistry)
|
|
JcrExecutionContext(SessionFactory sessionFactory,
String repositoryWorkspaceForNamespaceRegistry)
|
Method Summary | |
---|---|
JcrExecutionContext |
clone()
|
void |
close()
This this context and release all resources (including any Session instances created). |
SessionFactory |
getSessionFactory()
Get the session factory, which can be used to obtain sessions temporarily for this context. |
JcrTools |
getTools()
Get a set of utilities for working with JCR. |
Methods inherited from class org.jboss.dna.graph.ExecutionContext |
---|
create, create, getAccessControlContext, getClassLoader, getLogger, getLogger, getLoginContext, getMimeTypeDetector, getNamespaceRegistry, getPropertyFactory, getSubject, getValueFactories, toString, with, with, with, with, with, with, with |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public JcrExecutionContext(ExecutionContext context, SessionFactory sessionFactory, String repositoryWorkspaceForNamespaceRegistry)
public JcrExecutionContext(SessionFactory sessionFactory, String repositoryWorkspaceForNamespaceRegistry)
Method Detail |
---|
public SessionFactory getSessionFactory()
closed
before the execution finishes.
public JcrTools getTools()
public JcrExecutionContext clone()
clone
in class ExecutionContext
ExecutionContext.clone()
public void close()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |