>From what I can tell, code that used to do:<br><br>   manager.getInstanceByType(clazz) <br><br>now need to do:<br><br>   manager.getReference(manager.getBeans(clazz).iterator().next(),clazz);  <br><br>(plus checking that the set contains only one element and throwing an exception if not.)<br>
<br>Is that really true?  Is there no more direct way to obtain this in the SPI?  It seems like a pretty common case.  If not, I can have a utility method to do the above in the core, as many things don&#39;t cast to ManagerImpl, so I&#39;d rather not put it there.<br>
<br>-Clint<br><br clear="all"><br>-- <br>Clint Popetz<br><a href="http://42lines.net">http://42lines.net</a><br>Scalable Web Application Development<br>