
com.aol.micro.server.machine.stats.sigar.plugin.MachineStatsPlugin Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of micro-machine-stats Show documentation
Show all versions of micro-machine-stats Show documentation
Opinionated rest microservices
The newest version!
package com.aol.micro.server.machine.stats.sigar.plugin;
import com.aol.micro.server.Plugin;
import com.aol.micro.server.machine.stats.sigar.MachineStatsChecker;
import com.aol.micro.server.machine.stats.sigar.SigarStats;
import com.aol.micro.server.machine.stats.sigar.StatsServletContextListener;
import com.aol.micro.server.machine.stats.sigar.rest.StatsResource;
import cyclops.collections.immutable.PersistentSetX;
/**
*
* 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 PersistentSetX springClasses() {
return PersistentSetX.of(StatsResource.class, MachineStatsChecker.class, StatsServletContextListener.class,
SigarStats.class);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy