Package eu.planets_project.ifr.core.servreg.api

Examples of eu.planets_project.ifr.core.servreg.api.ServiceRegistry.clear()


     */
    @Test
    public void usage() throws MalformedURLException {
        /* We retrieve an instance of the registry: */
        ServiceRegistry registry = ServiceRegistryFactory.getServiceRegistry();
        registry.clear(); // clear any old local entries
        URL endpoint1 = new URL("http://some.dummy.endpoint");
        URL endpoint2 = new URL("http://another.dummy.endpoint");
        /* We register service descriptions: */
        registry
                .register(/* new Droid().describe() */new ServiceDescription.Builder(
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.