Skip to content

Commit

Permalink
Added port to service properties in HelloService
Browse files Browse the repository at this point in the history
  • Loading branch information
scottslewis committed Aug 1, 2023
1 parent 38f6aff commit 159239b
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@
import org.osgi.service.component.annotations.Component;

@Component(immediate = true, property = { "my.id=myservice", "service.exported.interfaces=*",
"service.exported.configs=" + TCPSocketConstants.SERVER_PROVIDER_CONFIG_TYPE })
"service.exported.configs=" + TCPSocketConstants.SERVER_PROVIDER_CONFIG_TYPE,
TCPSocketConstants.SERVER_PROVIDER_CONFIG_TYPE+".port:Integer=5555"})
public class HelloService implements IHello {

public HelloService() {
Expand Down

0 comments on commit 159239b

Please sign in to comment.