View Javadoc

1   package com.atlassian.johnson.setup;
2   
3   import com.atlassian.johnson.DefaultJohnsonEventContainer;
4   import com.atlassian.johnson.JohnsonEventContainer;
5   
6   import javax.annotation.Nonnull;
7   
8   /**
9    * This provides the old, non-multitenant functionality. This way existing apps don't need to worry about the
10   * container-factory xml element and all that stuff
11   *
12   * @since 1.1
13   */
14  public class DefaultContainerFactory implements ContainerFactory {
15  
16      @Nonnull
17      public JohnsonEventContainer create() {
18          return new DefaultJohnsonEventContainer();
19      }
20  }