Is there a method of specifying customized actions to occur whenever a webapp is deployed? For example, say I have a class the represents a hot-pluggable action that can be made available to other running webapps when it is deployed, but in order to make it available to these other webapps it needs to be "registered" with the system, so what I'd like to do is have something that when a webapp is deployed, it searches through the archive for instances of these actions, and when it finds them it takes the proper steps to register them with the rest of the system. Can this be done, and if so, how?