public final class DTOConstants
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
FAILURE_REASON_EXCEPTION_ON_INIT
An exception occurred during initializing of the service.
|
static int |
FAILURE_REASON_NO_SERVLET_CONTEXT_MATCHING
No matching
ServletContextHelper . |
static int |
FAILURE_REASON_SERVICE_IN_USE
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 int |
FAILURE_REASON_SERVICE_NOT_GETTABLE
The service is registered in the service registry but getting the service
fails as it returns
null . |
static int |
FAILURE_REASON_SERVLET_CONTEXT_FAILURE
Matching
ServletContextHelper , but the context is not used due to
a problem with the context. |
static int |
FAILURE_REASON_SERVLET_READ_FROM_DEFAULT_DENIED
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 int |
FAILURE_REASON_SERVLET_WRITE_TO_LOCATION_DENIED
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 int |
FAILURE_REASON_SHADOWED_BY_OTHER_SERVICE
Service is shadowed by another service.
|
static int |
FAILURE_REASON_UNKNOWN
Failure reason is unknown.
|
static int |
FAILURE_REASON_VALIDATION_FAILED
The service is registered in the service registry but the service
properties are invalid.
|
static int |
FAILURE_REASON_WHITEBOARD_WRITE_TO_DEFAULT_DENIED
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 int |
FAILURE_REASON_WHITEBOARD_WRITE_TO_LOCATION_DENIED
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.
|
public static final int FAILURE_REASON_UNKNOWN
public static final int FAILURE_REASON_NO_SERVLET_CONTEXT_MATCHING
ServletContextHelper
.public static final int FAILURE_REASON_SERVLET_CONTEXT_FAILURE
ServletContextHelper
, but the context is not used due to
a problem with the context.public static final int FAILURE_REASON_SHADOWED_BY_OTHER_SERVICE
For example, a service with the same service properties but a higher service ranking.
public static final int FAILURE_REASON_EXCEPTION_ON_INIT
This reason can only happen for servlets and servlet filters.
public static final int FAILURE_REASON_SERVICE_NOT_GETTABLE
null
.public static final int FAILURE_REASON_VALIDATION_FAILED
public static final int FAILURE_REASON_SERVICE_IN_USE
public static final int FAILURE_REASON_SERVLET_WRITE_TO_LOCATION_DENIED
public static final int FAILURE_REASON_WHITEBOARD_WRITE_TO_DEFAULT_DENIED
public static final int FAILURE_REASON_SERVLET_READ_FROM_DEFAULT_DENIED
public static final int FAILURE_REASON_WHITEBOARD_WRITE_TO_LOCATION_DENIED
Copyright © OSGi Alliance (2000, 2018). All Rights Reserved. Licensed under the OSGi Specification License, Version 2.0