com.atlassian.bamboo.plugin
Class OsgiServiceProxyFactoryImpl
java.lang.Object
com.atlassian.bamboo.plugin.OsgiServiceProxyFactoryImpl
- All Implemented Interfaces:
- OsgiServiceProxyFactory, org.springframework.beans.factory.InitializingBean
public class OsgiServiceProxyFactoryImpl
- extends Object
- implements OsgiServiceProxyFactory, org.springframework.beans.factory.InitializingBean
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OsgiServiceProxyFactoryImpl
public OsgiServiceProxyFactoryImpl(com.atlassian.plugin.event.PluginEventManager pluginEventManager,
com.atlassian.plugin.osgi.container.OsgiContainerManager osgiContainerManager,
long defaultTimeout)
- Constructs a service proxy factory, using the OsgiContainerManager's service tracker
- Parameters:
osgiContainerManager
- the osgi container managerdefaultTimeout
- the default timeout for service invocations
OsgiServiceProxyFactoryImpl
public OsgiServiceProxyFactoryImpl(com.atlassian.plugin.event.PluginEventManager pluginEventManager,
OsgiServiceProxyFactoryImpl.ServiceTrackerFactory serviceTrackerFactory,
long defaultTimeout)
createProxy
public <T> T createProxy(Class<T> apiClass,
long timeoutInMillis)
- Specified by:
createProxy
in interface OsgiServiceProxyFactory
createProxy
public <T> T createProxy(Class<T> apiClass)
- Specified by:
createProxy
in interface OsgiServiceProxyFactory
afterPropertiesSet
public void afterPropertiesSet()
throws Exception
- Specified by:
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
- Throws:
Exception
onPluginFrameworkShutdownEvent
public void onPluginFrameworkShutdownEvent(@NotNull
com.atlassian.plugin.event.events.PluginFrameworkShutdownEvent event)
Copyright © 2015 Atlassian Software Systems Pty Ltd. All rights reserved.