Class ActivationTemplateDTO
- java.lang.Object
-
- org.osgi.dto.DTO
-
- org.osgi.service.cdi.runtime.dto.template.ActivationTemplateDTO
-
public class ActivationTemplateDTO extends org.osgi.dto.DTO
Activations represent either immediate instances or service objects produced by component instances.The content of this DTO is resolved form metadata at initialization time and remains the same between the CDI bundle restarts.
- Author:
- $Id: 9ef0a8b7c4ca25caa8b01d4b49adac4a5e3b7a1a $
-
-
Field Summary
Fields Modifier and Type Field Description java.util.Map<java.lang.String,java.lang.Object>
properties
The default properties for activations which represent container component services.ServiceScope
scope
TheServiceScope
of this activationjava.util.List<java.lang.String>
serviceClasses
Describes the set of fully qualified names of the interfaces/classes under which this activation will publish and OSGi service
-
Constructor Summary
Constructors Constructor Description ActivationTemplateDTO()
-
-
-
Field Detail
-
scope
public ServiceScope scope
TheServiceScope
of this activationMust not be
null
.
-
serviceClasses
public java.util.List<java.lang.String> serviceClasses
Describes the set of fully qualified names of the interfaces/classes under which this activation will publish and OSGi serviceMust not be
null
. An empty array indicated this activation will not publish an OSGi service
-
properties
public java.util.Map<java.lang.String,java.lang.Object> properties
The default properties for activations which represent container component services. This will never be populated for single or factory components.These are merged (and possibly replaced) with runtime properties.
Must not be
null
. May be empty if no default properties are provided.
-
-