Package com.atlassian.bamboo.plugin
Interface OsgiServiceProxyFactory
- All Known Implementing Classes:
OsgiServiceProxyFactoryImpl
public interface OsgiServiceProxyFactory
Creates proxies to OSGi services.
-
Method Summary
Modifier and TypeMethodDescription<T> T
createNonIsolatingProxy
(Class<T> apiClass, long timeoutInMillis) Creates a service proxy with a custom timeout.<T> T
createProxy
(Class<T> apiClass) Creates a service proxy with a default timeout.<T> T
createProxy
(Class<T> apiClass, long timeoutInMillis) Creates a service proxy with a custom timeout.
-
Method Details
-
createNonIsolatingProxy
Creates a service proxy with a custom timeout. Methods of this proxy will be executed within the classloader of the caller. -
createProxy
Creates a service proxy with a default timeout. -
createProxy
Creates a service proxy with a custom timeout. Methods of this proxy will be executed within the classloader of the OSGi bundle.
-