Package org.eclipse.ecf.examples.remoteservices.hello.impl

Examples of org.eclipse.ecf.examples.remoteservices.hello.impl.Hello


        IDistributionConstants.SERVICE_EXPORTED_CONTAINER_FACTORY_ARGUMENTS,
        containerId);
    props.put("ecf.exported.async.objectClass",new String[] { IHelloAsync.class.getName() });
    // register remote service
    helloRegistration = bundleContext.registerService(
        IHello.class.getName(), new Hello(), props);
    // tell everyone
    System.out.println("Host: Hello Service Registered");
  }
View Full Code Here


    // Get remote service container adapter
    IRemoteServiceContainerAdapter containerAdapter = (IRemoteServiceContainerAdapter) container
        .getAdapter(IRemoteServiceContainerAdapter.class);
    // Register remote service
    serviceRegistration = containerAdapter.registerRemoteService(
        new String[] { IHello.class.getName() }, new Hello(), null);
    System.out.println("IHello RemoteService registered");
  }
View Full Code Here

TOP

Related Classes of org.eclipse.ecf.examples.remoteservices.hello.impl.Hello

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.