examples

Checkout Tools
  • last updated 23 mins ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Delete examples and cleanup the main pom file.
  1. … 1 more file in changeset.
Remove old property handler example

Added distributions to the main iPOJO reactor

  1. … 1 more file in changeset.
set svn ignore globally
  1. … 1676 more files in changeset.
Update versions of iPOJO in the examples
Replace ${pom.*} by ${project.*}
  1. … 48 more files in changeset.
Prepare the release process:

- revert to metadata 1.4

- apply fix for Felix-2268

- increase version number for the iPOJO exposed package, and imported packages (added by the manipulator)

  1. … 11 more files in changeset.
Fix issue FELIX-2052.

Call onCreation during the starting process of handlers

Migrate the asiPOJOBundle to tinybundle 2.0

  1. … 20 more files in changeset.
* Fix FELIX-1427

Service dependencies are not able to be injected as smart proxies (generated in bytecode). However the proxies ensure the service object set synchronization.

By default fields now receive proxies (default behavior can be set with the ipojo.depednency.proxy-enabled|disabled system property).

* Fix an interception bug on constructors

* Fix import / package packages of composites and temporal handler as now the core embeds ASM

* Add a classloading issue in the temporal dependencies (Bad classloader)

  1. … 56 more files in changeset.
Update versions.
    • -76
    • +76
    ./tutorial-maven/hello.client/pom.xml
    • -57
    • +57
    ./tutorial-maven/hello.service/pom.xml
    • -60
    • +60
    ./tutorial-maven/hello.impl/pom.xml
    • -77
    • +77
    ./property-handler/PropertyHandler/pom.xml
  1. … 45 more files in changeset.
Update dependencies to use iPOJO 1.3.0-SNAPSHOT
    • -4
    • +4
    ./property-handler/PropertyHandler/pom.xml
    • -1
    • +1
    ./tutorial-maven/hello.service/pom.xml
Move junit4osgi out of the 'examples'
  1. ./junit4osgi/junit4osgi/src/main/java/org/apache
  2. ./junit4osgi/junit4osgi/src/main/java/org
  3. ./junit4osgi/immediate-launcher/src/main/resources
  4. … 191 more files in changeset.
- Refactor instance descriptions to fit with the new introspection and reconfiguration API (instances will be reconfigurable directly from their instance description).

- Prepare the moving of junit4osgi (leave the example folder)

  1. … 38 more files in changeset.
- Change bundle symbolic name to avoid "org.apache.felix.org.apache.felix.ipojo..."

- Improve error handling in junit4osgi

- Support cobertura in junit4osgi

- Allow enable/disable the log service provided by the host in junit4osgi

- Fix a bug in the manipulation of construtors to support Cobertura. This issue comes the cobertura manipulation injecting code between the method entry and the super constructor call.

  1. … 11 more files in changeset.
Migrate the test suites to the new junit4osgi development model (use getContext() to get the bundle context instead of context).

Add <parent> in pom files

    • -1
    • +0
    ./junit4osgi/felix-command/metadata.xml
    • -1
    • +0
    ./junit4osgi/swing-runner/metadata.xml
    • -1
    • +5
    ./junit4osgi/immediate-launcher/pom.xml
  1. … 139 more files in changeset.
Several changes in the junit4osgi subproject (copy preparation)

Add LICENCE and NOTICE files

Add licence header

Format the code

The groupId is now org.apache.felix

    • -0
    • +18
    ./junit4osgi/junit4osgi/metadata.xml
    • -0
    • +17
    ./junit4osgi/swing-runner/NOTICE
    • -0
    • +202
    ./junit4osgi/felix-command/LICENSE
    • -0
    • +17
    ./junit4osgi/felix-command/NOTICE
  1. … 31 more files in changeset.
Add session to junit4osgi:

- services are automatically unget

- instances created with the iPOJO helper are automatically disposed

Add a log service implementation to the junit4osgi plugin to collected logged messages during test execution (as well as messages printed on System.out ans System.err).

    • -3
    • +1
    ./junit4osgi/maven-junit4osgi-plugin/pom.xml
  1. … 27 more files in changeset.
Move the junit4osgi maven plugin to the trunk
  1. ./junit4osgi/maven-junit4osgi-plugin/src/main/java
  2. … 3 more files in changeset.
Fix issue Felix-815.

Properties becomes optional by default.

Unvalued properties are not published with the service reference until they receive a value.

Setter methods are not called until properties receive a value

Injected values in fields follow standard Java initialization (null for object and arrays, 0 for numeric types, false for boolean).

Mandatory properties can be set with the 'mandatory' attribute (supported in XML and in the annotations).

The core.xsd XML Schema is also modified to add the new attribute.

This improvement allows removing default value in properties (such as in the architecture handlers).

Provides test about this new improvement

Fix issue Felix-816

The comparator attribute is now supported for any binding policy.

Provides test about using custom comparator with any binding policy

Fix issue Felix-817

Solve an issue in the ServiceExporter when a service in unregistered twice (throws an IllegalStateException since a recent modification of the Felix framework).

Fix issue Felix-818

Implement the ServiceReferenceImpl compareTo method (method added in OSGi R4.1). This method reuse the same implementation as the Felix framework ServiceReferenceImpl method.

Remove junit4osgi embedded tests

  1. … 64 more files in changeset.
Export the helper package of junit4osgi.

Add a test on Java 5 manipulation about generics (injection of typed lists).

  1. … 5 more files in changeset.
Remove dependencies on Java 5. The junit4osgi framework is now compatible with J2ME Foundation Profile 1.1
Modification of the NOTICE file:

The event admin , whiteboard pattern and extender pattern handler NOTICE file said that they 'include' OSGi software rather than 'use'

The OSGi copyright year was not correct, now the used copyright is : Copyright (c) OSGi Alliance (2000, 2007).

Improvement of Junit4OSGi:

Addition a Junit4OSGi iPOJO helper

The OSGiTestCase now contains OSGi-related method helping the writting tests.

  1. … 7 more files in changeset.
Prepares for next development iteration (1.1.0-SNAPSHOT)

Updates dependencies to target latest released version

Adds the compareTo method to ServiceReferenceImpl.java (required by the newest OSGi Core)

    • -2
    • +2
    ./tutorial-maven/hello.service/pom.xml
    • -5
    • +5
    ./property-handler/PropertyHandler/pom.xml
    • -5
    • +5
    ./junit4osgi/immediate-launcher/pom.xml
  1. … 42 more files in changeset.
Fix issue Felix-716

Provides XML-Schemas for core features (core handler, component, handler, instance), compositions, external handlers.

Modifies the manipulator in order to check schema when specified in the XML descriptor.

Tests suites now use schemas.

  1. … 28 more files in changeset.
Change the maven-bundle-plugin version to use the 1.4.2.

Add the <parent> element to the JMX handler and to the event admin handler pom files.

    • -1
    • +1
    ./tutorial-maven/hello.service/pom.xml
    • -1
    • +1
    ./property-handler/PropertyHandler/pom.xml
    • -1
    • +1
    ./junit4osgi/immediate-launcher/pom.xml
  1. … 33 more files in changeset.
Add a simple trace to indicate the test suite departure.
Modify version number to be 0.9.0-SNAPSHOT everywhere
    • -4
    • +4
    ./property-handler/PropertyHandler/pom.xml
    • -1
    • +1
    ./tutorial-maven/hello.service/pom.xml
    • -3
    • +3
    ./junit4osgi/immediate-launcher/pom.xml
  1. … 23 more files in changeset.
Change version number to be 0.8.0-SNAPSHOT

Add LICENCE and NOTICE files

    • -1
    • +1
    ./tutorial-maven/hello.service/pom.xml
    • -4
    • +4
    ./property-handler/PropertyHandler/pom.xml
    • -3
    • +3
    ./junit4osgi/immediate-launcher/pom.xml
  1. … 46 more files in changeset.
Remove the dependency on Java 5 from the Junit4OSGi framework.

Tests can now be run on Foundation (tested on J9)

Modify pom files to use correct version.

Add ManagedService management in the Configuration Handler (the PID of the Managed Service can be specified both in the component type or in the component instance configuration).

Add ManagedService tests in the test suite

    • -2
    • +2
    ./junit4osgi/immediate-launcher/pom.xml
    • -3
    • +3
    ./property-handler/PropertyHandler/pom.xml
  1. … 19 more files in changeset.
Add missing header in pom file.

Modify parent section of pom files to point on the felix pom file.

    • -6
    • +2
    ./junit4osgi/immediate-launcher/pom.xml
    • -6
    • +2
    ./property-handler/PropertyHandler/pom.xml
  1. … 15 more files in changeset.