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