com.atlassian.johnson.setup
Interface ContainerFactory

All Superinterfaces:
Initable
All Known Implementing Classes:
DefaultContainerFactory

public interface ContainerFactory
extends Initable

We need a way to handle MultiTenancy. In non-MT the ServletContext contains a plain-old JohnsonEventContainer. In MT, however, we need a JohnsonEventContainer that can deal with MultiTenancy. The host application needs to implement this class and then specify it in the johnson-config.xml via the container-factory element. This keeps any dependency on multitenant-library out of atlassian-johnson.

Since:
v1.1

Method Summary
 JohnsonEventContainer create()
           
 
Methods inherited from interface com.atlassian.johnson.Initable
init
 

Method Detail

create

JohnsonEventContainer create()


Copyright © 2012 Atlassian. All Rights Reserved.