org.apache.felix.ipojo.composite
Class CompositeInstanceDescription

java.lang.Object
  extended by org.apache.felix.ipojo.architecture.InstanceDescription
      extended by org.apache.felix.ipojo.composite.CompositeInstanceDescription
All Implemented Interfaces:
InstanceStateListener

public class CompositeInstanceDescription
extends InstanceDescription

Composite Instance Description.

Author:
Felix Project Team

Field Summary
 
Fields inherited from class org.apache.felix.ipojo.architecture.InstanceDescription
m_handlers, m_instance, m_type
 
Constructor Summary
CompositeInstanceDescription(ComponentTypeDescription type, CompositeManager instance)
          Creates a Primitive Instance Description.
 
Method Summary
 InstanceDescription[] getContainedInstances()
          Gets the list of contained instance in the describe instance.
 Element getDescription()
          Gets the instance description.
 Element getInternalServices()
          Gets the list of internally published services.
 
Methods inherited from class org.apache.felix.ipojo.architecture.InstanceDescription
addHandler, getBundleId, getComponentDescription, getHandlerDescription, getHandlers, getName, getState, stateChanged
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CompositeInstanceDescription

public CompositeInstanceDescription(ComponentTypeDescription type,
                                    CompositeManager instance)
Creates a Primitive Instance Description.

Parameters:
type - the component type description
instance - the instance description
Method Detail

getContainedInstances

public InstanceDescription[] getContainedInstances()
Gets the list of contained instance in the describe instance. This list contains only instances who exposed their architecture.

Returns:
the list of contained instances.

getInternalServices

public Element getInternalServices()
Gets the list of internally published services.

Returns:
the list of published services.

getDescription

public Element getDescription()
Gets the instance description. Overridden to add created objects.

Overrides:
getDescription in class InstanceDescription
Returns:
the instance description


Copyright © 2013 The Apache Software Foundation. All Rights Reserved.