The init method is synchronized - is there a particular reason for this ?
I looked at some other JetSpeed services, their init method was not
synchronized.

Best regards,

Thomas

Thomas Schaeck
IBM Pervasive Computing Division
Phone: +49-(0)7031-16-3479   Mobile: +49-(0)171-6928407   e-mail:
[EMAIL PROTECTED]   Fax: +49-(0)7031-16-4888
Address: IBM Deutschland Entwicklung GmbH, Schoenaicher Str. 220, 71032
Boeblingen, Germany


on 1/30/01 4:35 PM, "Java Apache CVS Development" <[EMAIL PROTECTED]> wrote:

> public synchronized void init( ServletConfig config )
> {
> +        //We have already been initialized...
> +        if( getInit() ) return;
> +
>

If you are using Turbine's Services, then this won't be needed as this
method will only be called if getInit() returns false.

-jon

--
Honk if you love peace and quiet.




--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/[email protected]/>
List Help?:          [EMAIL PROTECTED]






--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/[email protected]/>
List Help?:          [EMAIL PROTECTED]

Reply via email to