On Friday 27 June 2003 11:41 am, Rob van Maris wrote:
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] On Behalf Of Ronald Wildenberg
> >
> > My question is whether a module can use the bridge
> > interface or instead of this should use MMObjectBuilder
> > and related core classes.
>
> Yes, you can use the bridge interfaces here.
when mmbase is loaded a method setMMBase(MMBase mmbase) is called
I think that when this method is is called mmbase is "up" and running
but again if I look at the RemoteMMCI it does the same tric
ProcessorModule mmbase = (ProcessorModule)getModule("MMBASEROOT",true);
it's a same that the current cloud can get invalid (when security decides so)
otherwise we could add method to the Module interface that gives the module a
cloud/cloud context
I ofthen have this problem. If you use bridge code in a module you need to get a cloud
therefore you ofthen need to store a user/passwd
in you code :(
But there is one more problem when using bridge code. that is that the current bridge
does not allow to listen to node changes maybe we need to add some methods for that in
the bridge
>
> Personally, I would recommend to use the bridge API to implement custom
> functionality, whenever that�s possible. In some cases this is not
> possible or not practical, e.g. when subclassing core classes - like
> MMObjectBuilder.
>
> Rob van Maris
>
> Quantiq
> xmedia & communication solutions
> -------------------------------------------------------------
> Koninginneweg 11
> Hilversum, The Netherlands
> -------------------------------------------------------------
>
>
>
>
>
--
Kees Jongenburger
Mediapark C101 Hilversum
+31 (0)35 6772910