Eclipse Gemini Blueprint

Known Issues

Authors

Costin Leau (SpringSource, division of VMware)

Documentation made available under the terms of the Eclipse Public License v1.0 and Apache License v2.0 which accompanies this distribution. The Eclipse Public License is available at http://www.eclipse.org/legal/epl-v10.html and the Apache License v2.0 is available at http://www.opensource.org/licenses/apache2.0.php. You may elect to redistribute this code under either of these licenses.


Preface
1. Known Issues
1.1. Publishing prototypes as OSGi services

Preface

This document describes known issues (and possible work-arounds). Each issue mentions the section of the reference documentation that explain the behaviour along with the associated Bugzilla entry which provides an estimate on when it will be solved. As a rule, the next Gemini Blueprint release aims to solve most, if not all of them.

Chapter 1. Known Issues

As a side note, it worth pointing out that the issues below are not really bugs but rather improvements.

1.1. Publishing prototypes as OSGi services

Due to the way OSGi platform deals with OSGi services (it caches the instance and returns it every time), prototypes are not fully supported. Spring DM publishes a proxy that on each call, delegates back to the target application context for retrieving the instance. While with other beans this works, in case of prototypes, this results in one-instance-per-invocation which is incorrect. Additional functionality needs to be added to fully support prototypes even though, as pointed out, this involves a knowledge between Client/Server regarding the publication contract.

See OSGI-237