Hi,
I am trying to understand how Catalina works.

I understand that the first file called is the
org.apache.catalina.startup.Bootstrap that loads all
necessary classes. After the loading and instantiating
the org.apache.catalina.startup.Catalina object, it
then invokes the process() method of the Catalina
object.

In the Catalina class, the process() method calls
execute() which in turns calls start(). Now here is
where I started to get confused.

The start() method begins with

XmlMapper mapper = createStartMapper();

and then, after if (System.getSecurityManager() !=
null) {
  ...
}

if (server instanceof Lifecycle) {
  ...
}

When does 'server' get instantiated? Wouldn't it throw
a Null exception?

What does the XmlMapper actually do when you call the
addRule method?

Any help appreciated.

Thanks,
steve

__________________________________________________
Do You Yahoo!?
Yahoo! Greetings - Send FREE e-cards for every occasion!
http://greetings.yahoo.com

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

Reply via email to