users@glassfish.java.net

Re: How to call OSGI service from managed bean?

From: <forums_at_java.net>
Date: Mon, 23 Jan 2012 07:47:57 -0600 (CST)

Hi,

   I fixed the problem. I added "transient" in order to disable
serialization into the OSGI part.

@Inject @OSGiService(dynamic=true) transient SessionHandle hello;  

Problem is solved.


--
[Message sent by forum member 'rcbandit']
View Post: http://forums.java.net/node/882760