tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Remy Maucherat" <r...@apache.org>
Subject Re: cvs commit: jakarta-tomcat-4.0/catalina/src/share/org/apache/naming/factory MailSessionFactory.java ResourceFactory.java
Date Sat, 24 Mar 2001 20:53:26 GMT
> craigmcc    01/03/24 12:52:08
>
>   Modified:    catalina build.xml
>                catalina/src/share/org/apache/naming/factory
>                         ResourceFactory.java
>   Added:       catalina/src/share/org/apache/naming/factory
>                         MailSessionFactory.java
>   Log:
>   Add a naming context resource factory for javax.mail.Session resources
>   (compliant with J2EE requirements) so that web applications can look up
>   and utilize a preconfigured javax.mail.Session instance.  The resource
is
>   configured by creating <Resource> and <ResourceParams> elements nested
in
>   the <Context> or <DefaultContext> element in "conf/server.xml" -- the
>   example application will be updated to demonstrate this shortly.
>
>   NOTE:  the mechanism by which new object factories are registered needs
to
>   be generalized.

Why ? You just need to specify a factory parameter in the reference
parameters.

Remy


Mime
View raw message