com.github.charlemaznable.bunny.rabbit.guice.loader.BunnyHandlerLoaderImpl Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bunny-rabbit Show documentation
Show all versions of bunny-rabbit Show documentation
Bunny rabbits will skip hand-in-hand with baby lambs across sunny green meadows.
package com.github.charlemaznable.bunny.rabbit.guice.loader;
import com.github.charlemaznable.bunny.plugin.BunnyHandler;
import com.github.charlemaznable.bunny.rabbit.core.common.BunnyHandlerLoader;
import java.util.List;
import java.util.Set;
import static com.github.charlemaznable.core.lang.Listt.newArrayList;
@SuppressWarnings("rawtypes")
public final class BunnyHandlerLoaderImpl implements BunnyHandlerLoader {
private final List handlers;
public BunnyHandlerLoaderImpl(Set handlers) {
this.handlers = newArrayList(handlers);
}
@Override
public List loadHandlers() {
return handlers;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy