public interface Constants
The values associated with these keys are of type String, unless
otherwise indicated.
| Modifier and Type | Field and Description |
|---|---|
static String |
GRAVIA_CAPABILITY
Manifest header that defines a generic module capability.
|
static String |
GRAVIA_IDENTITY_CAPABILITY
Manifest header that defines the module's identitiy.
|
static String |
GRAVIA_IDENTITY_REQUIREMENT
Manifest header that defines a module identitiy requirement.
|
static String |
GRAVIA_PROPERTIES
The default configuration file name as well as the
system property to discover it.
|
static String |
GRAVIA_REQUIREMENT
Manifest header that defines a generic module requirement.
|
static String |
MODULE_ACTIVATOR
Header attribute identifying the module's activator class.
|
static String |
OBJECTCLASS
Service property identifying all of the class names under which a service
was registered in the Runtime.
|
static String |
PROPERTY_CONFIGURATIONS_DIR
The property that defines the configurations directory.
|
static String |
PROPERTY_MAVEN_REPOSITORY_BASE_URLS
The property that defines the Maven Repository base URLs.
|
static String |
PROPERTY_REPOSITORY_STORAGE_DIR
The property that defines the repository storage directory.
|
static String |
PROPERTY_REPOSITORY_STORAGE_FILE
The property that defines the repository storage file.
|
static String |
RUNTIME_CONFIGURATIONS
Runtime property specifying a comma seperated list of URLs each
pointing to a resource that containes ConfigurationAdmin properties.
|
static String |
RUNTIME_STORAGE
Runtime property specifying the persistent storage area used
by the runtime.
|
static String |
RUNTIME_STORAGE_CLEAN
Runtime property specifying if and when the persistent
storage area for the runtime should be cleaned.
|
static String |
RUNTIME_STORAGE_CLEAN_ONFIRSTINIT
Specifies that the runtime storage area must be cleaned before the
runtime is initialized for the first time.
|
static String |
RUNTIME_STORAGE_DEFAULT
The default storage location
|
static String |
RUNTIME_TYPE
A string value representing the type of the runtime (e.g.
|
static String |
SERVICE_ID
Service property identifying a service's registration number.
|
static String |
SERVICE_PID
Service property identifying a service's persistent identifier.
|
static String |
SERVICE_RANKING
Service property identifying a service's ranking number.
|
static String |
URL_HANDLER_PROTOCOL
Service property naming the protocols serviced by a URLStreamHandlerService.
|
static final String GRAVIA_IDENTITY_CAPABILITY
static final String GRAVIA_IDENTITY_REQUIREMENT
static final String GRAVIA_CAPABILITY
static final String GRAVIA_REQUIREMENT
static final String MODULE_ACTIVATOR
If present, this header specifies the name of the module resource class
that implements the ModuleActivator interface and whose
start and stop methods are called by the Runtime when
the module is started and stopped, respectively.
The header value may be retrieved from the Dictionary object
returned by the Module.getHeaders() method.
static final String GRAVIA_PROPERTIES
static final String RUNTIME_CONFIGURATIONS
The resource name is expected to end in *.cfg and also names the PID
static final String RUNTIME_STORAGE
If this property is not set, the runtime should use a reasonable platform default for the persistent storage area.
static final String RUNTIME_STORAGE_CLEAN
static final String RUNTIME_STORAGE_CLEAN_ONFIRSTINIT
static final String RUNTIME_STORAGE_DEFAULT
static final String RUNTIME_TYPE
static final String OBJECTCLASS
String[].
This property is set by the Runtime when a service is registered.
static final String SERVICE_ID
Long.
The value of this property is assigned by the Runtime when a service is registered. The Runtime assigns a unique value that is larger than all previously assigned values since the Runtime was started. These values are NOT persistent across restarts of the Runtime.
static final String SERVICE_PID
This property may be supplied in the properties
Dictionary object passed to the
ModuleContext.registerService method. The value of this property
must be of type String, String[], or Collection
of String.
A service's persistent identifier uniquely identifies the service and persists across multiple Runtime invocations.
static final String SERVICE_RANKING
This property may be supplied in the properties
Dictionary object passed to the ModuleContext.registerService
method. The value of this property must be of type Integer.
The service ranking is used by the Runtime to determine the natural
order of services, see {code ServiceReference#compareTo(Object)},
and the default service to be returned from a call to the
ModuleContext#getServiceReference(Class) or
ModuleContext#getServiceReference(String) method.
The default ranking is zero (0). A service with a ranking of
Integer.MAX_VALUE is very likely to be returned as the default
service, whereas a service with a ranking of Integer.MIN_VALUE is
very unlikely to be returned.
If the supplied property value is not of type Integer, it is
deemed to have a ranking value of zero.
static final String URL_HANDLER_PROTOCOL
static final String PROPERTY_MAVEN_REPOSITORY_BASE_URLS
static final String PROPERTY_REPOSITORY_STORAGE_DIR
static final String PROPERTY_REPOSITORY_STORAGE_FILE
static final String PROPERTY_CONFIGURATIONS_DIR
Copyright © 2014 JBoss by Red Hat. All rights reserved.