Class ServiceExecutionStrategyComposite<S>
- java.lang.Object
-
- com.atlassian.sal.confluence.lifecycle.ServiceExecutionStrategyComposite<S>
-
- All Implemented Interfaces:
ServiceExecutionStrategy<S>
public class ServiceExecutionStrategyComposite<S> extends Object implements ServiceExecutionStrategy<S>
Composite for different service execution strategies.- Since:
- 5.6
-
-
Constructor Summary
Constructors Constructor Description ServiceExecutionStrategyComposite(ServiceExecutionStrategy<S>[] executionStrategies)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
add(org.osgi.framework.ServiceReference serviceReference, com.atlassian.tenancy.api.Tenant tenant, com.google.common.base.Function<S,?> serviceCallback)
void
trigger()
-
-
-
Constructor Detail
-
ServiceExecutionStrategyComposite
public ServiceExecutionStrategyComposite(ServiceExecutionStrategy<S>[] executionStrategies)
-
-
Method Detail
-
add
public boolean add(org.osgi.framework.ServiceReference serviceReference, com.atlassian.tenancy.api.Tenant tenant, com.google.common.base.Function<S,?> serviceCallback)
- Specified by:
add
in interfaceServiceExecutionStrategy<S>
-
trigger
public void trigger()
- Specified by:
trigger
in interfaceServiceExecutionStrategy<S>
-
-