FailedListenerDTO
Date: 2016-06-25

org.osgi.service.http.runtime.dto

## Class FailedListenerDTO

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

-     public class FailedListenerDTO
      extends ListenerDTO

  Represents a listener service which is currently not being used by a servlet context due to a problem.

  As the listener represented by this DTO is not used due to a failure, the field `BaseServletDTO.servletContextId` always returns `0` and does not point to an existing servlet context.

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `int` | `failureReason` The reason why the listener represented by this DTO is not used.

    - ### Fields inherited from class org.osgi.service.http.runtime.dto.ListenerDTO

      `serviceId, servletContextId, types`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `FailedListenerDTO()`

  - ### 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

    - #### failureReason

          public int failureReason

      The reason why the listener represented by this DTO is not used.
      See Also:
        `DTOConstants.FAILURE_REASON_UNKNOWN`, `DTOConstants.FAILURE_REASON_EXCEPTION_ON_INIT`, `DTOConstants.FAILURE_REASON_NO_SERVLET_CONTEXT_MATCHING`, `DTOConstants.FAILURE_REASON_SERVICE_NOT_GETTABLE`, `DTOConstants.FAILURE_REASON_SERVLET_CONTEXT_FAILURE`, `DTOConstants.FAILURE_REASON_SHADOWED_BY_OTHER_SERVICE`

  - ### Constructor Detail

    - #### FailedListenerDTO

          public FailedListenerDTO()