Determine EAR name
===

Are there any ways to determine the name or EAR in runtime? 

    module.ear/lib/some.jar/com.example.MyClass

does this class possible to figure out that it packaged with **module.ear**?

I'm using JBoss7. Maybe it has some MBeans which can help to solve this task?