Class ListenerDTO
- java.lang.Object
-
- org.osgi.dto.DTO
-
- org.osgi.service.http.runtime.dto.ListenerDTO
-
- Direct Known Subclasses:
FailedListenerDTO
public class ListenerDTO extends DTO
Represents a listener currently being used by a servlet context.
-
-
Field Summary
Fields Modifier and Type Field 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 Description ListenerDTO()
-
-
-
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.
-
-