org.apache.catalina
public class ServerFactory extends Object
ServerFactory allows the registration of the
(singleton) Server
instance for this JVM, so that it
can be accessed independently of any existing reference to the
component hierarchy. This is important for administration tools
that are built around the internal component implementation classes.
Version: $Revision: 467222 $ $Date: 2006-10-24 05:17:11 +0200 (Tue, 24 Oct 2006) $
Method Summary | |
---|---|
static Server | getServer()
Return the singleton Server instance for this JVM. |
static void | setServer(Server theServer)
Set the singleton Server instance for this JVM. |
Server
instance for this JVM.Server
instance for this JVM. This
method must only be called from a constructor of
the (singleton) Server
instance that is created for
this execution of Catalina.
Parameters: theServer The new singleton instance