// Path: backend/src/main/java/org/haagensoftware/netty/webserver/spi/NettyWebserverRouterPlugin.java
// public abstract class NettyWebserverRouterPlugin {
// 
// 	public abstract LinkedHashMap<String, SimpleChannelUpstreamHandler> getRoutes();
// 	
// 	public abstract ChannelHandler getHandlerForRoute(String route);
// 	
// 	public abstract void setServerInfo(ServerInfo serverInfo);
// }


import java.util.ArrayList;
import java.util.List;
import java.util.ServiceLoader;
import org.apache.log4j.Logger;
import org.haagensoftware.netty.webserver.spi.NettyWebserverRouterPlugin;
package no.haagensoftware.pluginService;



public class ApplicationRouterPluginService {
	private static Logger logger = Logger.getLogger(ApplicationRouterPluginService.class.getName());
	private static ApplicationRouterPluginService pluginService = null;
// Path: backend/src/main/java/org/haagensoftware/netty/webserver/spi/NettyWebserverRouterPlugin.java
// public abstract class NettyWebserverRouterPlugin {
// 
// 	public abstract LinkedHashMap<String, SimpleChannelUpstreamHandler> getRoutes();
// 	
// 	public abstract ChannelHandler getHandlerForRoute(String route);
// 	
// 	public abstract void setServerInfo(ServerInfo serverInfo);
// }


// Path: backend/src/main/java/no/haagensoftware/pluginService/ApplicationRouterPluginService.java
import java.util.ArrayList;
import java.util.List;
import java.util.ServiceLoader;
import org.apache.log4j.Logger;
import org.haagensoftware.netty.webserver.spi.NettyWebserverRouterPlugin;

package no.haagensoftware.pluginService;



public class ApplicationRouterPluginService {
	private static Logger logger = Logger.getLogger(ApplicationRouterPluginService.class.getName());
	private static ApplicationRouterPluginService pluginService = null;
	private ServiceLoader<NettyWebserverRouterPlugin> loader;