[16000] in Kerberos_V5_Development
RE: Plugin project proposal
daemon@ATHENA.MIT.EDU (Zhanna Tsitkova)
Thu Jul 15 17:33:21 2010
From: Zhanna Tsitkova <tsitkova@mit.edu>
To: Nicolas Williams <Nicolas.Williams@oracle.com>
Date: Thu, 15 Jul 2010 17:33:18 -0400
Message-ID: <8DD7AD829AB61E499A433D6E558110A302348A7E03@EXPO7.exchange.mit.edu>
In-Reply-To: <20100715174356.GG22556@oracle.com>
Content-Language: en-US
MIME-Version: 1.0
Cc: "krbdev@mit.edu" <krbdev@mit.edu>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: krbdev-bounces@mit.edu
Well, it is more about lower level design and may not be necessary in the first plugin framework implementation , but one approach comes to mind:
Based on configuration one can build dependency matrix.
Its rows and columns represent all desired plugin implementations, say, A B C D. Now, if A depends on B the location (A,B) gets the value 1, otherwise 0. And so on. The next step is to create a priority vector based on this matrix and pass it to the initializer.
Just an idea.
Thanks,
Zhanna
________________________________________
From: Nicolas Williams [Nicolas.Williams@oracle.com]
Sent: Thursday, July 15, 2010 1:43 PM
To: Zhanna Tsitkova
Cc: krbdev@mit.edu
Subject: Re: Plugin project proposal
On Thu, Jul 15, 2010 at 12:59:01PM -0400, Zhanna Tsitkova wrote:
> 4. 4. Notion of the plugin properties configuration attribute. It
> was introduced in the project to allow the administrator to pass some
> additional information to the plugin manager. For example, to be
> initialized, Plugin_A requires Plugin_B to be initialized first.
> Plugin manager now would arrange the proper init order or pass the
> desired parameters to the plugin module.
How is init order established?
Nico
--
_______________________________________________
krbdev mailing list krbdev@mit.edu
https://mailman.mit.edu/mailman/listinfo/krbdev