Class InstanceLinker
java.lang.Object
com.aquima.interactions.framework.container.instance.linker.InstanceLinker
- All Implemented Interfaces:
IContainerExpander
Instance linker dynamic container.
- Since:
- 5.0
- Author:
- Jon van Leuven
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionexpand
(Container container, ContainerDefinition definition, IContainerContext context) This method is invoked by the composer to allow a custom component to expand the container definition.
-
Constructor Details
-
Method Details
-
expand
public Container expand(Container container, ContainerDefinition definition, IContainerContext context) throws Exception Description copied from interface:IContainerExpander
This method is invoked by the composer to allow a custom component to expand the container definition. The resulting container will not be post processed, and will be included as-is in the page.During an expand call the following rules apply.
The profile is read-onlyThe profile should only be used to retrieve information. Note: for older projects this can be changed by changing the application configuration, however this is highly discouraged.
- Specified by:
expand
in interfaceIContainerExpander
- Parameters:
container
- The container without any child elements.definition
- The container definition containing the child definitions.context
- the context for usage within the function.- Returns:
- A container which is used for the render action, and is never allowed to be null
- Throws:
Exception
- When an exception occurred which was not recoverable by the container. It will be replaced by an error-container. This exception has no influence on flowing or other handling which is done by the page-composer.
-