@Test public void testHandlerRegistration() throws Exception { SwitchYardModel switchyard = new ModelPuller<SwitchYardModel>().pull( "/switchyard-config-properties-01.xml", getClass()); ServiceDomain domain = new ServiceDomainManager().createDomain( new QName("test"), switchyard); Assert.assertEquals("abc-value", domain.getProperty("abc")); Assert.assertEquals("xyz-value", domain.getProperty("xyz")); Assert.assertNull(domain.getProperty("nothing")); }
public ServiceDomain createDomain() { return createDomain(ROOT_DOMAIN, null); }
ServiceDomainManager { public ServiceDomain createDomain() { return createDomain(ROOT_DOMAIN, null); } }
ServiceDomainManager { public ServiceDomain createDomain() { return createDomain(ROOT_DOMAIN, null); } ServiceDomainManager();  ServiceDomainManager(SystemSecurity systemSecurity); }
ServiceDomainManager { public ServiceDomain createDomain() { return createDomain(ROOT_DOMAIN, null); } ServiceDomainManager();  ServiceDomainManager(SystemSecurity systemSecurity); ServiceDomain createDomain(); ServiceDomain createDomain(QName domainName, SwitchYardModel switchyardConfig); EventManager getEventManager(); ServiceRegistry getRegistry(); }
ServiceDomainManager { public ServiceDomain createDomain() { return createDomain(ROOT_DOMAIN, null); } ServiceDomainManager();  ServiceDomainManager(SystemSecurity systemSecurity); ServiceDomain createDomain(); ServiceDomain createDomain(QName domainName, SwitchYardModel switchyardConfig); EventManager getEventManager(); ServiceRegistry getRegistry(); static final QName ROOT_DOMAIN; }