org.hudsonci.rest.plugin.cometd
Class CometdProvider

java.lang.Object
  extended by org.hudsonci.rest.plugin.ApiProvider
      extended by org.hudsonci.rest.plugin.cometd.CometdProvider

@Named
@Singleton
public class CometdProvider
extends ApiProvider

Configures support for Bayeux via CometD.

Since:
2.1.0
Author:
Jason Dillon

Nested Class Summary
static class CometdProvider.ServletInstaller
           
 
Constructor Summary
CometdProvider()
           
 
Method Summary
static org.cometd.Bayeux getBayeux()
           
static org.cometd.Channel getChannel(String channel, boolean create)
           
 boolean isEnabled()
           
 void setEnabled(boolean enabled)
           
 String toString()
           
 
Methods inherited from class org.hudsonci.rest.plugin.ApiProvider
start, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CometdProvider

public CometdProvider()
Method Detail

getBayeux

public static org.cometd.Bayeux getBayeux()

isEnabled

public boolean isEnabled()
Overrides:
isEnabled in class ApiProvider

setEnabled

public void setEnabled(boolean enabled)
Overrides:
setEnabled in class ApiProvider

toString

public String toString()
Overrides:
toString in class Object

getChannel

public static org.cometd.Channel getChannel(String channel,
                                            boolean create)


Copyright © 2004-2011 Hudson. All Rights Reserved.