Injecting Spring beans into MBeans from a -service.xml file?

Solution Verified - Updated -

Issue

I have several mbean services as *-service.xml files in my deploy.last directory. The actual classes for these services are inside an EAR. I am trying to autowire spring managed beans into the mbean service, but it does not seem those bean are injected.
How do we get it to inject Spring beans into our MBean services?

Environment

  • JBoss Enterprise Application Platform (EAP) 4.3

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.