File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Other Application Frameworks and the fly likes Exporting beans as OSGI services Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Other Application Frameworks
Bookmark "Exporting beans as OSGI services" Watch "Exporting beans as OSGI services" New topic

Exporting beans as OSGI services

Soniya Chavan

Joined: May 10, 2010
Posts: 7
Hi All,

I wanted to export a bean as a OSGi service , so that this can be used in another bundle. But I get the below error. Please help.

SEVERE: Unable to create application context for [], unsatisfied dependencies: Dependency on [(] (from bean [&testManager])
org.springframework.context.ApplicationContextException: Application context initialization for '' has timed out waiting for (

The code is given below. Am I doing anything wrong?
Bundle 1 ( :
Bean declaration -

Declaring bean as OSGI service -

Bundle 2 (

Really appreciate any help.

I agree. Here's the link:
subject: Exporting beans as OSGI services
It's not a secret anymore!