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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content