Class ComponentDescriptionDTO
- java.lang.Object
-
- org.osgi.dto.DTO
-
- biz.aQute.bnd.reporter.component.dto.ComponentDescriptionDTO
-
public class ComponentDescriptionDTO extends org.osgi.dto.DTOA representation of a declared component description.
-
-
Field Summary
Fields Modifier and Type Field Description java.lang.StringactivateThe name of the activate method.java.util.List<java.lang.String>configurationPidThe configuration pids.java.lang.StringconfigurationPolicyThe configuration policy.java.lang.StringdeactivateThe name of the deactivate method.booleandefaultEnabledThe initial enabled state.java.lang.StringfactoryThe component factory name.booleanimmediateThe immediate state.java.lang.StringimplementationClassThe fully qualified name of the implementation class.java.lang.StringmodifiedThe name of the modified method.java.lang.StringnameThe name of the component.java.util.Map<java.lang.String,TypedAttributeValueDTO>propertiesA map of the declared component properties.java.util.List<ReferenceDTO>referencesThe referenced services.java.lang.StringscopeThe service scope.java.util.List<java.lang.String>serviceInterfacesThe fully qualified names of the service interfaces.
-
Constructor Summary
Constructors Constructor Description ComponentDescriptionDTO()
-
-
-
Field Detail
-
name
public java.lang.String name
The name of the component.This is declared in the
nameattribute of thecomponentelement. This must be the default name if the component description does not declare a name.
-
factory
public java.lang.String factory
The component factory name.This is declared in the
factoryattribute of thecomponentelement. This must benullif the component description is not declared as a component factory.
-
scope
public java.lang.String scope
The service scope.This is declared in the
scopeattribute of theserviceelement. This must benullif the component description does not declare any service interfaces.
-
implementationClass
public java.lang.String implementationClass
The fully qualified name of the implementation class.This is declared in the
classattribute of theimplementationelement, Must not benull.
-
defaultEnabled
public boolean defaultEnabled
The initial enabled state.This is declared in the
enabledattribute of thecomponentelement. If it is not specified this field must be set to true.
-
immediate
public boolean immediate
The immediate state.This is declared in the
immediateattribute of thecomponentelement. If it is not specified this field must be set to the default value.
-
serviceInterfaces
public java.util.List<java.lang.String> serviceInterfaces
The fully qualified names of the service interfaces.These are declared in the
interfaceattribute of theprovideelements. This field must be empty if the component description does not declare any service interfaces.
-
properties
public java.util.Map<java.lang.String,TypedAttributeValueDTO> properties
A map of the declared component properties.These are declared in the
propertyandpropertieselements. This field must be empty if the component description does not declare any properties.
-
references
public java.util.List<ReferenceDTO> references
The referenced services.These are declared in the
referenceelements. This field must be empty if the component description does not declare references to any services.
-
activate
public java.lang.String activate
The name of the activate method.This is declared in the
activateattribute of thecomponentelement. This must benullif the component description does not declare an activate method name.
-
deactivate
public java.lang.String deactivate
The name of the deactivate method.This is declared in the
deactivateattribute of thecomponentelement. This must benullif the component description does not declare a deactivate method name.
-
modified
public java.lang.String modified
The name of the modified method.This is declared in the
modifiedattribute of thecomponentelement. This must benullif the component description does not declare a modified method name.
-
configurationPolicy
public java.lang.String configurationPolicy
The configuration policy.This is declared in the
configuration-policyattribute of thecomponentelement. This must be the "optional" configuration policy if the component description does not declare a configuration policy.
-
configurationPid
public java.util.List<java.lang.String> configurationPid
The configuration pids.These are declared in the
configuration-pidattribute of thecomponentelement. This must contain the default configuration pid if the component description does not declare a configuration pid.
-
-