public class ComponentDescriptionDTO
extends org.osgi.dto.DTO
| Modifier and Type | Field and Description |
|---|---|
String |
activate
The name of the activate method.
|
List<String> |
configurationPid
The configuration pids.
|
String |
configurationPolicy
The configuration policy.
|
String |
deactivate
The name of the deactivate method.
|
boolean |
defaultEnabled
The initial enabled state.
|
String |
factory
The component factory name.
|
boolean |
immediate
The immediate state.
|
String |
implementationClass
The fully qualified name of the implementation class.
|
String |
modified
The name of the modified method.
|
String |
name
The name of the component.
|
Map<String,TypedAttributeValueDTO> |
properties
A map of the declared component properties.
|
List<ReferenceDTO> |
references
The referenced services.
|
String |
scope
The service scope.
|
List<String> |
serviceInterfaces
The fully qualified names of the service interfaces.
|
| Constructor and Description |
|---|
ComponentDescriptionDTO() |
public 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 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 component factory.
public 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 String implementationClass
This is declared in the class attribute of the
implementation element, Must not be null.
public boolean defaultEnabled
This is declared in the enabled attribute of the
component element. If it is not specified this field must be set
to true.
public boolean immediate
This is declared in the immediate attribute of the
component element. If it is not specified this field must be set
to the default value.
public List<String> serviceInterfaces
These are declared in the interface attribute of the
provide elements. This field must be empty if the component
description does not declare any service interfaces.
public Map<String,TypedAttributeValueDTO> properties
These are declared in the property and properties
elements. This field must be empty if the component description does not
declare any properties.
public List<ReferenceDTO> references
These are declared in the reference elements. This field must be
empty if the component description does not declare references to any
services.
public 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 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 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 String configurationPolicy
This is declared in the configuration-policy attribute of the
component element. This must be the "optional" configuration
policy if the component description does not declare a configuration
policy.
Copyright © 2021. All rights reserved.