Package | Description |
---|---|
com.github.wuic |
This package is the most general package of the WUIC library.
|
com.github.wuic.context |
This package provides the central
Context component which is the lowest configuration
object in WUIC. |
com.github.wuic.servlet |
This package defines the Servlet support provided by WUIC.
|
com.github.wuic.xml |
This package provides the classes which read the 'wuic.xml' path.
|
Modifier and Type | Class and Description |
---|---|
class |
WuicFacadeBuilder.ContextBuilderFacade
This class gives a chance to directly define settings for the final
ContextBuilder of the built
WuicFacade . |
Modifier and Type | Method and Description |
---|---|
WuicFacadeBuilder.ContextBuilderFacade |
WuicFacadeBuilder.ContextBuilderFacade.mergeSettings(ContextBuilder other)
Merges all the
settings of the given ContextBuilder to the current setting of
this object. |
Modifier and Type | Method and Description |
---|---|
ContextBuilder |
ContextBuilder.clearTag(Object tag)
Clears all configurations associated to the given tag.
|
ContextBuilder |
ContextBuilder.configureDefault()
Configures for each type provided by the engine builder factory and nut dao builder factory a
default instance identified with an id starting by
BUILDER_ID_PREFIX and followed by the type
name itself. |
ContextBuilder |
ContextBuilder.disposableHeap(String id,
String ndbId,
String[] path,
HeapListener... listeners)
Creates a new disposable heap as specified by
heap(boolean, String, String, String[], String[], HeapListener...) |
ContextBuilder |
ContextBuilder.engineBuilder(String id,
ObjectBuilder<Engine> engine)
Add a new
Engine builder identified by the specified ID. |
ContextBuilder |
ContextBuilder.heap(boolean disposable,
String id,
String nutDaoId,
String[] heapIds,
String[] path,
HeapListener... listeners)
Defines a new
heap in this context. |
ContextBuilder |
ContextBuilder.heap(String id,
String ndbId,
String[] path,
HeapListener... listeners)
Creates a new heap as specified by
heap(boolean, String, String, String[], String[], HeapListener...) |
ContextBuilder |
ContextBuilder.interceptor(ContextInterceptor interceptor)
Adds a
ContextInterceptor to the builder. |
ContextBuilder |
ContextBuilder.mergeSettings(ContextBuilder other)
Merges all the
settings of the given ContextBuilder to the current setting of
this object. |
ContextBuilder |
ContextBuilder.nutFilter(String id,
ObjectBuilder<NutFilter> filter)
Add a new
NutFilter builder identified by the specified ID. |
ContextBuilder |
ContextBuilder.processContext(ProcessContext processContext)
Sets the process context for the setting associated to the current tag.
|
ContextBuilder |
ContextBuilder.releaseTag()
Releases the current tag of this context.
|
ContextBuilder |
ContextBuilder.tag(Object tag)
Decorates the current builder with a new builder associated to a specified tag.
|
ContextBuilder |
ContextBuilder.template(String id,
String[] ebIds,
String... daos)
Builds a new template with no exclusion and default engine usages.
|
ContextBuilder |
ContextBuilder.template(String id,
String[] ebIds,
String[] ebIdsExclusion,
Boolean includeDefaultEngines,
String... ndbIds)
Creates a new workflow template.
|
abstract ContextBuilder |
ContextBuilder.ContextGenericBuilder.toContext()
Injects in the enclosing builder the component with its settings and return it.
|
ContextBuilder |
ContextBuilder.ContextEngineBuilder.toContext()
Injects in the enclosing builder the component with its settings and return it.
|
ContextBuilder |
ContextBuilder.ContextNutDaoBuilder.toContext()
Injects in the enclosing builder the component with its settings and return it.
|
ContextBuilder |
ContextBuilder.ContextNutFilterBuilder.toContext()
Injects in the enclosing builder the component with its settings and return it.
|
ContextBuilder |
ContextBuilder.workflow(String identifier,
Boolean forEachHeap,
String heapIdPattern,
String workflowTemplateId)
Creates a new workflow.
|
Modifier and Type | Method and Description |
---|---|
void |
ContextBuilderConfigurator.configure(ContextBuilder ctxBuilder)
Configures the given context.
|
abstract int |
ContextBuilderConfigurator.internalConfigure(ContextBuilder ctxBuilder)
Configures the given context internally.
|
ContextBuilder |
ContextBuilder.mergeSettings(ContextBuilder other)
Merges all the
settings of the given ContextBuilder to the current setting of
this object. |
Constructor and Description |
---|
ContextBuilder(ContextBuilder b,
URL properties,
ObjectBuilderInspector... inspectors)
Creates a new instance with the builder factories of a context and additional inspectors.
|
Modifier and Type | Method and Description |
---|---|
protected ByteArrayNut |
HtmlParserFilter.configureBuilder(HttpServletRequest request,
String path,
ContextBuilder contextBuilder,
String workflowId,
byte[] content)
Configures the workflow corresponding to the given ID in the specified context builder.
|
protected ContextBuilder.ContextNutDaoBuilder |
HtmlParserFilter.createContextNutDaoBuilder(String id,
ContextBuilder contextBuilder,
String rootNutDaoBuilderId)
Creates a new
ContextBuilder.ContextNutDaoBuilder with the given ContextBuilder . |
int |
HtmlParserFilter.internalConfigure(ContextBuilder ctxBuilder)
Configures the given context internally.
|
Modifier and Type | Method and Description |
---|---|
static void |
XmlContextBuilderConfigurator.configureHeap(ContextBuilder ctxBuilder,
XmlHeapBean heap)
Configures the heap described in the given bean.
|
static void |
XmlContextBuilderConfigurator.configureTemplates(XmlWuicBean xml,
ContextBuilder ctxBuilder)
Configures the given builder with the template in the specified bean.
|
static void |
XmlContextBuilderConfigurator.configureWorkflow(XmlWuicBean xml,
ContextBuilder ctxBuilder)
Configures the given builder with the specified bean.
|
int |
XmlContextBuilderConfigurator.internalConfigure(ContextBuilder ctxBuilder)
Configures the given context internally.
|
Copyright © 2012-2015. All Rights Reserved.