|
||||||||||
| 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(BundleContext context,
Element description,
ProvidedServiceHandler psh,
String name)
Constructor. |
|
| Method Summary | |
|---|---|
protected void |
buildMapping()
Build the delegation mapping. |
protected Element |
buildMetadata(String name)
Build service implementation metadata. |
protected byte[] |
buildPOJO()
Build a service implementation. |
protected BundleContext |
getBundleContext()
|
List |
getFieldList()
Get the field list to use for the delegation. |
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(BundleContext context,
Element description,
ProvidedServiceHandler psh,
String name)
context - : bundle contextdescription - : 'provides' elementpsh - : parent handlername - : name of the composition.| Method Detail |
|---|
protected BundleContext getBundleContext()
public String getName()
public SpecificationMetadata getSpecificationMetadata()
protected void buildMapping()
throws CompositionException
CompositionException - : occurs when the mapping cannot be inferred correctlyprotected byte[] buildPOJO()
protected Element buildMetadata(String name)
name - : name of the future instance (used to avoid cycle)
public List getFieldList()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||