Class PersistentLocalNetworkManagerDescriptor

java.lang.Object
de.iip_ecosphere.platform.examples.PersistentLocalNetworkManagerDescriptor
All Implemented Interfaces:
de.iip_ecosphere.platform.support.net.NetworkManagerDescriptor

public class PersistentLocalNetworkManagerDescriptor extends Object implements de.iip_ecosphere.platform.support.net.NetworkManagerDescriptor
Descriptor for PersistentLocalNetworkManagerImpl. Reads back getFile() if exists and not outdated (60000L ms). Shall not be an inner class to not interfere on command line with shell expansion. This specialized network manager (descriptor) is intended for testing only, not for production use!
Author:
Holger Eichelberger, SSE
  • Field Details

  • Constructor Details

    • PersistentLocalNetworkManagerDescriptor

      public PersistentLocalNetworkManagerDescriptor()
  • Method Details

    • getFile

      public static File getFile()
      Returns the file to be used for persisting.
      Returns:
      the file
    • createInstance

      public de.iip_ecosphere.platform.support.net.NetworkManager createInstance()
      Specified by:
      createInstance in interface de.iip_ecosphere.platform.support.net.NetworkManagerDescriptor