public abstract class ExecutionStrategyTemplate<S> extends Object implements ServiceExecutionStrategy<S>
Modifier and Type | Field and Description |
---|---|
protected com.google.common.base.Function<org.osgi.framework.ServiceReference,com.atlassian.fugue.Option<com.atlassian.plugin.ModuleCompleteKey>> |
moduleReferenceParser |
protected Queue<Callable> |
serviceExecutions |
Modifier | Constructor and Description |
---|---|
protected |
ExecutionStrategyTemplate(com.google.common.base.Function<org.osgi.framework.ServiceReference,com.atlassian.fugue.Option<com.atlassian.plugin.ModuleCompleteKey>> moduleReferenceParser) |
Modifier and Type | Method and Description |
---|---|
boolean |
add(org.osgi.framework.ServiceReference serviceReference,
com.atlassian.tenancy.api.Tenant tenant,
com.google.common.base.Function<S,?> serviceCallback) |
protected Callable |
createServiceExecution(org.osgi.framework.ServiceReference serviceReference,
com.atlassian.tenancy.api.Tenant tenant,
com.google.common.base.Function<S,?> serviceCallback) |
protected String |
getDescription() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
trigger
protected final com.google.common.base.Function<org.osgi.framework.ServiceReference,com.atlassian.fugue.Option<com.atlassian.plugin.ModuleCompleteKey>> moduleReferenceParser
protected ExecutionStrategyTemplate(com.google.common.base.Function<org.osgi.framework.ServiceReference,com.atlassian.fugue.Option<com.atlassian.plugin.ModuleCompleteKey>> moduleReferenceParser)
public boolean add(org.osgi.framework.ServiceReference serviceReference, com.atlassian.tenancy.api.Tenant tenant, com.google.common.base.Function<S,?> serviceCallback)
add
in interface ServiceExecutionStrategy<S>
protected Callable createServiceExecution(org.osgi.framework.ServiceReference serviceReference, com.atlassian.tenancy.api.Tenant tenant, com.google.common.base.Function<S,?> serviceCallback)
protected String getDescription()
Copyright © 2003–2016 Atlassian. All rights reserved.