Apr 19th, 2011, 02:39 PM
mbean export of dependency JAR
Is there a way to get the attributes of a dependency JAR that has been spring loaded to display with my parent project. For example, I create a:
@ManagedResource(objectName = "spring:name=Schedule")
With a few @ManagedAttributes that will all show under “spring/Schedule”.
I also have a JAR file named jar1 which is a dependency with its own @ManagedResource and @ManagedAttribute loaded as a spring bean yet they show under the full package name “com.abc”.
Is there a way to have jar1’s information show under “spring/Schedule” without modifying the JARs @ManagedResource attribute's objectName?