public class PrimitiveInstanceDescription extends InstanceDescription
m_handlers, m_instance, m_type
Constructor and Description |
---|
PrimitiveInstanceDescription(ComponentTypeDescription type,
InstanceManager instance)
Creates a Primitive Instance Description.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String[] |
getCreatedObjects()
Gets the list of object created by the described instance.
|
DependencyDescription[] |
getDependencies()
Gets the instance service dependencies.
|
DependencyDescription |
getDependency(java.lang.String specification)
Gets the instance service dependency matching with the given service specification or id.
|
org.apache.felix.ipojo.metadata.Element |
getDescription()
Gets the instance description.
|
PropertyDescription[] |
getProperties()
Gets the instance properties.
|
ProvidedServiceDescription |
getProvidedService(java.lang.String specification)
Gets the instance provided service matching with the given service specification.
|
ProvidedServiceDescription[] |
getProvidedServices()
Gets the instance provided service.
|
addHandler, getBundleId, getComponentDescription, getHandlerDescription, getHandlers, getInstance, getName, getState, stateChanged
public PrimitiveInstanceDescription(ComponentTypeDescription type, InstanceManager instance)
type
- the component type descriptioninstance
- the instance descriptionpublic java.lang.String[] getCreatedObjects()
public DependencyDescription[] getDependencies()
public DependencyDescription getDependency(java.lang.String specification)
specification
- the service specification of the looked specification.null
is not found.
no dependencies.public ProvidedServiceDescription getProvidedService(java.lang.String specification)
specification
- the provided specification of the looked provided service.null
is not found.public ProvidedServiceDescription[] getProvidedServices()
public PropertyDescription[] getProperties()
public org.apache.felix.ipojo.metadata.Element getDescription()
getDescription
in class InstanceDescription
Copyright © 2006-2014 The Apache Software Foundation. All Rights Reserved.