S
- the service getting executedR
- the result of the service executionpublic abstract class ServiceExecutionTemplate<S,R> extends Object implements Callable<com.atlassian.fugue.Option<R>>
Modifier and Type | Field and Description |
---|---|
protected org.osgi.framework.ServiceReference |
serviceReference |
Constructor and Description |
---|
ServiceExecutionTemplate(org.osgi.framework.ServiceReference serviceReference) |
Modifier and Type | Method and Description |
---|---|
com.atlassian.fugue.Option<R> |
call() |
protected abstract R |
execute(S service) |
protected String |
serviceReferenceToString() |
Copyright © 2003–2021 Atlassian. All rights reserved.