@Component(value="optionalServiceProvider") public class OsgiOptionalServiceProvider extends Object implements OptionalServiceProvider
Constructor and Description |
---|
OsgiOptionalServiceProvider(org.osgi.framework.BundleContext bundleContext) |
Modifier and Type | Method and Description |
---|---|
Optional<Object> |
getInvocationHistoryService() |
Optional<Object> |
getWebhookService() |
void |
onDestroy() |
@Autowired public OsgiOptionalServiceProvider(org.osgi.framework.BundleContext bundleContext)
@PreDestroy public void onDestroy()
public Optional<Object> getInvocationHistoryService()
getInvocationHistoryService
in interface OptionalServiceProvider
public Optional<Object> getWebhookService()
getWebhookService
in interface OptionalServiceProvider
Copyright © 2003–2021 Atlassian. All rights reserved.