Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Examples

XML Metadata

<?xml

version="1.0"

encoding="UTF-8"?>


<iPOJO>


<Component

className="fr.imag.adele.escoffier.hello.impl.HelloServiceImpl">

<Provides> <Property


<Provides>
<Property name="foo"

field="m_foo"/>


</Provides>

*


<Properties

configurable="true"/>

* * <Property


<Property name="foo"

field="m_foo"/>

* * <Property


<Property name="array"

field="my_array"/>

* * <Properties


<Properties name="hello.language"

type="java.lang.String"/>

*


</Properties>


</Component>


<instance

component="fr.imag.adele.escoffier.hello.impl.HelloServiceImpl"

name="HelloService">

*


<property

name="foo"

value="bar"/>

* *<property


<property name="array"

value="{1,

2,

3}"/>

* *<property


<property name="hello.language"

value="en"/>


</instance>


</iPOJO>

Panel
Wiki Markup

In the previous snippet, you can see three configurable properties. The first is a configurable property attached to the field foo that is a service property too. The second is an array property. The third property is a static property, in the sense that no field is attached to this property.

...