All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.visallo.web.routes.config.Configuration Maven / Gradle / Ivy

There is a newer version: 2.2.0
Show newest version
package org.visallo.web.routes.config;

import com.google.inject.Inject;
import com.v5analytics.webster.ParameterizedHandler;
import com.v5analytics.webster.annotations.Handle;
import org.json.JSONObject;

import java.util.ResourceBundle;

public class Configuration implements ParameterizedHandler {
    private final org.visallo.core.config.Configuration configuration;

    @Inject
    public Configuration(final org.visallo.core.config.Configuration configuration) {
        this.configuration = configuration;
    }

    @Handle
    public JSONObject handle(ResourceBundle resourceBundle) throws Exception {
        return this.configuration.toJSON(resourceBundle);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy