@Documented @Retention(value=CLASS) @Target(value={TYPE,PACKAGE}) @Requirement(namespace="osgi.extender", name="osgi.cdi", version="1.0") public @interface RequireCDIExtender
Modifier and Type | Optional Element and Description |
---|---|
Class<?>[] |
beans
Specify OSGi Beans classes to be used by the CDI container.
|
String[] |
descriptor
Specify CDI bean descriptor file paths to be searched on the
Bundle-ClassPath . |
@Attribute public abstract String[] descriptor
Bundle-ClassPath
. For example:
@RequireCDIExtender(descriptor = "META-INF/beans.xml")
@Attribute public abstract Class<?>[] beans
@RequireCDIExtender(beans = {com.foo.BarImpl.class, com.foo.impl.BazImpl.class})
Copyright © Contributors to the Eclipse Foundation Licensed under the Eclipse Foundation Specification License – v1.0