From: Mark L. <ml...@ya...> - 2007-04-10 14:34:03
|
So I'm a little confused with why we use this pattern. Typically when writing modules that plug-in to a system you provide an API, which is what your abstract class would become, and make the module implement an interface. Then you use reflection to load up all the modules and call the proper methods when the time comes. This is how blue does plug-ins also. Is there a reason for this, or is it just the way nagios did it and we kept that pattern? -mark ----- Original Message ---- From: Rob Blake <rob...@gm...> To: "Blue, a java port of Nagios" <blu...@li...> Sent: Tuesday, April 10, 2007 7:44:21 AM Subject: Re: [Blue-devel] Blue Neb Module Interface. Further to this I've also added an abstract class, org.blue.nebmodules.BaseBlueNebModule, that can be used as a base from which to implement Blue NEBModules. It simplifies the process of registering your callbacks and deregistering your callbacks. Rob On 4/2/07, Rob Blake <rob...@ar...> wrote: All, I've added a BlueNebModule interface to the package org.blue.nebmodules. The interface defines the methods required of all Blue NEB Modules. This work is a pre-cursor to doing something similar to NDOUtils. Rob -- Registered Office: Floor A, Milburn House, Dean Street, Newcastle upon Tyne, NE1 1LE VAT Registration No: 764173128. Company registered in England Registration No: 4497081 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Blue-devel mailing list Blu...@li... https://lists.sourceforge.net/lists/listinfo/blue-devel ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Blue-devel mailing list Blu...@li... https://lists.sourceforge.net/lists/listinfo/blue-devel ____________________________________________________________________________________ Sucker-punch spam with award-winning protection. Try the free Yahoo! Mail Beta. http://advision.webevents.yahoo.com/mailbeta/features_spam.html |