[jboss-dev-forums] [JBoss AS7 Development] - Re: Weld-OSGi integration in AS7
Sahoo Sahoo
do-not-reply at jboss.com
Fri May 13 09:45:21 EDT 2011
Sahoo Sahoo [http://community.jboss.org/people/sahoo] created the discussion
"Re: Weld-OSGi integration in AS7"
To view the discussion, visit: http://community.jboss.org/message/605177#605177
--------------------------------------------------------------
It's good to see this being worked out here. In GlassFish project, we have developed a CDI portable extension that allows consumption of OSGi services from a WAB or other EE apps with OSGi bundle context. We have added a qualifier called org.glassfish.osgicdi.OSGiService which can be used like this:
@Inject @OSGiService
IntfA a;
An example is available at http://blogs.oracle.com/alexismp/entry/screencast_dynamic_osgi_services_using http://blogs.oracle.com/alexismp/entry/screencast_dynamic_osgi_services_using. The portable extension can be downloaded from our maven repo at
http://download.java.net/maven/glassfish/org/glassfish/fighterfish/osgi-cdi/1.0.0/osgi-cdi-1.0.0.jar http://download.java.net/maven/glassfish/org/glassfish/fighterfish/osgi-cdi/1.0.0/osgi-cdi-1.0.0.jar
I thought I showed this to Ales at OpenBlend.
Sahoo
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/605177#605177]
Start a new discussion in JBoss AS7 Development at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2225]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20110513/d87656c9/attachment.html
More information about the jboss-dev-forums
mailing list