@Test public void testCreateProducerNoProps() throws Exception { OsgiDefaultEndpoint endpoint = createEndpoint(); assertThat(endpoint.createProducer(), instanceOf(OsgiDefaultProducer.class)); }
@Override public Producer createProducer() throws Exception { return new OsgiDefaultProducer(this, getProps()); }
OsgiDefaultEndpoint extends DefaultEndpoint { @Override public Producer createProducer() throws Exception { return new OsgiDefaultProducer(this, getProps()); } }
OsgiDefaultEndpoint extends DefaultEndpoint { @Override public Producer createProducer() throws Exception { return new OsgiDefaultProducer(this, getProps()); } OsgiDefaultEndpoint(String endpointUri, Component component); }
OsgiDefaultEndpoint extends DefaultEndpoint { @Override public Producer createProducer() throws Exception { return new OsgiDefaultProducer(this, getProps()); } OsgiDefaultEndpoint(String endpointUri, Component component); @Override Consumer createConsumer(Processor processor); @Override Producer createProducer(); @Override boolean isSingleton(); @Override OsgiComponent getComponent(); Map<String, Object> getProps(); void setProps(Map<String, Object> props); }
OsgiDefaultEndpoint extends DefaultEndpoint { @Override public Producer createProducer() throws Exception { return new OsgiDefaultProducer(this, getProps()); } OsgiDefaultEndpoint(String endpointUri, Component component); @Override Consumer createConsumer(Processor processor); @Override Producer createProducer(); @Override boolean isSingleton(); @Override OsgiComponent getComponent(); Map<String, Object> getProps(); void setProps(Map<String, Object> props);  }