public class AutomationClientActivator extends Object implements AutomationClientFactory, org.osgi.framework.BundleActivator
Modifier and Type | Field and Description |
---|---|
protected org.osgi.framework.BundleContext |
context |
protected static AutomationClientActivator |
instance |
Constructor and Description |
---|
AutomationClientActivator() |
Modifier and Type | Method and Description |
---|---|
AutomationClient |
getClient(URL url) |
AutomationClient |
getClient(URL url,
int httpCxTimeout) |
org.osgi.framework.BundleContext |
getContext() |
static AutomationClientActivator |
getInstance() |
void |
start(org.osgi.framework.BundleContext bundleContext) |
void |
stop(org.osgi.framework.BundleContext bundleContext) |
protected static volatile AutomationClientActivator instance
protected org.osgi.framework.BundleContext context
public AutomationClientActivator()
public void start(org.osgi.framework.BundleContext bundleContext)
start
in interface org.osgi.framework.BundleActivator
public void stop(org.osgi.framework.BundleContext bundleContext)
stop
in interface org.osgi.framework.BundleActivator
public AutomationClient getClient(URL url) throws URISyntaxException
getClient
in interface AutomationClientFactory
URISyntaxException
public org.osgi.framework.BundleContext getContext()
public AutomationClient getClient(URL url, int httpCxTimeout) throws URISyntaxException
getClient
in interface AutomationClientFactory
URISyntaxException
public static AutomationClientActivator getInstance()
Copyright © 2015 Nuxeo SA. All rights reserved.