public class FailedServletContextDTO extends ServletContextDTO
FailedServletContextDTO
:
ServletContextDTO.servletDTOs
ServletContextDTO.resourceDTOs
ServletContextDTO.filterDTOs
ServletContextDTO.errorPageDTOs
ServletContextDTO.listenerDTOs
The method ServletContextDTO.attributes
returns an empty map for a
FailedServletContextDTO
.
Modifier and Type | Field and Description |
---|---|
int |
failureReason
The reason why the servlet context represented by this DTO is not used.
|
attributes, contextPath, errorPageDTOs, filterDTOs, initParams, listenerDTOs, name, resourceDTOs, serviceId, servletDTOs
Constructor and Description |
---|
FailedServletContextDTO() |
public int failureReason
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
Copyright © OSGi Alliance (2000, 2018). All Rights Reserved. Licensed under the OSGi Specification License, Version 2.0