i am currently developing some kind of framework (which is not important) which has to be integrated into jboss. now with this framework an application can use it, but has to add information into its deployment. in my case this is some information in an xml file.
now i wrote an mbean, which has to retrieve this information, but of course it should notice if a new application is deployed and check it, whether the appropriate xml file is present and then read and store the information.
does anyone, have any idea how i should approach this problem? i dont need a thorough explanation, but any idea is appreciated since i have no clue how i could approach this.
thnx to all readers and even more thnx to all replyers.
Look at the source for a custom deployer like the org.jboss.varia.deployment.BeanShellSubDeployer which is in the varia module of the source distribution as a starting point.