Hi guys,
+1 for notifying a module when it is engaged. It allows the module to
put its configuration information in terms of policies in the
description classes (AxisServce .. etc) in the correct hierarchy. It
also allow the module to prevent a service being depolyed if it
requires functionalities which the module is incapable of providing.
One more suggestion .. Rather than adding three init(..) methods with
different signatures can't we add a single init(..) method which takes
a single type which should be the base class of AxisService,
AxisOperation .. etc. I suggest we do bit of refactoring and extract
this base class where we can put all the common logic like adding
policies ..etc.
Best,
Sanka
On 1/9/06, Deepal Jayasinghe <[EMAIL PROTECTED]> wrote:
>
> Hi all;
>
> when we engage a module to somewhere in the system (to system , to a service
> , to an operation) we are not going to inform module about that , but I
> think we need to allow module to add its policy , parameters and so on into
> corresponding descriptions. To support that I need to change Module
> interface. And I think we need to add following two methods into it and need
> to change its init method to take configurationconetext and
> ModuleDescription as arguments.
>
> Interface Module {
>
> void init(ConfigurationConetext configContext , ModuleDescriptoion
> moduledesc) throws AxisFault ;
>
> void engage(AxisService service) throws AxisFault ;
>
>
> void engage(AxisOperation operation) throws AxisFault ;
>
> }
>
>
>
>
>
> Thanks,
> Deepal
> ................................................................
> ~Future is Open~
>