Package org.jboss.errai.bus.server.io

Examples of org.jboss.errai.bus.server.io.ServiceMethodCallback


      }

      if (commandPoints.isEmpty()) {
        // Subscribe the service to the bus.
        if (local) {
          context.getBus().subscribeLocal(svcName, new ServiceMethodCallback(svc, loadMethod));
        }
        else {
          context.getBus().subscribe(svcName, new ServiceMethodCallback(svc, loadMethod));
        }
      }
    }

    if (svc == null) {
View Full Code Here


  public MessageCallback getCallback(Object delegate) {
    if (hasCommandPoints()) {
      return new CommandBindingsCallback(getCommandPoints(), delegate);
    }
    else {
      return new ServiceMethodCallback(delegate, method);
    }
  }
View Full Code Here

  public MessageCallback getCallback(Object delegate, MessageBus bus) {
    if (hasCommandPoints()) {
      return new CommandBindingsCallback(getCommandPoints(), delegate, bus);
    }
    else {
      return new ServiceMethodCallback(delegate, method);
    }
  }
View Full Code Here

  public MessageCallback getCallback(Object delegate, MessageBus bus) {
    if (hasCommandPoints()) {
      return new CommandBindingsCallback(getCommandPoints(), delegate, bus);
    }
    else {
      return new ServiceMethodCallback(delegate, method);
    }
  }
View Full Code Here

TOP

Related Classes of org.jboss.errai.bus.server.io.ServiceMethodCallback

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.