Hi,
Is it possible to use @EJB in JMX / MBean service?
public class HelloService implements HelloServiceMBean{
@EJB
private static Hello hello;
public void start() {
hello.sayHello()
}
}
I have check in JNDI view, and HelloBean is already registered.
And I have set the dependency of the HelloService to HelloBean in
jboss-service.xml.
somehow, the injection is not working. hello is always return null
Does anyone know the cause, I try to search in this forum regarding the issue,
and found nothing.
Thanks
Regards,
Ferry
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4076165#4076165
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4076165
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user