blob: 88f77847109934d66028c4cf103040e0be6015ac [file] [log] [blame]
<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Chapter&nbsp;1.&nbsp;Known Issues</title><link rel="stylesheet" type="text/css" href="css/html.css"><meta name="generator" content="DocBook XSL Stylesheets V1.79.1"><link rel="home" href="issues.html" title="Eclipse Gemini Blueprint"><link rel="up" href="issues.html" title="Eclipse Gemini Blueprint"><link rel="prev" href="preface.html" title="Preface"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="chapter"><div class="titlepage"><div><div><h1 class="title"><a name="known-issues"></a>Chapter&nbsp;1.&nbsp;Known Issues</h1></div></div></div>
<p>As a side note, it worth pointing out that the issues below are not really bugs but rather improvements.</p>
<div class="section"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="OSGI-237"></a>1.1.&nbsp;Publishing prototypes as OSGi services</h2></div></div></div>
<p>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.</p>
<p>See <a class="ulink" href="http://jira.springframework.org/browse/OSGI-237" target="_top">OSGI-237</a></p>
</div>
</div><div xmlns:fo="http://www.w3.org/1999/XSL/Format" class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="preface.html">Prev</a>&nbsp;</td><td width="20%" align="center"><a accesskey="h" href="issues.html">Home</a></td><td width="40%" align="right">&nbsp;</td></tr><tr><td width="40%" align="left" valign="top">Preface&nbsp;</td><td width="20%" align="center"><span style="color:white;font-size:90%;"><a href="http://www.SpringSource.com/" title="SpringSource - Spring from the Source">Sponsored by SpringSource
</a></span></td><td width="40%" align="right" valign="top">&nbsp;</td></tr></table></div></body></html>