Errai 3.0.1-SNAPSHOT

org.jboss.errai.ui.cordova
Class LocationAwareClientMessageBus

java.lang.Object
  extended by org.jboss.errai.bus.client.framework.ClientMessageBusImpl
      extended by org.jboss.errai.ui.cordova.LocationAwareClientMessageBus
All Implemented Interfaces:
ClientMessageBus, MessageBus

public class LocationAwareClientMessageBus
extends ClientMessageBusImpl

Overrides the standard ClientMessageBus implementation that throws exception when the user did not specify the endpoint

Author:
Erik Jan de Wit

Field Summary
 
Fields inherited from class org.jboss.errai.bus.client.framework.ClientMessageBusImpl
serverForwarder
 
Constructor Summary
LocationAwareClientMessageBus()
           
 
Method Summary
 String getApplicationLocation(String serviceEntryPoint)
           
 
Methods inherited from class org.jboss.errai.bus.client.framework.ClientMessageBusImpl
addLifecycleListener, addSubscribeListener, addTransportErrorHandler, addUncaughtExceptionHandler, addUnsubscribeListener, attachMonitor, callErrorHandler, clearProperties, encodeAndTransmit, getAllAvailableHandlers, getAllRegisteredSubjects, getClientId, getInServiceEntryPoint, getLocalServices, getOutServiceEntryPoint, getRemoteServices, getSessionId, getState, getTransportHandler, handleTransportError, init, isSubscribed, reconsiderTransport, removeAllUncaughtExceptionHandlers, removeLifecycleListener, removeTransportErrorHandler, removeUncaughtExceptionHandler, send, send, sendGlobal, sendLocal, setProperty, setState, stop, subscribe, subscribeLocal, subscribeShadow, unsubscribeAll
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LocationAwareClientMessageBus

public LocationAwareClientMessageBus()
Method Detail

getApplicationLocation

public String getApplicationLocation(String serviceEntryPoint)
Overrides:
getApplicationLocation in class ClientMessageBusImpl

Errai 3.0.1-SNAPSHOT

Copyright © 2013-2014 JBoss, a division of Red Hat. All Rights Reserved.