## Uses of Class
org.modeshape.jcr.ExecutionContext

- Packages that use ExecutionContext
  Package | Description
  --- | ---
  org.modeshape.jcr |
  org.modeshape.jcr.cache |
  org.modeshape.jcr.cache.document |
  org.modeshape.jcr.query | The Query API provides a mechanism for building and executing queries.
  org.modeshape.jcr.query.engine | This package contains several fully-functional query engine implementations.
  org.modeshape.jcr.query.model | The Abstract Query Model is a vocabulary that can be used to construct a language-neutral representation of a query.
  org.modeshape.jcr.query.validate | This package provides the interfaces that define the tables and columns that can be queried.
  org.modeshape.jcr.security | ModeShape JCR repositories have a pluggable authentication and authorization framework.
  org.modeshape.jcr.spi.federation | This package provides a Service Provider Interface (SPI) for connectors to external systems.
  org.modeshape.jcr.xml |

- - ### Uses of ExecutionContext in org.modeshape.jcr

    Fields in org.modeshape.jcr declared as ExecutionContext
    Modifier and Type | Field and Description
    --- | ---
    `protected ExecutionContext` | CndImporter.`context`
    `static ExecutionContext` | ExecutionContext.`DEFAULT_CONTEXT`

    Methods in org.modeshape.jcr that return ExecutionContext
    Modifier and Type | Method and Description
    --- | ---
    `ExecutionContext` | ExecutionContext.`clone()`
    `ExecutionContext` | ExecutionContext.`with(BinaryStore binaryStore)` Create a new execution context that mirrors this context but that uses the supplied binary store.
    `ExecutionContext` | ExecutionContext.`with(Map<String,String> data)` Create a new execution context that mirrors this context but that contains the supplied data.
    `ExecutionContext` | ExecutionContext.`with(NamespaceRegistry namespaceRegistry)` Create a new execution context that mirrors this context but that uses the supplied namespace registry.
    `ExecutionContext` | ExecutionContext.`with(PropertyFactory propertyFactory)` Create a new execution context that mirrors this context but that uses the supplied `factory`.
    `protected ExecutionContext` | ExecutionContext.`with(ReferenceFactory referenceFactory)`
    `ExecutionContext` | ExecutionContext.`with(SecurityContext securityContext)` Create an `ExecutionContext` that is the same as this context, but which uses the supplied `security context`.
    `ExecutionContext` | ExecutionContext.`with(String processId)` Create a new execution context that mirrors this context but that contains the supplied process identifier.
    `ExecutionContext` | ExecutionContext.`with(String key, String value)` Create a new execution context that mirrors this context but that contains the supplied key-value pair in the new context's data.
    `ExecutionContext` | ExecutionContext.`with(ThreadPoolFactory threadPoolFactory)` Create a new execution context that mirrors this context but that uses the supplied `thread pool factory`.

    Methods in org.modeshape.jcr with parameters of type ExecutionContext
    Modifier and Type | Method and Description
    --- | ---
    `protected void` | NodeTypeSchemata.`addAllNodesTable(ImmutableSchemata.Builder builder, ExecutionContext context, List<org.modeshape.jcr.JcrPropertyDefinition> additionalProperties)`
    `protected void` | NodeTypeSchemata.`addView(ImmutableSchemata.Builder builder, ExecutionContext context, org.modeshape.jcr.JcrNodeType nodeType)`
    `protected org.modeshape.jcr.JcrPropertyDefinition` | NodeTypeSchemata.`pseudoProperty(ExecutionContext context, Name name, int propertyType)`

    Constructors in org.modeshape.jcr with parameters of type ExecutionContext
    Constructor and Description
    `CndImporter(ExecutionContext context)` Create a new importer that will place the content in the supplied destination under the supplied path.
    `ExecutionContext(ExecutionContext context)`
    `JcrSession(JcrRepository repository, String workspaceName, ExecutionContext context, Map<String,Object> sessionAttributes, boolean readOnly)`
    `JcrValueFactory(ExecutionContext context)`
    `JcrXaSession(JcrRepository repository, String workspaceName, ExecutionContext context, Map<String,Object> sessionAttributes, boolean readOnly)`
    `NodeTypes(ExecutionContext context)`
    `NodeTypes(ExecutionContext context, Iterable<org.modeshape.jcr.JcrNodeType> nodeTypes, int version)`

  - ### Uses of ExecutionContext in org.modeshape.jcr.cache

    Methods in org.modeshape.jcr.cache that return ExecutionContext
    Modifier and Type | Method and Description
    --- | ---
    `protected ExecutionContext` | RepositoryCache.`context()`
    `ExecutionContext` | SessionCacheWrapper.`getContext()`
    `ExecutionContext` | SessionCache.`getContext()` Get the context for this session.

    Methods in org.modeshape.jcr.cache with parameters of type ExecutionContext
    Modifier and Type | Method and Description
    --- | ---
    `SessionCache` | RepositoryCache.`createSession(ExecutionContext context, String workspaceName, boolean readOnly)` Create a session for the workspace with the given name, using the supplied ExecutionContext for the session.

    Constructors in org.modeshape.jcr.cache with parameters of type ExecutionContext
    Constructor and Description
    `AllPathsCache(NodeCache cache, NodeCache removedCache, ExecutionContext context)`
    `RepositoryCache(ExecutionContext context, DocumentStore documentStore, ClusteringService clusteringService, RepositoryConfiguration configuration, RepositoryCache.ContentInitializer initializer, SessionEnvironment sessionContext, ChangeBus changeBus, CacheContainer workspaceCacheContainer, Upgrades upgradeFunctions)`

  - ### Uses of ExecutionContext in org.modeshape.jcr.cache.document

    Methods in org.modeshape.jcr.cache.document that return ExecutionContext
    Modifier and Type | Method and Description
    --- | ---
    `ExecutionContext` | AbstractSessionCache.`getContext()`

    Constructors in org.modeshape.jcr.cache.document with parameters of type ExecutionContext
    Constructor and Description
    `AbstractSessionCache.BasicSaveContext(ExecutionContext context)`
    `AbstractSessionCache(ExecutionContext context, WorkspaceCache sharedWorkspaceCache, SessionEnvironment sessionContext)`
    `DocumentTranslator(ExecutionContext context, DocumentStore documentStore, long largeStringSize)`
    `ReadOnlySessionCache(ExecutionContext context, WorkspaceCache workspaceCache, SessionEnvironment sessionContext)`
    `WorkspaceCache(ExecutionContext context, String repositoryKey, String workspaceName, DocumentStore documentStore, DocumentTranslator translator, NodeKey rootKey, ConcurrentMap<NodeKey,CachedNode> cache, ChangeSetListener changeSetListener)`
    `WritableSessionCache(ExecutionContext context, WorkspaceCache workspaceCache, SessionEnvironment sessionContext)` Create a new SessionCache that can be used for making changes to the workspace.

  - ### Uses of ExecutionContext in org.modeshape.jcr.query

    Fields in org.modeshape.jcr.query declared as ExecutionContext
    Modifier and Type | Field and Description
    --- | ---
    `protected ExecutionContext` | QueryContext.`context`

    Methods in org.modeshape.jcr.query that return ExecutionContext
    Modifier and Type | Method and Description
    --- | ---
    `protected ExecutionContext` | QueryEngineBuilder.`context()`
    `ExecutionContext` | QueryContext.`getExecutionContext()` Get the execution context in which the query is to be evaluated
    `ExecutionContext` | JcrQueryContext.`getExecutionContext()` Get the execution context that should be used by the query.

    Methods in org.modeshape.jcr.query with parameters of type ExecutionContext
    Modifier and Type | Method and Description
    --- | ---
    `QueryContext` | QueryEngine.`createQueryContext(ExecutionContext context, RepositoryCache repositoryCache, Set<String> workspaceNames, Map<String,NodeCache> overriddenNodeCachesByWorkspaceName, Schemata schemata, RepositoryIndexes indexDefns, NodeTypes nodeTypes, BufferManager bufferManager, PlanHints hints, Map<String,Object> variables)` Create a new context for query execution.
    `QueryEngineBuilder` | QueryEngineBuilder.`using(RepositoryConfiguration configuration, IndexManager indexManager, ExecutionContext context)`

    Constructors in org.modeshape.jcr.query with parameters of type ExecutionContext
    Constructor and Description
    `BufferManager(ExecutionContext context)`
    `BufferManager(ExecutionContext context, Supplier<org.mapdb.DB> offheapDbSupplier, Supplier<org.mapdb.DB> onheapDbSupplier)`
    `QueryContext(ExecutionContext context, RepositoryCache repositoryCache, Set<String> workspaceNames, Map<String,NodeCache> overriddenNodeCachesByWorkspaceName, Schemata schemata, RepositoryIndexes indexDefns, NodeTypes nodeTypes, BufferManager bufferManager, PlanHints hints, Problems problems, Map<String,Object> variables)` Create a new context for query execution.
    `QueryContext(ExecutionContext context, RepositoryCache repositoryCache, Set<String> workspaceNames, Map<String,NodeCache> overriddenNodeCachesByWorkspaceName, Schemata schemata, RepositoryIndexes indexDefns, NodeTypes nodeTypes, BufferManager bufferManager, PlanHints hints, Problems problems, Map<String,Object> variables, long id)` Create a new context for query execution.
    `QueryContext(ExecutionContext context, RepositoryCache repositoryCache, Set<String> workspaceNames, Schemata schemata, RepositoryIndexes indexDefns, NodeTypes nodeTypes, BufferManager bufferManager)` Create a new context for query execution.
    `QueryContext(ExecutionContext context, RepositoryCache repositoryCache, Set<String> workspaceNames, Schemata schemata, RepositoryIndexes indexDefns, NodeTypes nodeTypes, BufferManager bufferManager, PlanHints hints, Problems problems)` Create a new context for query execution.

  - ### Uses of ExecutionContext in org.modeshape.jcr.query.engine

    Methods in org.modeshape.jcr.query.engine with parameters of type ExecutionContext
    Modifier and Type | Method and Description
    --- | ---
    `QueryContext` | ScanningQueryEngine.`createQueryContext(ExecutionContext context, RepositoryCache repositoryCache, Set<String> workspaceNames, Map<String,NodeCache> overriddenNodeCachesByWorkspaceName, Schemata schemata, RepositoryIndexes indexDefns, NodeTypes nodeTypes, BufferManager bufferManager, PlanHints hints, Map<String,Object> variables)`

    Constructors in org.modeshape.jcr.query.engine with parameters of type ExecutionContext
    Constructor and Description
    `IndexQueryEngine(ExecutionContext context, String repositoryName, Planner planner, Optimizer optimizer, IndexManager indexManager)`
    `ScanningQueryEngine(ExecutionContext context, String repositoryName, Planner planner, Optimizer optimizer)`

  - ### Uses of ExecutionContext in org.modeshape.jcr.query.model

    Fields in org.modeshape.jcr.query.model declared as ExecutionContext
    Modifier and Type | Field and Description
    --- | ---
    `protected ExecutionContext` | Visitors.ReadableVisitor.`context`

    Methods in org.modeshape.jcr.query.model that return ExecutionContext
    Modifier and Type | Method and Description
    --- | ---
    `ExecutionContext` | Visitors.ReadableVisitor.`getContext()`

    Methods in org.modeshape.jcr.query.model with parameters of type ExecutionContext
    Modifier and Type | Method and Description
    --- | ---
    `static String` | Visitors.`readable(Object[] tuple, ExecutionContext context)`
    `static String` | Visitors.`readable(Visitable visitable, ExecutionContext context)` Using a visitor, obtain the readable string representation of the supplied `object`

    Constructors in org.modeshape.jcr.query.model with parameters of type ExecutionContext
    Constructor and Description
    `Visitors.JcrSql2Writer(ExecutionContext context)`
    `Visitors.ReadableVisitor(ExecutionContext context)`

  - ### Uses of ExecutionContext in org.modeshape.jcr.query.validate

    Methods in org.modeshape.jcr.query.validate with parameters of type ExecutionContext
    Modifier and Type | Method and Description
    --- | ---
    `static ImmutableSchemata.Builder` | ImmutableSchemata.`createBuilder(ExecutionContext context, NodeTypes nodeTypes)` Obtain a new instance for building Schemata objects.

    Constructors in org.modeshape.jcr.query.validate with parameters of type ExecutionContext
    Constructor and Description
    `ImmutableSchemata.Builder(ExecutionContext context, NodeTypes nodeTypes)`

  - ### Uses of ExecutionContext in org.modeshape.jcr.security

    Methods in org.modeshape.jcr.security that return ExecutionContext
    Modifier and Type | Method and Description
    --- | ---
    `ExecutionContext` | ServletProvider.`authenticate(Credentials credentials, String repositoryName, String workspaceName, ExecutionContext repositoryContext, Map<String,Object> sessionAttributes)`
    `ExecutionContext` | JaasProvider.`authenticate(Credentials credentials, String repositoryName, String workspaceName, ExecutionContext repositoryContext, Map<String,Object> sessionAttributes)`
    `ExecutionContext` | AuthenticationProviders.`authenticate(Credentials credentials, String repositoryName, String workspaceName, ExecutionContext repositoryContext, Map<String,Object> sessionAttributes)`
    `ExecutionContext` | AuthenticationProvider.`authenticate(Credentials credentials, String repositoryName, String workspaceName, ExecutionContext repositoryContext, Map<String,Object> sessionAttributes)` Authenticate the user that is using the supplied credentials.
    `ExecutionContext` | AnonymousProvider.`authenticate(Credentials credentials, String repositoryName, String workspaceName, ExecutionContext repositoryContext, Map<String,Object> sessionAttributes)`
    `ExecutionContext` | AdvancedAuthorizationProvider.Context.`getExecutionContext()` Get the execution context in which this session is running.

    Methods in org.modeshape.jcr.security with parameters of type ExecutionContext
    Modifier and Type | Method and Description
    --- | ---
    `ExecutionContext` | ServletProvider.`authenticate(Credentials credentials, String repositoryName, String workspaceName, ExecutionContext repositoryContext, Map<String,Object> sessionAttributes)`
    `ExecutionContext` | JaasProvider.`authenticate(Credentials credentials, String repositoryName, String workspaceName, ExecutionContext repositoryContext, Map<String,Object> sessionAttributes)`
    `ExecutionContext` | AuthenticationProviders.`authenticate(Credentials credentials, String repositoryName, String workspaceName, ExecutionContext repositoryContext, Map<String,Object> sessionAttributes)`
    `ExecutionContext` | AuthenticationProvider.`authenticate(Credentials credentials, String repositoryName, String workspaceName, ExecutionContext repositoryContext, Map<String,Object> sessionAttributes)` Authenticate the user that is using the supplied credentials.
    `ExecutionContext` | AnonymousProvider.`authenticate(Credentials credentials, String repositoryName, String workspaceName, ExecutionContext repositoryContext, Map<String,Object> sessionAttributes)`
    `boolean` | AuthorizationProvider.`hasPermission(ExecutionContext context, String repositoryName, String repositorySourceName, String workspaceName, Path absPath, String... actions)` Determine if the supplied execution context has permission for all of the named actions in the named workspace.

  - ### Uses of ExecutionContext in org.modeshape.jcr.spi.federation

    Methods in org.modeshape.jcr.spi.federation that return ExecutionContext
    Modifier and Type | Method and Description
    --- | ---
    `ExecutionContext` | Connector.`getContext()` Get the execution context for this connector instance.

  - ### Uses of ExecutionContext in org.modeshape.jcr.xml

    Methods in org.modeshape.jcr.xml that return ExecutionContext
    Modifier and Type | Method and Description
    --- | ---
    `ExecutionContext` | NodeImportDestination.`getExecutionContext()` Retrieves the execution context of the destination, in which the import will take place and which is used for creating values via the `ValueFactories` and for registering namespaces via the `NamespaceRegistry`

Copyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.