Hi Remy,

Remy Maucherat wrote:
[EMAIL PROTECTED] wrote:

luehe 2004/04/21 16:37:07

Modified: catalina/src/share/org/apache/catalina Manager.java
Log:
Expose more of the session management methods at the top-level Manager interface


This is not a good idea since:
- it changes the API (ok, it likely won't break any existing impl)
- AFAIK, the basic manager doesn't care about session expiration

the reason I wanted to expose these methods at the Manager level is that it makes using various session manager implementations more seamless, without having to cast to specific impl classes.

Also, this will "force" future manager impls to use consistent
method signatures and names (ie., use getExpiredSessions() vs.
getExpired() or something like that).

You're right that the basic manager does not care about expired
sessions, but that's why it is abstract.

If a particular manager impl does not care about expired sessions,
they can simply return zero. ;-)


Jan



--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to