org.apache.catalina
public class ServerFactory extends java.lang.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.
Constructor and Description |
---|
ServerFactory() |
public static Server getServer()
Server
instance for this JVM.public static void setServer(Server theServer)
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.theServer
- The new singleton instanceCopyright © 2000-2014 Apache Software Foundation. All Rights Reserved.