Class AbstractJobExecutor.UserContextCallable
- java.lang.Object
-
- com.composum.sling.core.concurrent.AbstractJobExecutor.UserContextCallable
-
- All Implemented Interfaces:
Callable<Result>
- Direct Known Subclasses:
GroovyJobExecutor.GroovyRunnerCallable
- Enclosing class:
- AbstractJobExecutor<Result>
protected abstract class AbstractJobExecutor.UserContextCallable extends Object implements Callable<Result>
-
-
Field Summary
Fields Modifier and Type Field Description protected org.apache.sling.event.jobs.consumer.JobExecutionContext
context
protected org.apache.sling.event.jobs.Job
job
protected PrintWriter
out
protected org.apache.sling.api.resource.ResourceResolver
serviceResolver
protected javax.jcr.Session
session
-
Constructor Summary
Constructors Constructor Description UserContextCallable(org.apache.sling.event.jobs.Job job, org.apache.sling.event.jobs.consumer.JobExecutionContext context, org.apache.sling.api.resource.ResourceResolver serviceResolver, PrintWriter out)
-
-
-
Field Detail
-
job
protected final org.apache.sling.event.jobs.Job job
-
context
protected final org.apache.sling.event.jobs.consumer.JobExecutionContext context
-
serviceResolver
protected final org.apache.sling.api.resource.ResourceResolver serviceResolver
-
out
protected final PrintWriter out
-
session
protected final javax.jcr.Session session
-
-
Constructor Detail
-
UserContextCallable
public UserContextCallable(org.apache.sling.event.jobs.Job job, org.apache.sling.event.jobs.consumer.JobExecutionContext context, org.apache.sling.api.resource.ResourceResolver serviceResolver, PrintWriter out) throws javax.jcr.RepositoryException, org.apache.sling.api.resource.LoginException
- Throws:
javax.jcr.RepositoryException
org.apache.sling.api.resource.LoginException
-
-