jason.service.crusader
Class Crusader

java.lang.Object
  |
  +--jason.service.crusader.Crusader

public class Crusader
extends java.lang.Object

This is the main frame of the Crusader Servlet Engine. This class is responsible to co-ordinate all the Servlet related activity. This is the only point of interaction between the webserver and the Servlet Engine. This class is responsible to execute each Servlet in it's own thread. This is also the point from which the administrator can set Security policies and other administrative activities.
Author - Sanjay"Ironluca"Debnath Ironluca@yahoo.com
Last Modified - 04/05/2001


Field Summary
protected static GraphNode contextInfoRoot
          Contains the graph of data related to the ServletContext information - one node per context.
protected  ThreadPoolInt crusaderCorePool
          This contains the thread pool for the CrusaderCore.
protected static int DEFAULT_POOL_SIZE
          Contains the default thread pool size - 50.
 
Constructor Summary
Crusader()
          Default constructor calls the overloaded constructor with default pool size (50).
Crusader(int threadPoolSize)
          Overloaded constructor .
 
Method Summary
 void executeServlet(java.io.InputStream clientIStream, java.io.OutputStream clientOStream)
          This is the interface method which shall initiate the Servlet execution - the main server process should only use this method to initiate Servlet execution.
static GraphNode getContextInfoRoot()
          Returns the root of the graph that contains the ServletContext information.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_POOL_SIZE

protected static int DEFAULT_POOL_SIZE
Contains the default thread pool size - 50.


crusaderCorePool

protected ThreadPoolInt crusaderCorePool
This contains the thread pool for the CrusaderCore.


contextInfoRoot

protected static GraphNode contextInfoRoot
Contains the graph of data related to the ServletContext information - one node per context.

Constructor Detail

Crusader

public Crusader()
Default constructor calls the overloaded constructor with default pool size (50).


Crusader

public Crusader(int threadPoolSize)
Overloaded constructor .

Method Detail

getContextInfoRoot

public static GraphNode getContextInfoRoot()
Returns the root of the graph that contains the ServletContext information.


executeServlet

public void executeServlet(java.io.InputStream clientIStream,
                           java.io.OutputStream clientOStream)
This is the interface method which shall initiate the Servlet execution - the main server process should only use this method to initiate Servlet execution.