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

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


                            new ConversationalEndpointCallback(svc, method, context.getBus()));
                }
            }

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

            if (!commandPoints.isEmpty()) {
                context.getBus().subscribe(svcName, new CommandBindingsCallback(commandPoints, svc));
            }
View Full Code Here


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

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

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

                        new ConversationalEndpointCallback(svc, method, context.getBus()));
                  }
                }

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

              } else if (loadClass.isAnnotationPresent(ExposeEntity.class)) {
                log.info("Marked " + loadClass + " as serializable.");
                loadedComponents.add(loadClass.getName());
View Full Code Here

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

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

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

        epts.put(ProxyUtil.createCallSignature(remoteIface, method),
                RPCEndpointFactory.createEndpointFor(genericSvc, 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);
      }
    });

    log.debug("registered RPC service for: " + remoteIface.getName());
View Full Code Here

TOP

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

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.