|
I would like to know if it is possible to
create a seperated module that gets loaded when tomcat starts.
I want to be able to use the inner workings of tomcat such as
running a servlet but not from within an application context. I would like to be
able
to have this module running autonomously to tomcat but within
the tomcat container.
I have seen that I might have provide some sort of an
interceptor, but is there a particular class that I would extend so that my own
class is
loaded by the server classloader, or some other
classloader.
I need to probably do the same thing for tomcat 4.1.x and this
seems a much more straight forward task. For this I would extend the
class
org.apache.catalina.LifecycleListener and put a <Listener
classname="someclass" /> tag element inside my web application
<context/> element.
This then meens that my own class is notified of when this
context is started and stopped.
It would be really great if there was something similar that I
could implement to use in tomcat 3.3.1.
Any help would be greatly appreciated.
Nathan.
|
-- To unsubscribe, e-mail: <mailto:tomcat-user-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>
