Gang, I was a bit tired of the Http Facility so I moved on to looking at a Console facility. The idea is to allow for a telnet interface into Merlin's internals, so that we can do stuff like;
* Hot-deploy of blocks. * Reloading of containers with new classes * Check security settings. * Restart Merlin remotely. * Remote troubleshooting And what else we may come up with. Currently though, I have only implemented * List which threads are running. * Traversal of the model * List children in a 'node' of the model (like 'dir') * Print out the entire structure under a node. * Plus 'login', 'dummy', 'echo' and 'help' This can either be deployed as a normal facility, or inside the Kernel root container, which allows any part of the application container to be fully manipulated. The code so far exists in planet/facilities/console, and the interesting stuff is in the commands/ project. If you want to try, check out the code, and go to planet/facilities/console, and run; ant then start merlin; merlin blocks/default/target/deliverables/blocks/avalon-console-default-SNAPSHOT.block Login into it via telnet localhost 3333 and the password is yabadabadoo Cheers Niclas -- +------//-------------------+ / http://www.bali.ac / / http://niclas.hedhman.org / +------//-------------------+ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]