So the way to do that would be to register a notification listener
with the MBeanServerConnection on the client side, for example when starting up the
server. You could perhaps configure that with a system property or a META-INF/services
service.
And then have the notification listener in the client assemble things with
shrinkwrap and deploy those to the server