Function
It keeps track of all deployed.war files in the deploy directory and displays them when you ask for it.
Also supports email (see source code for details; sendMail code taken from Bill Burke's code (JBoss source code))
Via the JMX console you can select JBossArtifactsOnly which will display (after Apply Changes) the deployed .war files build by JBoss Inc. only
Why
I created this MBean because sometimes you want to know which version you are using, and not all artifacts have a version number.
This little MBean (my first MBean project) does exactly that.
Perhaps it is usefull for you too.
Usage
When the manifestinspector-1.0.sar (located in target directory of the attached file) is successfully deployed inside JBoss...
Proceed Via the browser jmx-console
or/and
via the console (requires a local installation of JBoss)
$JBOSS_HOME/bin/twiddle invoke "Inspector:service=ManifestInspector,type=XMBean" packageInfo
Build
To build it, use Maven 1.0.2
Tested with
J2SE 1.4
J2SE 1.5
JBoss 4.0.2
Comments