public interface ActiveObjectsFactory
ActiveObjects.| Modifier and Type | Method and Description |
|---|---|
boolean |
accept(ActiveObjectsConfiguration configuration)
Tells whether the give data source type is supported by this factory, users should call this method before
calling
create(ActiveObjectsConfiguration, Tenant) to avoid an IllegalStateException being
thrown. |
ActiveObjects |
create(ActiveObjectsConfiguration configuration,
com.atlassian.tenancy.api.Tenant tenant)
Creates a new instance of
ActiveObjects each time it is called. |
boolean accept(ActiveObjectsConfiguration configuration)
create(ActiveObjectsConfiguration, Tenant) to avoid an IllegalStateException being
thrown.configuration - the configuration of active objectstrue if the configuration is supported.ActiveObjects create(ActiveObjectsConfiguration configuration, com.atlassian.tenancy.api.Tenant tenant)
ActiveObjects each time it is called.configuration - th configuration of active objectstenant - against which to createActiveObjectsIllegalStateException - is the type of configuration is not supported by this factoryActiveObjectsInitException - on failure to lock across the cluster prior to upgradeaccept(ActiveObjectsConfiguration)Copyright © 2018 Atlassian. All rights reserved.