Class EquinoxModuleDataNamespace
java.lang.Object
org.osgi.resource.Namespace
org.eclipse.osgi.container.namespaces.EquinoxModuleDataNamespace
Equinox module data capability namespace. This namespace is used to store
immutable data about a module revision. This includes the following
- The activation policy as specified by the
Bundle-ActivationPolicy
header. - The activator as specified by the
Bundle-Activator
header. - The class path as specified by the
Bundle-ClassPath
header. - The bundle class loading policy.
This class defines the names for the attributes and directives for this namespace. Capabilities in this namespace are not intended to be used to match requirements and should not be considered as effective by a resolver.
- Since:
- 3.10
- Restriction:
- This class is not intended to be instantiated by clients.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
Deprecated.static final String
The Equinox specific header for specifying a list of buddy policies.static final String
The capability attribute contains theactivation policy
for the providing module revision.static final String
Anactivation policy
attribute value indicating the lazy activation policy is used.static final String
The capability attribute contains theactivator
for the providing module revision.static final String
The capability attribute contains the list buddy loading policies for the providing module revision as specified in the Eclipse-BuddyPolicy header.static final String
The capability attribute contains the list of symbolic names the providing module revision is a registered buddy of as specified by the Eclipse-BuddyPolicy header.static final String
The capability attribute contains theclass path
for the providing module revision.static final String
When thelazy
policy is used this attribute contains the package names that must not trigger the activation when a class is loaded of these packages.static final String
When thelazy
policy is used this attribute contains the package names that must trigger the activation when a class is loaded of these packages.static final String
The directive value identifying acapability
that is effective for information purposes.static final String
An Eclipse-LazyStart header attribute used to specify exception classes for auto startstatic final String
The Equinox specific header for specifying the lazy start policystatic final String
Namespace name for equinox module data.static final String
The Equinox specific header for specifying a list of symbolic names to register as a buddy with.Fields inherited from class org.osgi.resource.Namespace
CAPABILITY_EFFECTIVE_DIRECTIVE, CAPABILITY_USES_DIRECTIVE, CARDINALITY_MULTIPLE, CARDINALITY_SINGLE, EFFECTIVE_ACTIVE, EFFECTIVE_RESOLVE, REQUIREMENT_CARDINALITY_DIRECTIVE, REQUIREMENT_EFFECTIVE_DIRECTIVE, REQUIREMENT_FILTER_DIRECTIVE, REQUIREMENT_RESOLUTION_DIRECTIVE, RESOLUTION_MANDATORY, RESOLUTION_OPTIONAL
-
Constructor Summary
-
Method Summary
-
Field Details
-
BUDDY_POLICY_HEADER
The Equinox specific header for specifying a list of buddy policies.- See Also:
-
REGISTERED_BUDDY_HEADER
The Equinox specific header for specifying a list of symbolic names to register as a buddy with.- See Also:
-
LAZYSTART_HEADER
The Equinox specific header for specifying the lazy start policy- See Also:
-
LAZYSTART_EXCEPTIONS_ATTRIBUTE
An Eclipse-LazyStart header attribute used to specify exception classes for auto start- See Also:
-
AUTOSTART_HEADER
Deprecated.useLAZYSTART_HEADER
The Equinox specific header for specifying the lazy start policy- See Also:
-
MODULE_DATA_NAMESPACE
Namespace name for equinox module data. Unlike typical name spaces this namespace is not intended to be used as an attribute.- See Also:
-
EFFECTIVE_INFORMATION
The directive value identifying acapability
that is effective for information purposes. Capabilities in this namespace must have an effective directive value of information. -
CAPABILITY_ACTIVATION_POLICY
The capability attribute contains theactivation policy
for the providing module revision. The value of this attribute must be of typeString
. When not specified then the module revision uses an eager activation policy.- See Also:
-
CAPABILITY_ACTIVATION_POLICY_LAZY
Anactivation policy
attribute value indicating the lazy activation policy is used.- See Also:
-
CAPABILITY_LAZY_INCLUDE_ATTRIBUTE
When thelazy
policy is used this attribute contains the package names that must trigger the activation when a class is loaded of these packages. If the attribute is not defined then the default is all package names. The value of this attribute must be of typeList<String>
.- See Also:
-
CAPABILITY_LAZY_EXCLUDE_ATTRIBUTE
When thelazy
policy is used this attribute contains the package names that must not trigger the activation when a class is loaded of these packages. If the attribute is not defined then the default is no package names. The value of this attribute must be of typeList<String>
.- See Also:
-
CAPABILITY_ACTIVATOR
The capability attribute contains theactivator
for the providing module revision. The value of this attribute must be of typeString
. When not specified then the module revision has no activator.- See Also:
-
CAPABILITY_CLASSPATH
The capability attribute contains theclass path
for the providing module revision. The value of this attribute must be of typeList<String>
. When not specified the module revision uses the default class path of '.'.- See Also:
-
CAPABILITY_BUDDY_POLICY
The capability attribute contains the list buddy loading policies for the providing module revision as specified in the Eclipse-BuddyPolicy header. The value of this attribute must be of typeList<String>
.- See Also:
-
CAPABILITY_BUDDY_REGISTERED
The capability attribute contains the list of symbolic names the providing module revision is a registered buddy of as specified by the Eclipse-BuddyPolicy header. The value of this attribute must be of typeList<String>
.- See Also:
-
-
Constructor Details
-
EquinoxModuleDataNamespace
public EquinoxModuleDataNamespace()
-
LAZYSTART_HEADER