com.eurotech.framework.net.admin
Class NetworkConfigurationServiceImpl

java.lang.Object
  extended by com.eurotech.framework.net.admin.NetworkConfigurationServiceImpl
All Implemented Interfaces:
SelfConfiguringComponent, NetworkConfigurationService

public class NetworkConfigurationServiceImpl
extends Object
implements NetworkConfigurationService, SelfConfiguringComponent


Field Summary
static String UNCONFIGURED_MODEM_REGEX
           
 
Fields inherited from interface com.eurotech.framework.net.admin.NetworkConfigurationService
PID
 
Constructor Summary
NetworkConfigurationServiceImpl()
           
 
Method Summary
protected  void activate(org.osgi.service.component.ComponentContext componentContext, Map<String,Object> properties)
           
protected  void deactivate(org.osgi.service.component.ComponentContext componentContext)
           
 ComponentConfiguration getConfiguration()
          This method is called by the ConfigurationService when it requires the current snapshot of the configuration for this components.
 NetworkConfiguration getNetworkConfiguration()
           
 void setEventAdmin(org.osgi.service.event.EventAdmin eventAdmin)
           
 void setModemManagerService(ModemManagerService modemManagerService)
           
 void setNetworkService(NetworkService networkService)
           
 void setUsbService(UsbService usbService)
           
 void unsetEventAdmin(org.osgi.service.event.EventAdmin eventAdmin)
           
 void unsetModemManagerService(ModemManagerService modemManagerService)
           
 void unsetNetworkService(NetworkService networkService)
           
 void unsetUsbService(UsbService usbService)
           
 void updated(Map<String,Object> properties)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

UNCONFIGURED_MODEM_REGEX

public static final String UNCONFIGURED_MODEM_REGEX
See Also:
Constant Field Values
Constructor Detail

NetworkConfigurationServiceImpl

public NetworkConfigurationServiceImpl()
Method Detail

setNetworkService

public void setNetworkService(NetworkService networkService)

unsetNetworkService

public void unsetNetworkService(NetworkService networkService)

setEventAdmin

public void setEventAdmin(org.osgi.service.event.EventAdmin eventAdmin)

unsetEventAdmin

public void unsetEventAdmin(org.osgi.service.event.EventAdmin eventAdmin)

setUsbService

public void setUsbService(UsbService usbService)

unsetUsbService

public void unsetUsbService(UsbService usbService)

setModemManagerService

public void setModemManagerService(ModemManagerService modemManagerService)

unsetModemManagerService

public void unsetModemManagerService(ModemManagerService modemManagerService)

activate

protected void activate(org.osgi.service.component.ComponentContext componentContext,
                        Map<String,Object> properties)

deactivate

protected void deactivate(org.osgi.service.component.ComponentContext componentContext)

updated

public void updated(Map<String,Object> properties)

getConfiguration

public ComponentConfiguration getConfiguration()
                                        throws EsfException
Description copied from interface: SelfConfiguringComponent
This method is called by the ConfigurationService when it requires the current snapshot of the configuration for this components. As SelfConfiguringComponents do not rely on the ConfigurationService to capture and store the current configuration, this call is needed to expose the current configuration externally and, for example, being able to store it in snapshot files.

Specified by:
getConfiguration in interface SelfConfiguringComponent
Returns:
the current configuration for this component
Throws:
EsfException

getNetworkConfiguration

public NetworkConfiguration getNetworkConfiguration()
                                             throws EsfException
Specified by:
getNetworkConfiguration in interface NetworkConfigurationService
Throws:
EsfException


Copyright © 2013. All Rights Reserved.