@Component(role=EquinoxLifecycleListener.class, hint="P2ProxyConfigurator") public class OSGiProxyConfigurator extends EquinoxLifecycleListener
Modifier and Type | Field and Description |
---|---|
protected org.apache.maven.plugin.LegacySupport |
context |
protected SettingsDecrypterHelper |
decrypter |
protected org.codehaus.plexus.logging.Logger |
logger |
Constructor and Description |
---|
OSGiProxyConfigurator() |
Modifier and Type | Method and Description |
---|---|
void |
afterFrameworkStarted(EmbeddedEquinox framework) |
private void |
clearProxyConfiguration(ProxyServiceFacade proxyService) |
private boolean |
isSupportedProtocol(java.lang.String protocol) |
private void |
setProxy(ProxyServiceFacade proxyService,
org.apache.maven.settings.Proxy proxy) |
@Requirement protected org.codehaus.plexus.logging.Logger logger
@Requirement protected org.apache.maven.plugin.LegacySupport context
@Requirement protected SettingsDecrypterHelper decrypter
public void afterFrameworkStarted(EmbeddedEquinox framework)
afterFrameworkStarted
in class EquinoxLifecycleListener
private void clearProxyConfiguration(ProxyServiceFacade proxyService)
private void setProxy(ProxyServiceFacade proxyService, org.apache.maven.settings.Proxy proxy)
private boolean isSupportedProtocol(java.lang.String protocol)