Package halfpipe.admin

Source Code of halfpipe.admin.AdminAutoConfig

package halfpipe.admin;

import com.netflix.adminresources.resources.*;
import com.netflix.adminresources.resources.jmx.JMXResource;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
* User: spencergibb
* Date: 4/12/14
* Time: 8:50 PM
*/
@Configuration
public class AdminAutoConfig {

    @Bean
    JarsInfoResource jarsInfoResource() {
        return new JarsInfoResource();
    }

    @Bean
    EnvironmentResource environmentResource() {
        return new EnvironmentResource();
    }

    @Bean
    AdminPageResource adminPageResource() {
        return new AdminPageResource();
    }

    @Bean
    EmbeddedContentResource embeddedContentResource() {
        return new EmbeddedContentResource();
    }

    @Bean
    EurekaResource eurekaResource() {
        return new EurekaResource();
    }

    @Bean
    PropertiesResource propertiesResource() {
        return new PropertiesResource();
    }

    @Bean
    JMXResource jmxResource() {
        return new JMXResource();
    }
}
TOP

Related Classes of halfpipe.admin.AdminAutoConfig

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.