Aside from objects that are populated using the ContainerBuilder interface, there are some objects that are put into the container automatically by the framework. The objects listed here are put into the container before methods from the ContainerBuilder get called.

The ServletRequest, HttpSession and ServletContext are not put into the container as they are not serializable objects.

Application level container

  • net.trajano.twiff.ContainerBuilder
  • net.trajano.twiff.PageCacheFacade

The net.trajano.twiff.ContainerBuilder should be removed from here. It should be put in on the listener level because that is the only place it is used.

The net.trajano.twiff.PageCacheFacade should be removed from here. It should be put in on the renderer servlet as a class member not in the container. Populated by the init method.

Session level container

Request level container

Renderer level container

  • java.util.Locale
  • net.trajano.twiff.pagecache.PageCacheKey
  • net.trajano.twiff.pagecache.PageCacheData
  • page bean