1 package com.atlassian.johnson.setup;
2
3 import com.atlassian.johnson.Initable;
4 import com.atlassian.johnson.JohnsonEventContainer;
5
6 /**
7 * We need a way to handle MultiTenancy. In non-MT the ServletContext contains a plain-old JohnsonEventContainer.
8 * In MT, however, we need a JohnsonEventContainer that can deal with MultiTenancy. The host application needs to
9 * implement this class and then specify it in the johnson-config.xml via the container-factory element. This keeps
10 * any dependency on multitenant-library out of atlassian-johnson.
11 * @since v1.1
12 */
13 public interface ContainerFactory extends Initable
14 {
15 JohnsonEventContainer create();
16 }