[JBoss JIRA] Created: (JBOSGI-58) Framework injection in SLSB
by Thomas Diesler (JIRA)
Framework injection in SLSB
---------------------------
Key: JBOSGI-58
URL: https://jira.jboss.org/jira/browse/JBOSGI-58
Project: JBossOSGi
Issue Type: Task
Security Level: Public (Everyone can see)
Components: Framework
Reporter: Thomas Diesler
Assignee: Thomas Diesler
Fix For: JBossOSGi 1.0.0 Beta1
I'm tring to access the OSGIFramework from my Stateless and I got this error:
Caused by: javax.management.InstanceNotFoundException: jboss.osgi:service=Framework is not registered.
at org.jboss.mx.server.registry.BasicMBeanRegistry.get(BasicMBeanRegistry.java:529)
at org.jboss.mx.server.MBeanServerImpl.getMBeanInfo(MBeanServerImpl.java:675)
at org.jboss.mx.util.MBeanProxyExt.init(MBeanProxyExt.java:407)
at org.jboss.mx.util.MBeanProxyExt.(MBeanProxyExt.java:99)
at org.jboss.mx.util.MBeanProxyExt.create(MBeanProxyExt.java:394)
at org.jboss.mx.util.MBeanProxyExt.create(MBeanProxyExt.java:349)
at org.jboss.injection.DependsFieldInjector.inject(DependsFieldInjector.java:66)
@Stateless
public class TestStatelessBean implements TestStatelessRemote
{
@Depends("jboss.osgi:service=Framework")
OSGiFramework framework;
@Override
public void test() throws NamingException
{
System.out.println(framework.getSystemBundle());
}
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 8 months
[JBoss JIRA] Created: (JBOSGI-55) Write an RHQ plugin for managing JBoss OSGi
by Thomas Diesler (JIRA)
Write an RHQ plugin for managing JBoss OSGi
-------------------------------------------
Key: JBOSGI-55
URL: https://jira.jboss.org/jira/browse/JBOSGI-55
Project: JBossOSGi
Issue Type: Task
Security Level: Public (Everyone can see)
Components: Productization
Reporter: Thomas Diesler
Fix For: JBossOSGi 1.0.x
Ian Springer says:
I think it would be great if we could write an RHQ plugin for managing JBoss OSGi. That would allow it to be managed using EmbJopr (i.e. an admin console webapp like the Felix one you have today) or Jopr/JON. Not only would we be eating our own dog food, but I think we'd end up with something a lot nicer than Felix with not a ton of work required. Please ping me or one of the other developers on the JON team if you'd like to discuss this some more. We'd be glad to help you get started writing a plugin.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 8 months
[JBoss JIRA] Created: (JBOSGI-141) Service integration with MC
by Thomas Diesler (JIRA)
Service integration with MC
---------------------------
Key: JBOSGI-141
URL: https://jira.jboss.org/jira/browse/JBOSGI-141
Project: JBoss OSGi
Issue Type: Task
Security Level: Public (Everyone can see)
Components: Core
Reporter: Thomas Diesler
Fix For: Framework 1.0.x
and vice versa.
* Service --> MC
The service layer is not so well integrated with the MC. It does just enough to
be "OSGi compliant" (of course that's not yet tested). So this is at the
moment very simple. The OSGiServiceState which should eventually turn into an MC context implementation
has two "facades", the standard ServiceRegistration and ServiceReference interfaces.
* MC --> Service
Services are also largely complete. What's missing is that we want to expose
MC pojos and JMX MBeans etc. as OSGi services.
The proper way to do this would be to push the OSGi Filter into kernel project
and use the MDR INSTANCE scope as the attributes.
There would be a gotcha in that OSGi expect attributes to have case insensitive names,
but we would only have to enforce that for OSGi created services.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 9 months