tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Torgeir Veimo <torg...@vertech.no>
Subject context factories
Date Tue, 03 Apr 2001 10:04:57 GMT
I've read in a post by Remy with subject: "Re: <ejb-ref> <ejb-link>
Implementation in 4.0.b1",
http://w4.metronet.com/~wjm/tomcat/2001/Mar/msg00273.html that the only
two factories supported in tomcat right now is one for getting Tyrex
managed data sources & User Transactions.

I'm interested in getting a resource factory that I've created myself to
reuse jndi context's to an LDAP database that is used for authentication
& more.

I've created a ContextPool that handles this, and I want to retrieve
this with initCtx.lookup("java:comp/env/jndi/ContextPool");

How do I create and add the necessary resource factory? Should I modify
org.apache.naming.factroy.ResourceFactory.java ?

Any hints appreciated.


-- 
- Torgeir

Mime
View raw message