Class DTOConstants
java.lang.Object
org.osgi.service.servlet.runtime.dto.DTOConstants
Defines standard constants for the DTOs.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
An exception occurred during initializing of the service.static final int
No matchingorg.osgi.service.servlet.context.ServletContextHelper
.static final int
The service is not registered as a prototype scoped service and is already in use with a servlet context and therefore can't be used with another servlet context.static final int
The service is registered in the service registry but getting the service fails as it returnsnull
.static final int
Matchingorg.osgi.service.servlet.context.ServletContextHelper
, but the context is not used due to a problem with the context.static final int
The servlet is not registered as it is configured to have multipart enabled, but the bundle containing the servlet has no read permission to the default location for the uploaded files.static final int
The servlet is not registered as it is configured to have multipart enabled, but the bundle containing the servlet has no write permission to the provided location for the uploaded files.static final int
Service is shadowed by another service.static final int
Failure reason is unknown.static final int
The service is registered in the service registry but the service properties are invalid.static final int
The servlet is not registered as it is configured to have multipart enabled, but the whiteboard implementation has no write permission to the default location for the uploaded files.static final int
The servlet is not registered as it is configured to have multipart enabled, but the whiteboard implementation has no write permission to the provided location for the uploaded files. -
Method Summary
-
Field Details
-
FAILURE_REASON_UNKNOWN
public static final int FAILURE_REASON_UNKNOWNFailure reason is unknown.- See Also:
-
FAILURE_REASON_NO_SERVLET_CONTEXT_MATCHING
public static final int FAILURE_REASON_NO_SERVLET_CONTEXT_MATCHINGNo matchingorg.osgi.service.servlet.context.ServletContextHelper
.- See Also:
-
FAILURE_REASON_SERVLET_CONTEXT_FAILURE
public static final int FAILURE_REASON_SERVLET_CONTEXT_FAILUREMatchingorg.osgi.service.servlet.context.ServletContextHelper
, but the context is not used due to a problem with the context.- See Also:
-
FAILURE_REASON_SHADOWED_BY_OTHER_SERVICE
public static final int FAILURE_REASON_SHADOWED_BY_OTHER_SERVICEService is shadowed by another service.For example, another service with the same service properties but having a higher service ranking. See
ServiceReference.compareTo(Object)
.- See Also:
-
FAILURE_REASON_EXCEPTION_ON_INIT
public static final int FAILURE_REASON_EXCEPTION_ON_INITAn exception occurred during initializing of the service.This reason can only happen for servlets and servlet filters.
- See Also:
-
FAILURE_REASON_SERVICE_NOT_GETTABLE
public static final int FAILURE_REASON_SERVICE_NOT_GETTABLEThe service is registered in the service registry but getting the service fails as it returnsnull
.- See Also:
-
FAILURE_REASON_VALIDATION_FAILED
public static final int FAILURE_REASON_VALIDATION_FAILEDThe service is registered in the service registry but the service properties are invalid.- See Also:
-
FAILURE_REASON_SERVICE_IN_USE
public static final int FAILURE_REASON_SERVICE_IN_USEThe service is not registered as a prototype scoped service and is already in use with a servlet context and therefore can't be used with another servlet context.- See Also:
-
FAILURE_REASON_SERVLET_WRITE_TO_LOCATION_DENIED
public static final int FAILURE_REASON_SERVLET_WRITE_TO_LOCATION_DENIEDThe servlet is not registered as it is configured to have multipart enabled, but the bundle containing the servlet has no write permission to the provided location for the uploaded files.- See Also:
-
FAILURE_REASON_WHITEBOARD_WRITE_TO_DEFAULT_DENIED
public static final int FAILURE_REASON_WHITEBOARD_WRITE_TO_DEFAULT_DENIEDThe servlet is not registered as it is configured to have multipart enabled, but the whiteboard implementation has no write permission to the default location for the uploaded files.- See Also:
-
FAILURE_REASON_SERVLET_READ_FROM_DEFAULT_DENIED
public static final int FAILURE_REASON_SERVLET_READ_FROM_DEFAULT_DENIEDThe servlet is not registered as it is configured to have multipart enabled, but the bundle containing the servlet has no read permission to the default location for the uploaded files.- See Also:
-
FAILURE_REASON_WHITEBOARD_WRITE_TO_LOCATION_DENIED
public static final int FAILURE_REASON_WHITEBOARD_WRITE_TO_LOCATION_DENIEDThe servlet is not registered as it is configured to have multipart enabled, but the whiteboard implementation has no write permission to the provided location for the uploaded files.- See Also:
-