Package org.osgi.service.cdi
Class CDIConstants
- java.lang.Object
-
- org.osgi.service.cdi.CDIConstants
-
@ProviderType public class CDIConstants extends java.lang.ObjectDefines CDI constants.- Author:
- $Id: 0f43994d5060dc02db6c24efe600227d18a3ea02 $
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringCDI_CAPABILITY_NAMECapability name for CDI Integration.static java.lang.StringCDI_COMPONENT_NAMESpecial string representing the name of a Component.static java.lang.StringCDI_CONTAINER_IDThe attribute of the CDI extender requirement declaring the container's id.static java.lang.StringCDI_CONTAINER_ID_PROPERTYThe key used for the container id service property in services provided by CCR.static java.lang.StringCDI_EXTENSION_PROPERTYA service property applied tojavax.enterprise.inject.spi.Extensionservices, whose value is the name of the extension.static java.lang.StringCDI_SPECIFICATION_VERSIONCompile time constant for the Specification Version of CDI Integration.static java.lang.StringREQUIREMENT_BEANS_ATTRIBUTEThe 'beans' attribute on the CDI extender requirement.static java.lang.StringREQUIREMENT_DESCRIPTOR_ATTRIBUTEThe 'descriptor' attribute on the CDI extender requirement.
-
-
-
Field Detail
-
CDI_CAPABILITY_NAME
public static final java.lang.String CDI_CAPABILITY_NAME
Capability name for CDI Integration.Used in
Provide-CapabilityandRequire-Capabilitymanifest headers with theosgi.extendernamespace. For example:Require-Capability: osgi.extender; « filter:="(&(osgi.extender=osgi.cdi)(version>=1.0)(!(version>=2.0)))"
- See Also:
- Constant Field Values
-
CDI_COMPONENT_NAME
public static final java.lang.String CDI_COMPONENT_NAME
Special string representing the name of a Component.This string can be used with
PIDORfactory PIDto specify the name of the component.For example:
@PID(CDI_COMPONENT_NAME)
- See Also:
- Constant Field Values
-
CDI_CONTAINER_ID
public static final java.lang.String CDI_CONTAINER_ID
The attribute of the CDI extender requirement declaring the container's id.Require-Capability: osgi.extender; « filter:="(&(osgi.extender=osgi.cdi)(version>=1.0)(!(version>=2.0)))"; « container.id="my.container"
- See Also:
- Constant Field Values
-
CDI_CONTAINER_ID_PROPERTY
public static final java.lang.String CDI_CONTAINER_ID_PROPERTY
The key used for the container id service property in services provided by CCR.- See Also:
- Constant Field Values
-
CDI_EXTENSION_PROPERTY
public static final java.lang.String CDI_EXTENSION_PROPERTY
A service property applied tojavax.enterprise.inject.spi.Extensionservices, whose value is the name of the extension.- See Also:
- Constant Field Values
-
CDI_SPECIFICATION_VERSION
public static final java.lang.String CDI_SPECIFICATION_VERSION
Compile time constant for the Specification Version of CDI Integration.Used in
VersionandRequirementannotations. The value of this compile time constant will change when the specification version of CDI Integration is updated.- See Also:
- Constant Field Values
-
REQUIREMENT_DESCRIPTOR_ATTRIBUTE
public static final java.lang.String REQUIREMENT_DESCRIPTOR_ATTRIBUTE
The 'descriptor' attribute on the CDI extender requirement.The value of this attribute is a list of bean CDI bean descriptor file paths to be searched on the
Bundle-ClassPath. For example:Require-Capability: osgi.extender; « filter:="(&(osgi.extender=osgi.cdi)(version>=1.0)(!(version>=2.0)))"; « descriptor:List<String>="META-INF/beans.xml"
- See Also:
- Constant Field Values
-
REQUIREMENT_BEANS_ATTRIBUTE
public static final java.lang.String REQUIREMENT_BEANS_ATTRIBUTE
The 'beans' attribute on the CDI extender requirement.The value of this attribute is a list of bean class names that will be processed by CCR. The default value is an empty list. For example:
Require-Capability: osgi.extender; « filter:="(&(osgi.extender=osgi.cdi)(version>=1.0)(!(version>=2.0)))"; « beans:List<String>="com.acme.Foo,com.acme.bar.Baz"
- See Also:
- Constant Field Values
-
-