Jitsi: the OpenSource Java VoIP and Instant Messaging client.

net.java.sip.communicator.impl.provdisc.dhcp
Class ProvisioningDiscoveryDHCPActivator

java.lang.Object
  extended by net.java.sip.communicator.impl.provdisc.dhcp.ProvisioningDiscoveryDHCPActivator
All Implemented Interfaces:
org.osgi.framework.BundleActivator

public class ProvisioningDiscoveryDHCPActivator
extends Object
implements org.osgi.framework.BundleActivator

Implements BundleActivator for the DHCP provisioning bundle.

Author:
Sebastien Vincent

Constructor Summary
ProvisioningDiscoveryDHCPActivator()
           
 
Method Summary
static NetworkAddressManagerService getNetworkAddressManagerService()
          Returns a reference to a NetworkAddressManagerService implementation currently registered in the bundle context or null if no such implementation was found.
 void start(org.osgi.framework.BundleContext bundleContext)
          Starts the DHCP provisioning service
 void stop(org.osgi.framework.BundleContext bundleContext)
          Stops the DHCP provisioning service.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProvisioningDiscoveryDHCPActivator

public ProvisioningDiscoveryDHCPActivator()
Method Detail

start

public void start(org.osgi.framework.BundleContext bundleContext)
           throws Exception
Starts the DHCP provisioning service

Specified by:
start in interface org.osgi.framework.BundleActivator
Parameters:
bundleContext - the BundleContext as provided by the OSGi framework.
Throws:
Exception - if anything goes wrong

stop

public void stop(org.osgi.framework.BundleContext bundleContext)
          throws Exception
Stops the DHCP provisioning service.

Specified by:
stop in interface org.osgi.framework.BundleActivator
Parameters:
bundleContext - the BundleContext as provided by the OSGi framework.
Throws:
Exception - if anything goes wrong

getNetworkAddressManagerService

public static NetworkAddressManagerService getNetworkAddressManagerService()
Returns a reference to a NetworkAddressManagerService implementation currently registered in the bundle context or null if no such implementation was found.

Returns:
a currently valid implementation of the NetworkAddressManagerService .

Jitsi: the OpenSource Java VoIP and Instant Messaging client.

Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under LGPL license.