groupdocs-annotation/GroupDocs.Annotation-for-Java-Spring

View on GitHub
src/main/java/com/groupdocs/ui/config/GlobalConfiguration.java

Summary

Maintainability
A
0 mins
Test Coverage
F
37%
package com.groupdocs.ui.config;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

@Component
public class GlobalConfiguration {

    @Autowired
    private ServerConfiguration server;

    @Autowired
    private ApplicationConfiguration application;

    public ServerConfiguration getServer() {
        return server;
    }

    public void setServer(ServerConfiguration server) {
        this.server = server;
    }

    public ApplicationConfiguration getApplication() {
        return application;
    }

    public void setApplication(ApplicationConfiguration application) {
        this.application = application;
    }

    @Override
    public String toString() {
        return "GlobalConfiguration{" +
                "server=" + server +
                ", application=" + application +
                '}';
    }
}