@Test public void testRegisterServiceWithoutInterface() { Service service = _domain.registerService( new QName("no-interface"), null, new MockHandler()); Assert.assertNotNull(service.getInterface()); Assert.assertTrue(service.getInterface().getOperations().size() == 1); Assert.assertNotNull(service.getInterface().getOperation( ServiceInterface.DEFAULT_OPERATION)); }
@Override public Service registerService(QName serviceName, ServiceInterface contract, ExchangeHandler handler) { return registerService(serviceName, contract, handler, null); }
DomainImpl implements SecureServiceDomain { @Override public Service registerService(QName serviceName, ServiceInterface contract, ExchangeHandler handler) { return registerService(serviceName, contract, handler, null); } }
DomainImpl implements SecureServiceDomain { @Override public Service registerService(QName serviceName, ServiceInterface contract, ExchangeHandler handler) { return registerService(serviceName, contract, handler, null); } protected  DomainImpl(QName name);  DomainImpl(QName name,
            ServiceRegistry serviceRegistry,
            ExchangeBus exchangeBus,
            TransformerRegistry transformerRegistry,
            ValidatorRegistry validatorRegistry,
            EventManager eventManager,
            ServiceDomainSecurity serviceDomainSecurity); }
DomainImpl implements SecureServiceDomain { @Override public Service registerService(QName serviceName, ServiceInterface contract, ExchangeHandler handler) { return registerService(serviceName, contract, handler, null); } protected  DomainImpl(QName name);  DomainImpl(QName name,
            ServiceRegistry serviceRegistry,
            ExchangeBus exchangeBus,
            TransformerRegistry transformerRegistry,
            ValidatorRegistry validatorRegistry,
            EventManager eventManager,
            ServiceDomainSecurity serviceDomainSecurity); @Override Service registerService(QName serviceName, ServiceInterface contract, 
            ExchangeHandler handler); @Override Service registerService(QName serviceName,
            ServiceInterface contract, ExchangeHandler handler, ServiceMetadata metadata); @Override ServiceReference registerServiceReference(QName serviceName,
            ServiceInterface contract); @Override ServiceReference registerServiceReference(QName serviceName,
            ServiceInterface contract, ExchangeHandler handler); @Override ServiceReference registerServiceReference(QName serviceName,
            ServiceInterface contract, ExchangeHandler handler,  ServiceMetadata metadata); @Override ServiceReference getServiceReference(QName serviceName); @Override QName getName(); @Override TransformerRegistry getTransformerRegistry(); @Override ValidatorRegistry getValidatorRegistry(); @Override List<Service> getServices(); @Override List<Service> getServices(QName serviceName); ServiceRegistry getServiceRegistry(); ExchangeBus getBus(); @Override void init(); @Override void destroy(); @Override ServiceDomain addEventObserver(EventObserver observer, Class<? extends EventObject> eventType); @Override EventPublisher getEventPublisher(); @Override Map<String, Object> getProperties(); @Override Object getProperty(String name); @Override ServiceDomain setProperty(String name, Object value); @Override ServiceSecurity getServiceSecurity(String name); @Override ServiceDomainSecurity getServiceDomainSecurity(); @Override String toString(); }
DomainImpl implements SecureServiceDomain { @Override public Service registerService(QName serviceName, ServiceInterface contract, ExchangeHandler handler) { return registerService(serviceName, contract, handler, null); } protected  DomainImpl(QName name);  DomainImpl(QName name,
            ServiceRegistry serviceRegistry,
            ExchangeBus exchangeBus,
            TransformerRegistry transformerRegistry,
            ValidatorRegistry validatorRegistry,
            EventManager eventManager,
            ServiceDomainSecurity serviceDomainSecurity); @Override Service registerService(QName serviceName, ServiceInterface contract, 
            ExchangeHandler handler); @Override Service registerService(QName serviceName,
            ServiceInterface contract, ExchangeHandler handler, ServiceMetadata metadata); @Override ServiceReference registerServiceReference(QName serviceName,
            ServiceInterface contract); @Override ServiceReference registerServiceReference(QName serviceName,
            ServiceInterface contract, ExchangeHandler handler); @Override ServiceReference registerServiceReference(QName serviceName,
            ServiceInterface contract, ExchangeHandler handler,  ServiceMetadata metadata); @Override ServiceReference getServiceReference(QName serviceName); @Override QName getName(); @Override TransformerRegistry getTransformerRegistry(); @Override ValidatorRegistry getValidatorRegistry(); @Override List<Service> getServices(); @Override List<Service> getServices(QName serviceName); ServiceRegistry getServiceRegistry(); ExchangeBus getBus(); @Override void init(); @Override void destroy(); @Override ServiceDomain addEventObserver(EventObserver observer, Class<? extends EventObject> eventType); @Override EventPublisher getEventPublisher(); @Override Map<String, Object> getProperties(); @Override Object getProperty(String name); @Override ServiceDomain setProperty(String name, Object value); @Override ServiceSecurity getServiceSecurity(String name); @Override ServiceDomainSecurity getServiceDomainSecurity(); @Override String toString();  }