public interface ContentDeliveryConfig
Content Delivery Units)
 and other information for the targeted profile.| Modifier and Type | Field and Description | 
|---|---|
| static String | SMOOKS_VISITORS_SORT | 
| Modifier and Type | Method and Description | 
|---|---|
| void | addToExecutionLifecycleSets()Add the execution lifecycle sets for the configuration. | 
| 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. | 
| FilterBypass | getFilterBypass()Get the  FilterBypassfor this delivery configuration. | 
| List | getObjects(String selector)Get a list of  Objects from theSmooksResourceConfigurations specified by the selector. | 
| Map<String,List<SmooksResourceConfiguration>> | getSmooksResourceConfigurations()Get the  SmooksResourceConfigurationmap for the target execution context. | 
| List<SmooksResourceConfiguration> | getSmooksResourceConfigurations(String selector)Get the list of  SmooksResourceConfigurations for the specified selector definition. | 
| XMLReader | getXMLReader()Get an  XMLReaderinstance from the 
 reader pool associated with this ContentDelivery config instance. | 
| boolean | isDefaultSerializationOn()Is default serialization on.. | 
| Filter | newFilter(ExecutionContext executionContext)Get a new stream filter for the content delivery configuration. | 
| void | returnXMLReader(XMLReader reader)Return an  XMLReaderinstance to the
 reader pool associated with this ContentDelivery config instance. | 
| void | sort() | 
static final String SMOOKS_VISITORS_SORT
produce and consume.
 Default value "true".List<SmooksResourceConfiguration> getSmooksResourceConfigurations(String selector)
SmooksResourceConfigurations for the specified selector definition.
 
 This list will be preselected and preordered 
 for the target execution context.selector - Configuration selector.  This 
 parameter is treated case incensitively.SmooksResourceConfiguration instances, or null if no SmooksResourceConfigurations are 
 defined under that selector (for the device).getObjects(String)Map<String,List<SmooksResourceConfiguration>> getSmooksResourceConfigurations()
SmooksResourceConfiguration map for the target execution context.
 
 This Map will be preordered 
 for the target execution context.SmooksResourceConfiguration map for the target execution context, keyed by the configuration 
 selector, with each value being a
 List of preordered SmooksResourceConfiguration instances.List getObjects(String selector)
Objects from the SmooksResourceConfigurations specified by the selector.
 
 Gets the SmooksResourceConfigurations specified for the selector and attempts to instanciate
 a Java class instance from the resource specified by each of the SmooksResourceConfigurations.
 
 Implementations should use SmooksResourceConfigurationStore.getObject(org.milyn.cdr.SmooksResourceConfiguration) to 
 construct each object.selector - selector attribute value from the .cdrl file in the .cdrar.  This 
 parameter is treated case incensitively.SmooksResourceConfigurationStore.getObject(org.milyn.cdr.SmooksResourceConfiguration), 
getSmooksResourceConfigurations(String)Filter newFilter(ExecutionContext executionContext)
executionContext - Execution context.DTDStore.DTDObjectContainer getDTD()
DTDStore.DTDObjectContainer) for this delivery context.DTDStore.DTDObjectContainer) for this delivery context.List<ConfigBuilderEvent> getConfigBuilderEvents()
boolean isDefaultSerializationOn()
void sort() throws SmooksConfigurationException
SmooksConfigurationException - Sort failure.SMOOKS_VISITORS_SORTvoid addToExecutionLifecycleSets()
                          throws SmooksConfigurationException
SmooksConfigurationException - Error resolving the handlers interested
 in the Execution lifecycle.void executeHandlerInit(ExecutionContext executionContext)
executionContext - The execution context.void executeHandlerCleanup(ExecutionContext executionContext)
executionContext - The execution context.XMLReader getXMLReader() throws SAXException
XMLReader instance from the 
 reader pool associated with this ContentDelivery config instance.SAXExceptionvoid returnXMLReader(XMLReader reader)
XMLReader instance to the
 reader pool associated with this ContentDelivery config instance.reader - The XMLReader instance to be returned.  If the pool is full, the instance
 is left to the GC (i.e. lost).FilterBypass getFilterBypass()
FilterBypass for this delivery configuration.FilterBypass for this delivery configuration, or
 null if non configured.Copyright © 2020. All rights reserved.