Title: RE: Can a module use the bridge interface
Can't we make a wrapper for this so it works in the old call or a second call ? Using the getModule directly seems ugly compared
to the first call.
 
Daniel.
-----Oorspronkelijk bericht-----
Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]Namens Pierre van Rooden
Verzonden: vrijdag 27 juni 2003 12:59
Aan: 'Ronald Wildenberg '; ''[EMAIL PROTECTED]' '
Onderwerp: RE: Can a module use the bridge interface

An easier way:

mmb = (MMBase)getModule("MMBASEROOT", true);

By specifying 'true', you garantee the MMBase module is started after the call.
Becaus egetModule does not start other modules if they ahve already been loaded (that is, teh classes ahve been instantiated), you can safely use this from within another module to make sure MMBase got started.

Pierre

Reply via email to