Examples of unRegisterEPR()


Examples of org.jboss.internal.soa.esb.services.registry.InVMRegistryInterceptor.unRegisterEPR()

            // Register the EPR again...
            reg.registerEPR("x", "y", "blah", new InVMEpr(new EPR(URI.create("x://123"))), "blah");
            Assert.assertEquals("InVM EPR count", 2, InVMTransport.getInstance().findEPRs("x", "y").size()) ;
   
            // Unregister it once...
            reg.unRegisterEPR("x", "y", new InVMEpr(new EPR(URI.create("x://123"))));
   
            // Should still be able to find it...
            reg.findEPR("x", "y");
            Assert.assertEquals("InVM EPR count", 1, InVMTransport.getInstance().findEPRs("x", "y").size()) ;
   
View Full Code Here

Examples of org.jboss.internal.soa.esb.services.registry.InVMRegistryInterceptor.unRegisterEPR()

            // Should still be able to find it...
            reg.findEPR("x", "y");
            Assert.assertEquals("InVM EPR count", 1, InVMTransport.getInstance().findEPRs("x", "y").size()) ;
   
            // Unregister it again...
            reg.unRegisterEPR("x", "y", new InVMEpr(new EPR(URI.create("x://123"))));
   
            Assert.assertEquals("InVM EPR count", 0, InVMTransport.getInstance().findEPRs("x", "y").size()) ;
        }
        finally
        {
View Full Code Here

Examples of org.jboss.internal.soa.esb.services.registry.InVMRegistryInterceptor.unRegisterEPR()

            Assert.assertEquals(x_yz, reg.findEPR("x", "yz"));
            Assert.assertEquals("InVM EPR count", 1, InVMTransport.getInstance().findEPRs("xy", "z").size()) ;
            Assert.assertEquals("InVM EPR count", 1, InVMTransport.getInstance().findEPRs("x", "yz").size()) ;
   
            // Unregister "xy:z"...
            reg.unRegisterEPR("xy", "z", xy_z);
            Assert.assertEquals("InVM EPR count", 0, InVMTransport.getInstance().findEPRs("xy", "z").size()) ;
            Assert.assertEquals("InVM EPR count", 1, InVMTransport.getInstance().findEPRs("x", "yz").size()) ;
   
            // Unregister "x:yz"...
            reg.unRegisterEPR("x", "yz", x_yz);
View Full Code Here

Examples of org.jboss.internal.soa.esb.services.registry.InVMRegistryInterceptor.unRegisterEPR()

            reg.unRegisterEPR("xy", "z", xy_z);
            Assert.assertEquals("InVM EPR count", 0, InVMTransport.getInstance().findEPRs("xy", "z").size()) ;
            Assert.assertEquals("InVM EPR count", 1, InVMTransport.getInstance().findEPRs("x", "yz").size()) ;
   
            // Unregister "x:yz"...
            reg.unRegisterEPR("x", "yz", x_yz);
            Assert.assertEquals("InVM EPR count", 0, InVMTransport.getInstance().findEPRs("xy", "z").size()) ;
            Assert.assertEquals("InVM EPR count", 0, InVMTransport.getInstance().findEPRs("x", "yz").size()) ;
        }
        finally
        {
View Full Code Here

Examples of org.jboss.soa.esb.services.registry.Registry.unRegisterEPR()

        {
            registryLock.lock() ;
            try
            {
                final Registry registry = RegistryFactory.getRegistry() ;
                registry.unRegisterEPR(category, name, epr) ;
            }
            catch (final ServiceNotFoundException snfe) {
                logger.warn("Failed to unregister service", snfe);
            }
            catch (final RegistryException re)
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.