public abstract class AbstractContentDeliveryConfig extends Object implements ContentDeliveryConfig
ContentDeliveryConfig.SMOOKS_VISITORS_SORT| Constructor and Description |
|---|
AbstractContentDeliveryConfig() |
| Modifier and Type | Method and Description |
|---|---|
<T extends Visitor> |
addToExecutionLifecycleSets(ContentHandlerConfigMapTable<T> handlerSet) |
void |
executeHandlerCleanup(ExecutionContext executionContext)
Cleanup execution context lifecycle aware handlers.
|
void |
executeHandlerInit(ExecutionContext executionContext)
Initialize execution context lifecycle aware handlers.
|
List<ConfigBuilderEvent> |
getConfigBuilderEvents()
Get the list of Execution Events generated during the build of
the configuration.
|
DTDStore.DTDObjectContainer |
getDTD()
Get the DTD (
DTDStore.DTDObjectContainer) for this delivery context. |
protected FilterBypass |
getFilterBypass(ContentHandlerConfigMapTable... visitorTables) |
List |
getObjects(String selector)
Get a list
Objects from the supplied SmooksResourceConfiguration selector value. |
Map<String,List<SmooksResourceConfiguration>> |
getSmooksResourceConfigurations()
Get the
SmooksResourceConfiguration map for the target execution context. |
List |
getSmooksResourceConfigurations(String selector)
Get the list of
SmooksResourceConfigurations for the specified selector definition. |
XMLReader |
getXMLReader()
Get an
XMLReader instance from the
reader pool associated with this ContentDelivery config instance. |
void |
initializeXMLReaderPool() |
boolean |
isDefaultSerializationOn()
Is default serialization on..
|
void |
returnXMLReader(XMLReader reader)
Return an
XMLReader instance to the
reader pool associated with this ContentDelivery config instance. |
void |
setApplicationContext(ApplicationContext applicationContext) |
void |
setDtd(DTDStore.DTDObjectContainer dtd) |
void |
setSmooksResourceConfigurations(Map<String,List<SmooksResourceConfiguration>> resourceConfigTable) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddToExecutionLifecycleSets, getFilterBypass, newFilter, sortpublic void setApplicationContext(ApplicationContext applicationContext)
public List getSmooksResourceConfigurations(String selector)
SmooksResourceConfigurations for the specified selector definition.getSmooksResourceConfigurations in interface ContentDeliveryConfigselector - The configuration "selector" attribute value from the .cdrl file in the .cdrar.ContentDeliveryConfig.getObjects(String)public void setSmooksResourceConfigurations(Map<String,List<SmooksResourceConfiguration>> resourceConfigTable)
public Map<String,List<SmooksResourceConfiguration>> getSmooksResourceConfigurations()
SmooksResourceConfiguration map for the target execution context.
This Map will be preordered
for the target execution context.getSmooksResourceConfigurations in interface ContentDeliveryConfigSmooksResourceConfiguration map for the target execution context, keyed by the configuration
selector, with each value being a
List of preordered SmooksResourceConfiguration instances.public List getObjects(String selector)
Objects from the supplied SmooksResourceConfiguration selector value.
Uses SmooksResourceConfigurationStore.getObject(org.milyn.cdr.SmooksResourceConfiguration) to construct the object.getObjects in interface ContentDeliveryConfigselector - selector attribute value from the .cdrl file in the .cdrar.SmooksResourceConfigurationStore.getObject(org.milyn.cdr.SmooksResourceConfiguration),
ContentDeliveryConfig.getSmooksResourceConfigurations(String)public DTDStore.DTDObjectContainer getDTD()
ContentDeliveryConfigDTDStore.DTDObjectContainer) for this delivery context.getDTD in interface ContentDeliveryConfigDTDStore.DTDObjectContainer) for this delivery context.public void setDtd(DTDStore.DTDObjectContainer dtd)
public List<ConfigBuilderEvent> getConfigBuilderEvents()
ContentDeliveryConfiggetConfigBuilderEvents in interface ContentDeliveryConfigpublic boolean isDefaultSerializationOn()
ContentDeliveryConfigisDefaultSerializationOn in interface ContentDeliveryConfigpublic <T extends Visitor> void addToExecutionLifecycleSets(ContentHandlerConfigMapTable<T> handlerSet)
public void executeHandlerInit(ExecutionContext executionContext)
ContentDeliveryConfigexecuteHandlerInit in interface ContentDeliveryConfigexecutionContext - The execution context.public void executeHandlerCleanup(ExecutionContext executionContext)
ContentDeliveryConfigexecuteHandlerCleanup in interface ContentDeliveryConfigexecutionContext - The execution context.public void initializeXMLReaderPool()
public XMLReader getXMLReader()
ContentDeliveryConfigXMLReader instance from the
reader pool associated with this ContentDelivery config instance.getXMLReader in interface ContentDeliveryConfigpublic void returnXMLReader(XMLReader reader)
ContentDeliveryConfigXMLReader instance to the
reader pool associated with this ContentDelivery config instance.returnXMLReader in interface ContentDeliveryConfigreader - The XMLReader instance to be returned. If the pool is full, the instance
is left to the GC (i.e. lost).protected FilterBypass getFilterBypass(ContentHandlerConfigMapTable... visitorTables)
Copyright © 2020. All rights reserved.