public class ExtensionContext extends Object
Constructor and Description |
---|
ExtensionContext(XMLConfigDigester xmlConfigDigester,
String defaultSelector,
String defaultNamespace,
String defaultProfile,
ExpressionEvaluator defaultConditionEvaluator)
Public constructor.
|
public ExtensionContext(XMLConfigDigester xmlConfigDigester, String defaultSelector, String defaultNamespace, String defaultProfile, ExpressionEvaluator defaultConditionEvaluator)
xmlConfigDigester
- The base XMLConfigDigester.defaultSelector
- The default selector.defaultNamespace
- The default namespace.defaultProfile
- The default profile.defaultConditionEvaluator
- The default condition evaluator.public static void setExtensionContext(ExtensionContext extensionContext, ExecutionContext executionContext)
ExtensionContext
on the ExecutionContext
.extensionContext
- Extension Context.executionContext
- Execution Context.public static ExtensionContext getExtensionContext(ExecutionContext executionContext)
ExtensionContext
from the ExecutionContext
.executionContext
- Execution Context.public void addResource(SmooksResourceConfiguration resource)
resourceStack
and the
basic list of resources
.resource
- The resource to be added.public void addResourceTemplate(SmooksResourceConfiguration resource)
resource
- The resource to be added.public Stack<SmooksResourceConfiguration> getResourceStack()
addResource(org.milyn.cdr.SmooksResourceConfiguration)
public List<SmooksResourceConfiguration> getResources()
addResource(org.milyn.cdr.SmooksResourceConfiguration)
public SmooksResourceConfigurationList getResourceList()
public SmooksResourceConfiguration getCurrentConfig()
public XMLConfigDigester getXmlConfigDigester()
public String getDefaultSelector()
public String getDefaultNamespace()
public String getDefaultProfile()
public ExpressionEvaluator getDefaultConditionEvaluator()
public SmooksResourceConfiguration getResourceByName(String name)
public List<SmooksResourceConfiguration> lookupResource(ConfigSearch searchCriteria)
searchCriteria
- The resource lookup criteria.Copyright © 2020. All rights reserved.