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

com.oath.micro.server.machine.stats.sigar.plugin.MachineStatsPlugin Maven / Gradle / Ivy

There is a newer version: 1.2.6
Show newest version
package com.oath.micro.server.machine.stats.sigar.plugin;


import com.oath.micro.server.Plugin;
import com.oath.micro.server.machine.stats.sigar.MachineStatsChecker;
import com.oath.micro.server.machine.stats.sigar.SigarStats;
import com.oath.micro.server.machine.stats.sigar.StatsServletContextListener;
import com.oath.micro.server.machine.stats.sigar.rest.StatsResource;
import cyclops.reactive.collections.mutable.SetX;

import java.util.Set;

/**
 * 
 * Collections of Spring configuration classes (Classes annotated with @Configuration)
 * that configure various useful pieces of functionality - such as property file loading,
 * datasources, scheduling etc
 * 
 * @author johnmcclean
 *
 */
public class MachineStatsPlugin implements Plugin {

    @Override
    public Set springClasses() {
        return SetX.of(StatsResource.class, MachineStatsChecker.class, StatsServletContextListener.class,
                        SigarStats.class);
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy