public abstract class BaseFactory extends Object
| Modifier and Type | Field and Description |
|---|---|
protected PayloadCacheProvider |
cacheProvider |
protected List<Processor> |
processors |
| Constructor and Description |
|---|
BaseFactory() |
| Modifier and Type | Method and Description |
|---|---|
void |
executeProcessors(Item item,
RunPhase runPhase,
RequestContext context)
Runs all the processors on an item.
|
List<Processor> |
getProcessors() |
void |
setCacheProvider(PayloadCacheProvider cacheAgent)
Set the cache agent.
|
void |
setProcessors(List<Processor> processors)
Configure through Spring
|
protected PayloadCacheProvider cacheProvider
public void setProcessors(List<Processor> processors)
processors - list of Processors to runpublic void executeProcessors(Item item, RunPhase runPhase, RequestContext context) throws ProcessorException
item - The DD4T ItemProcessorExceptionpublic void setCacheProvider(PayloadCacheProvider cacheAgent)
Copyright © 2017. All rights reserved.