public class ComponentContainer extends Object
ComponentContainer
contains all relevant information
about a component:
- the class descriptor
- the component descriptor
- the service descriptor
- reference descriptors
- property descriptorsConstructor and Description |
---|
ComponentContainer(ClassDescription classDescription,
ComponentDescription componentDescription)
Create a new component container
|
Modifier and Type | Method and Description |
---|---|
ClassDescription |
getClassDescription()
Get the class description
|
ComponentDescription |
getComponentDescription()
Get the component description
|
MetatypeContainer |
getMetatypeContainer() |
Map<String,PropertyDescription> |
getProperties()
Get all properties.
|
Map<String,ReferenceDescription> |
getReferences()
Get all references.
|
ServiceDescription |
getServiceDescription()
Get the service description.
|
void |
setMetatypeContainer(MetatypeContainer ocd) |
void |
setServiceDescription(ServiceDescription serviceDescription)
Set the service description
|
String |
toString() |
public ComponentContainer(ClassDescription classDescription, ComponentDescription componentDescription)
classDescription
- Class descriptioncomponentDescription
- Component descriptionpublic ClassDescription getClassDescription()
public ComponentDescription getComponentDescription()
public Map<String,ReferenceDescription> getReferences()
public Map<String,PropertyDescription> getProperties()
public ServiceDescription getServiceDescription()
null
public void setServiceDescription(ServiceDescription serviceDescription)
serviceDescription
- The new service descriptionpublic MetatypeContainer getMetatypeContainer()
public void setMetatypeContainer(MetatypeContainer ocd)
Copyright © 2006–2015 The Apache Software Foundation. All rights reserved.