|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.felix.ipojo.composite.service.provides.CompositionMetadata
public class CompositionMetadata
Check and build a composition, i.e. a POJO containing the composition.
Constructor Summary | |
---|---|
CompositionMetadata(org.osgi.framework.BundleContext context,
org.apache.felix.ipojo.metadata.Element description,
ProvidedServiceHandler psh,
java.lang.String name)
Constructor. |
Method Summary | |
---|---|
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()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
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.Method Detail |
---|
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()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |