package org.iri_research.renkan.coweb.server;

import javax.inject.Inject;
import javax.inject.Named;

import org.cometd.bayeux.server.BayeuxServer;
import org.cometd.server.BayeuxServerImpl;
import org.cometd.server.CometdServlet;

@Named
public class RenkanCometdServlet extends CometdServlet {

	/**
	 * 
	 */
	private static final long serialVersionUID = -5362140618261972254L;
	
	@Inject
	private BayeuxServer _bayeux;
	
	@Override
	protected BayeuxServerImpl newBayeuxServer()
    {
        return (BayeuxServerImpl)_bayeux;
    }


}
