Examples of RemoteServiceCallback


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

        }
      }

      if (!epts.isEmpty()) {
        if (local) {
          context.getBus().subscribeLocal(loadClass.getSimpleName() + ":RPC", new RemoteServiceCallback(epts));
        }
        else {
          context.getBus().subscribe(loadClass.getSimpleName() + ":RPC", new RemoteServiceCallback(epts));
        }
      }

      if (!commandPoints.isEmpty()) {
        if (local) {
View Full Code Here

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

          }, method, context.getBus()));
        }
      }
    }

    context.getBus().subscribe(remoteIface.getName() + ":RPC", new RemoteServiceCallback(epts));

    new ProxyProvider() {
      {
        AbstractRemoteCallBuilder.setProxyFactory(this);
      }
View Full Code Here

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

                  RPCEndpointFactory.createEndpointFor(genericSvc, method, context.getBus()));
        }
      }
    }

    context.getBus().subscribe(remoteIface.getName() + ":RPC", new RemoteServiceCallback(epts));

    // note: this method just exists because we want AbstractRemoteCallBuilder to be package
    // private.
    DefaultRemoteCallBuilder.setProxyFactory(Assert.notNull(new ProxyFactory() {
      @Override
View Full Code Here

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

              RPCEndpointFactory.createEndpointFor(genericSvc, method, context.getBus()));
        }
      }
    }

    context.getBus().subscribe(remoteIface.getName() + ":RPC", new RemoteServiceCallback(epts));

    // note: this method just exists because we want AbstractRemoteCallBuilder to be package private.
    DefaultRemoteCallBuilder.setProxyFactory(Assert.notNull(new ProxyFactory() {
      @Override
      public <T> T getRemoteProxy(Class<T> proxyType) {
View Full Code Here

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


      if (!epts.isEmpty()) {
        final String rpcEndpointName = loadClass.getSimpleName() + ":RPC";
        if (local) {
          context.getBus().subscribeLocal(rpcEndpointName, new RemoteServiceCallback(epts));
        }
        else {
          context.getBus().subscribe(rpcEndpointName, new RemoteServiceCallback(epts));
        }

        if (rule != null) {
          context.getBus().addRule(rpcEndpointName, rule);
        }
View Full Code Here

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

          }, method, context.getBus()));
        }
      }
    }

    context.getBus().subscribe(remoteIface.getName() + ":RPC", new RemoteServiceCallback(epts));


    // note: this method just exists because we want AbstractRemoteCallBuilder to be package private.
    DefaultRemoteCallBuilder.setProxyFactory(Assert.notNull(new ProxyFactory() {
      @Override
View Full Code Here

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

            }, method, bus));
      }
    }

    final RemoteServiceCallback delegate = new RemoteServiceCallback(epts);
    bus.subscribe(remoteIface.getName() + ":RPC", new MessageCallback() {
      @Override
      public void callback(final Message message) {
        delegate.callback(message);
      }
    });

    // note: this method just exists because we want AbstractRemoteCallBuilder to be package private.
    DefaultRemoteCallBuilder.setProxyFactory(Assert.notNull(new ProxyFactory() {
View Full Code Here

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

        }
      }

      if (!epts.isEmpty()) {
        if (local) {
          context.getBus().subscribeLocal(loadClass.getSimpleName() + ":RPC", new RemoteServiceCallback(epts));
        }
        else {
          context.getBus().subscribe(loadClass.getSimpleName() + ":RPC", new RemoteServiceCallback(epts));
        }
      }

      if (!commandPoints.isEmpty()) {
        if (local) {
View Full Code Here

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

          }, method, context.getBus()));
        }
      }
    }

    context.getBus().subscribe(remoteIface.getName() + ":RPC", new RemoteServiceCallback(epts));


    // note: this method just exists because we want AbstractRemoteCallBuilder to be package private.
    DefaultRemoteCallBuilder.setProxyFactory(Assert.notNull(new ProxyFactory() {
      @Override
View Full Code Here

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

          epts.put(RebindUtils.createCallSignature(method), new ConversationalEndpointCallback(svc, method, bus));
        }
      }
    }

    final RemoteServiceCallback delegate = new RemoteServiceCallback(epts);
    bus.subscribe(remoteIface.getName() + ":RPC", new MessageCallback() {
      public void callback(Message message) {
        try {
          CDIExtensionPoints.this.contextManager.activateRequestContext();
          delegate.callback(message);
        } finally {
          CDIExtensionPoints.this.contextManager.deactivateRequestContext();
        }
      }
    });
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.