Previous Topic

Next Topic

Book Contents

Book Index

Service Properties

Since the HTTP Bundle allows multiple ports to be opened simultaneously for a server, the HTTP Service has several registration properties which values indicate the port(s) currently opened:

If you change the configuration property that corresponds to this one, for example by using the Web Admin Console, the service property is also updated.

To be notified about changes in this property's value, you may register a service listener in the framework for ServiceEvent.MODIFIED events and get the new value.

Furthermore, an HTTP Service can be registered with the name registration property by creating a new configuration object from the Managed Service Factory configurations of the HTTP Bundle. The default server is created with default name registration property and basic ports described above. Refer to the Multiple Servers.

The values of the ports must be different for each registered HTTP Service.