public class CompositionMetadata
extends java.lang.Object
Constructor and Description |
---|
CompositionMetadata(org.osgi.framework.BundleContext context,
org.apache.felix.ipojo.metadata.Element description,
ProvidedServiceHandler psh,
java.lang.String name)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected void |
buildMapping()
Build the delegation mapping.
|
protected org.apache.felix.ipojo.metadata.Element |
buildMetadata(java.lang.String name)
Build service implementation metadata.
|
protected byte[] |
buildPOJO()
Build a service implementation.
|
protected org.osgi.framework.BundleContext |
getBundleContext() |
java.util.List |
getFieldList()
Get the field list to use for the delegation.
|
java.lang.String |
getName() |
SpecificationMetadata |
getSpecificationMetadata() |
public CompositionMetadata(org.osgi.framework.BundleContext context, org.apache.felix.ipojo.metadata.Element description, ProvidedServiceHandler psh, java.lang.String name)
context
- : bundle contextdescription
- : 'provides' elementpsh
- : parent handlername
- : name of the composition.protected org.osgi.framework.BundleContext getBundleContext()
public java.lang.String getName()
public SpecificationMetadata getSpecificationMetadata()
protected void buildMapping() throws CompositionException
CompositionException
- : occurs when the mapping cannot be inferred correctlyprotected byte[] buildPOJO()
protected org.apache.felix.ipojo.metadata.Element buildMetadata(java.lang.String name)
name
- : name of the future instance (used to avoid cycle)public java.util.List getFieldList()
Copyright © 2006-2014 The Apache Software Foundation. All Rights Reserved.