public class DefaultContainerFactory extends Object implements ContainerFactory
| Constructor and Description |
|---|
DefaultContainerFactory() |
@Nonnull public JohnsonEventContainer create()
ContainerFactoryJohnsonEventContainer for use storing events.
This method will be called exactly once during Johnson initialisation, and the returned event container
will be used to service all requests on all threads. As a result, the returned implementation is required to be
thread-safe. For multi-tenant systems, handling the differentiation between events for each tenant must happen
below the interface, on a single instance (at least from Johnson's perspective) of the container.create in interface ContainerFactoryCopyright © 2014 Atlassian. All rights reserved.