org.jboss.dna.repository.util
Interface ExecutionContext

All Known Implementing Classes:
SimpleExecutionContext

public interface ExecutionContext

The context of an execution.

Author:
Randall Hauch

Method Summary
 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.
 

Method Detail

getSessionFactory

SessionFactory getSessionFactory()
Get the session factory, which can be used to obtain sessions temporarily for this context. Any session obtained from this factory should be closed before the execution finishes.

Returns:
the session factory

getTools

JcrTools getTools()
Get a set of utilities for working with JCR.

Returns:
the tools


Copyright © 2008. All Rights Reserved.