public class ComponentDescriptionDTO extends DTO
| Modifier and Type | Field and Description | 
|---|---|
java.lang.String | 
activate
The name of the activate method. 
 | 
java.lang.String[] | 
activationFields
The activation fields. 
 | 
BundleDTO | 
bundle
The bundle declaring the component description. 
 | 
java.lang.String[] | 
configurationPid
The configuration pids. 
 | 
java.lang.String | 
configurationPolicy
The configuration policy. 
 | 
java.lang.String | 
deactivate
The name of the deactivate method. 
 | 
boolean | 
defaultEnabled
The initial enabled state. 
 | 
java.lang.String | 
factory
The component factory name. 
 | 
java.util.Map<java.lang.String,java.lang.Object> | 
factoryProperties
The factory properties. 
 | 
boolean | 
immediate
The immediate state. 
 | 
java.lang.String | 
implementationClass
The fully qualified name of the implementation class. 
 | 
int | 
init
The constructor parameter count. 
 | 
java.lang.String | 
modified
The name of the modified method. 
 | 
java.lang.String | 
name
The name of the component. 
 | 
java.util.Map<java.lang.String,java.lang.Object> | 
properties
The component properties. 
 | 
ReferenceDTO[] | 
references
The referenced services. 
 | 
java.lang.String | 
scope
The service scope. 
 | 
java.lang.String[] | 
serviceInterfaces
The fully qualified names of the service interfaces. 
 | 
| Constructor and Description | 
|---|
ComponentDescriptionDTO()  | 
public java.lang.String name
 This is declared in the name attribute of the component
 element. This must be the default name if the component description does
 not declare a name.
public BundleDTO bundle
public java.lang.String factory
 This is declared in the factory attribute of the
 component element. This must be null if the component
 description is not declared as a factory component.
public java.lang.String scope
 This is declared in the scope attribute of the service
 element. This must be null if the component description does not
 declare any service interfaces.
public java.lang.String implementationClass
 This is declared in the class attribute of the
 implementation element.
public boolean defaultEnabled
 This is declared in the enabled attribute of the
 component element.
public boolean immediate
 This is declared in the immediate attribute of the
 component element.
public java.lang.String[] serviceInterfaces
 These are declared in the interface attribute of the
 provide elements. The array must be empty if the component
 description does not declare any service interfaces.
public java.util.Map<java.lang.String,java.lang.Object> properties
 These are declared in the component description by the property
 and properties elements as well as the target attribute
 of the reference elements.
public ReferenceDTO[] references
 These are declared in the reference elements. The array must be
 empty if the component description does not declare references to any
 services.
public java.lang.String activate
 This is declared in the activate attribute of the
 component element. This must be null if the component
 description does not declare an activate method name.
public java.lang.String deactivate
 This is declared in the deactivate attribute of the
 component element. This must be null if the component
 description does not declare a deactivate method name.
public java.lang.String modified
 This is declared in the modified attribute of the
 component element. This must be null if the component
 description does not declare a modified method name.
public java.lang.String configurationPolicy
 This is declared in the configuration-policy attribute of the
 component element. This must be the default configuration policy
 if the component description does not declare a configuration policy.
public java.lang.String[] configurationPid
 These are declared in the configuration-pid attribute of the
 component element. This must contain the default configuration
 pid if the component description does not declare a configuration pid.
public java.util.Map<java.lang.String,java.lang.Object> factoryProperties
 These are declared in the component description by the
 factory-property and factory-properties elements. This
 must be null if the component description is not declared as a
 factory component.
public java.lang.String[] activationFields
 These are declared in the activation-fields attribute of the
 component element. The array must be empty if the component
 description does not declare any activation fields.
public int init
 This is declared in the init attribute of the component
 element. This must be 0 if the component description does not
 declare an init attribute.
Copyright © OSGi Alliance (2000, 2018). All Rights Reserved. Licensed under the OSGi Specification License, Version 2.0