Class ListenerDTO
java.lang.Object
org.osgi.dto.DTO
org.osgi.service.servlet.runtime.dto.ListenerDTO
- Direct Known Subclasses:
FailedListenerDTO
Represents a listener currently being used by a servlet context.
- "NotThreadSafe"
-
Field Summary
Modifier and TypeFieldDescriptionlong
Service property identifying the listener.long
The service id of the servlet context for the listener represented by this DTO.String[]
The fully qualified type names the listener. -
Constructor Summary
-
Method Summary
-
Field Details
-
types
The fully qualified type names the listener. This array is never empty. -
serviceId
public long serviceIdService 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 servletContextIdThe service id of the servlet context for the listener represented by this DTO.
-
-
Constructor Details
-
ListenerDTO
public ListenerDTO()
-