com.eurotech.framework.net.admin
Class NetworkConfigurationServiceImpl
java.lang.Object
com.eurotech.framework.net.admin.NetworkConfigurationServiceImpl
- All Implemented Interfaces:
- SelfConfiguringComponent, NetworkConfigurationService
public class NetworkConfigurationServiceImpl
- extends Object
- implements NetworkConfigurationService, SelfConfiguringComponent
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UNCONFIGURED_MODEM_REGEX
public static final String UNCONFIGURED_MODEM_REGEX
- See Also:
- Constant Field Values
NetworkConfigurationServiceImpl
public NetworkConfigurationServiceImpl()
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.