Hi

The framework logs the error and returns null from the 
BundleContext.getService(ServiceReference) call.

Also from the BundleContext.getService JavaDoc:

> Returns: A service object for the service associated with reference or null 
> if the service is not registered, the service object returned by a 
> ServiceFactory does not implement the classes under which it was registered 
> or the ServiceFactory threw an exception.


Regards
Felix

> Am 08.12.2014 um 14:58 schrieb Benson Margulies <ben...@basistech.com>:
> 
> If an ServiceFactory getService method throws a RuntimeException, how
> is the event routed?
> 
> Or, what's a reasonable way for such a method to complain, and how
> should an application be sensitive to such complaints?
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@felix.apache.org
> For additional commands, e-mail: users-h...@felix.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@felix.apache.org
For additional commands, e-mail: users-h...@felix.apache.org

Reply via email to