Class ListenerDTO

java.lang.Object
org.osgi.dto.DTO
org.osgi.service.servlet.runtime.dto.ListenerDTO
Direct Known Subclasses:
FailedListenerDTO

public class ListenerDTO extends DTO
Represents a listener currently being used by a servlet context.
"NotThreadSafe"
  • Field Details

    • types

      public 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 Servlet 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 Details

    • ListenerDTO

      public ListenerDTO()