ListenerDTO
Date: 2016-06-25

org.osgi.service.http.runtime.dto

## Class ListenerDTO

- java.lang.Object
- - org.osgi.dto.DTO
  - - org.osgi.service.http.runtime.dto.ListenerDTO

- Direct Known Subclasses:
    FailedListenerDTO

      public class ListenerDTO
      extends org.osgi.dto.DTO

  Represents a listener currently being used by a servlet context.

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `long` | `serviceId` Service property identifying the listener.
    `long` | `servletContextId` The service id of the servlet context for the listener represented by this DTO.
    `java.lang.String[]` | `types` The fully qualified type names the listener.

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `ListenerDTO()`

  - ### Method Summary

    - ### Methods inherited from class org.osgi.dto.DTO

      `toString`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Field Detail

    - #### types

          public java.lang.String[] types

      The fully qualified type names the listener. This array is never empty.

    - #### serviceId

          public long serviceId

      Service property identifying the listener. In the case of a Listener registered in the service registry and picked up by a Http Whiteboard Implementation, this value is not negative and corresponds to the service id in the registry. If the listener has not been registered in the service registry, the value is negative and a unique negative value is generated by the Http Service Runtime in this case.

    - #### servletContextId

          public long servletContextId

      The service id of the servlet context for the listener represented by this DTO.

  - ### Constructor Detail

    - #### ListenerDTO

          public ListenerDTO()