Class RestExporter

    • Constructor Detail

      • RestExporter

        public RestExporter()
    • Method Detail

      • setConnection

        public void setConnection​(org.apache.commons.configuration2.HierarchicalConfiguration<org.apache.commons.configuration2.tree.ImmutableNode> connectionConfiguration)
                           throws ConceptDatabaseConnectionException
        Description copied from interface: DatabaseConnected

        Requires the implementing service provider to check if the given connection is supported and, if so, to use it for later method calls. Please not that this kind of state requires caution in case of multithreading.

        If the provider cannot serve to given connection configuration, it is required to throw a ConceptDatabaseConnectionException. This serves as the indication that the provider is not applicable for the required connection type. Typically, it will then just be omitted by its service.

        Specified by:
        setConnection in interface DatabaseConnected
        Parameters:
        connectionConfiguration - The connection details, e.g. HTTP, BOLT or file-based connection.
        Throws:
        ConceptDatabaseConnectionException - If the provider does not support the passed connection configuration.
      • getName

        public String getName()
        Specified by:
        getName in interface de.julielab.jssf.commons.spi.ExtensionPoint
      • exposeParameters

        public void exposeParameters​(String basePath,
                                     org.apache.commons.configuration2.HierarchicalConfiguration<org.apache.commons.configuration2.tree.ImmutableNode> template)
        Specified by:
        exposeParameters in interface de.julielab.jssf.commons.spi.ParameterExposing
        Overrides:
        exposeParameters in class RestCallBase