Class ContainerBuilder

java.lang.Object
com.yahoo.jdisc.application.ContainerBuilder

public class ContainerBuilder extends Object

This is the inactive, mutable Container. Because it requires references to the application internals, it should always be injected by guice or created by calling ContainerActivator.newContainerBuilder(). Once the builder has been configured, it is activated by calling ContainerActivator.activateContainer(ContainerBuilder). You may use the setAppContext(Object) method to attach an arbitrary object to a Container, which will be available in the corresponding DeactivatedContainer.

Author:
Simon Thoresen Hult