org.fusesource.fabric.maven.impl
Class MavenProxyRegistrationHandler

java.lang.Object
  extended by org.fusesource.fabric.maven.impl.MavenProxyRegistrationHandler
All Implemented Interfaces:
org.linkedin.zookeeper.client.LifecycleListener, org.osgi.service.cm.ConfigurationListener

public class MavenProxyRegistrationHandler
extends java.lang.Object
implements org.linkedin.zookeeper.client.LifecycleListener, org.osgi.service.cm.ConfigurationListener


Constructor Summary
MavenProxyRegistrationHandler()
           
 
Method Summary
 void configurationEvent(org.osgi.service.cm.ConfigurationEvent event)
           
 void destroy()
           
 org.osgi.service.cm.ConfigurationAdmin getConfigurationAdmin()
           
 org.osgi.service.http.HttpService getHttpService()
           
 MavenDownloadProxyServlet getMavenDownloadProxyServlet()
           
 MavenUploadProxyServlet getMavenUploadProxyServlet()
           
 java.lang.String getPort()
           
 java.lang.String getPortFromConfig()
           
 SecureHttpContext getSecureHttpContext()
           
 IZKClient getZookeeper()
           
 void init()
           
 void onConnected()
           
 void onDisconnected()
           
 void register(java.lang.String type)
           
 void setConfigurationAdmin(org.osgi.service.cm.ConfigurationAdmin configurationAdmin)
           
 void setHttpService(org.osgi.service.http.HttpService httpService)
           
 void setMavenDownloadProxyServlet(MavenDownloadProxyServlet mavenDownloadProxyServlet)
           
 void setMavenUploadProxyServlet(MavenUploadProxyServlet mavenUploadProxyServlet)
           
 void setSecureHttpContext(SecureHttpContext secureHttpContext)
           
 void setZookeeper(IZKClient zookeeper)
           
 void unregister(java.lang.String type)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MavenProxyRegistrationHandler

public MavenProxyRegistrationHandler()
Method Detail

init

public void init()
          throws javax.servlet.ServletException,
                 org.osgi.service.http.NamespaceException
Throws:
javax.servlet.ServletException
org.osgi.service.http.NamespaceException

destroy

public void destroy()

onConnected

public void onConnected()
Specified by:
onConnected in interface org.linkedin.zookeeper.client.LifecycleListener

onDisconnected

public void onDisconnected()
Specified by:
onDisconnected in interface org.linkedin.zookeeper.client.LifecycleListener

register

public void register(java.lang.String type)

unregister

public void unregister(java.lang.String type)

configurationEvent

public void configurationEvent(org.osgi.service.cm.ConfigurationEvent event)
Specified by:
configurationEvent in interface org.osgi.service.cm.ConfigurationListener

getPortFromConfig

public java.lang.String getPortFromConfig()

getZookeeper

public IZKClient getZookeeper()

setZookeeper

public void setZookeeper(IZKClient zookeeper)

getPort

public java.lang.String getPort()

getHttpService

public org.osgi.service.http.HttpService getHttpService()

setHttpService

public void setHttpService(org.osgi.service.http.HttpService httpService)

getMavenDownloadProxyServlet

public MavenDownloadProxyServlet getMavenDownloadProxyServlet()

setMavenDownloadProxyServlet

public void setMavenDownloadProxyServlet(MavenDownloadProxyServlet mavenDownloadProxyServlet)

getMavenUploadProxyServlet

public MavenUploadProxyServlet getMavenUploadProxyServlet()

setMavenUploadProxyServlet

public void setMavenUploadProxyServlet(MavenUploadProxyServlet mavenUploadProxyServlet)

getSecureHttpContext

public SecureHttpContext getSecureHttpContext()

setSecureHttpContext

public void setSecureHttpContext(SecureHttpContext secureHttpContext)

getConfigurationAdmin

public org.osgi.service.cm.ConfigurationAdmin getConfigurationAdmin()

setConfigurationAdmin

public void setConfigurationAdmin(org.osgi.service.cm.ConfigurationAdmin configurationAdmin)


Copyright © 2012 FuseSource. All Rights Reserved.