tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bill Barker" <wbar...@wilshire.com>
Subject Re: cvs commit: jakarta-tomcat-catalina/webapps/docs changelog.xml
Date Tue, 26 Jul 2005 17:01:01 GMT

----- Original Message -----
From: <remm@apache.org>
To: <jakarta-tomcat-catalina-cvs@apache.org>
Sent: Tuesday, July 26, 2005 5:45 AM
Subject: cvs commit: jakarta-tomcat-catalina/webapps/docs changelog.xml


> remm        2005/07/26 05:45:22
>
>   Modified:    catalina/src/share/org/apache/catalina/valves
ValveBase.java
>                         ErrorReportValve.java mbeans-descriptors.xml
>                catalina build.xml
>                webapps/docs changelog.xml
>   Added:       catalina/src/share/org/apache/catalina/valves
>                         SemaphoreValve.java
>   Log:
>   - Add a simple valve for concurrency control, with a conditional
compilation
>     flag.
>   - At the moment, this will not be shipped in the release (needs Java 5).
>   - Update changelog.
<snip/>
>       /**
>        * Create a new StandardHost component with the default basic Valve.
>        */
>       public SemaphoreValve() {
>           semaphore = new Semaphore(concurrency, fairness);
>       }
>

This happens before the setters get called (so only the default values are
possible).  You probably want to implement Lifecycle and create the
Semaphore in a Lifecycle method.




This message is intended only for the use of the person(s) listed above as the intended recipient(s),
and may contain information that is PRIVILEGED and CONFIDENTIAL.  If you are not an intended
recipient, you may not read, copy, or distribute this message or any attachment. If you received
this communication in error, please notify us immediately by e-mail and then delete all copies
of this message and any attachments.

In addition you should be aware that ordinary (unencrypted) e-mail sent through the Internet
is not secure. Do not send confidential or sensitive information, such as social security
numbers, account numbers, personal identification numbers and passwords, to us via ordinary
(unencrypted) e-mail.


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Mime
View raw message