net.commerce.zocalo.service
Class BayeuxSingleton
java.lang.Object
net.commerce.zocalo.service.BayeuxSingleton
public class BayeuxSingleton
- extends java.lang.Object
uses the Singleton pattern to hold onto the AJAX connection.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getBayeux
public org.mortbay.cometd.AbstractBayeux getBayeux()
setBayeux
public void setBayeux(org.mortbay.cometd.AbstractBayeux bayeux)
getInstance
public static BayeuxSingleton getInstance()
isSubscribed
public static boolean isSubscribed(java.lang.String channel)
addSubscription
public static void addSubscription(java.lang.String channel)