org.apache.catalina.core
public class StandardEngine extends ContainerBase implements Engine
Version: $Revision: 467222 $ $Date: 2006-10-24 05:17:11 +0200 (Tue, 24 Oct 2006) $
| Constructor Summary | |
|---|---|
| StandardEngine()
Create a new StandardEngine component with the default basic Valve. | |
| Method Summary | |
|---|---|
| void | addChild(Container child)
Add a child Container, only if the proposed child is an implementation
of Host.
|
| ObjectName | createObjectName(String domain, ObjectName parent) |
| void | destroy() |
| String | getBaseDir() |
| String | getDefaultHost()
Return the default host. |
| String | getDomain() |
| String | getInfo()
Return descriptive information about this Container implementation and
the corresponding version number, in the format
<description>/<version>. |
| String | getJvmRoute()
Retrieve the cluster-wide unique identifier for this Engine.
|
| String | getMbeansFile() |
| ObjectName | getParentName() |
| Realm | getRealm() Provide a default in case no explicit configuration is set
|
| Service | getService()
Return the Service with which we are associated (if any). |
| void | init() |
| ObjectName | preRegister(MBeanServer server, ObjectName name) |
| void | setBaseDir(String baseDir) |
| void | setDefaultHost(String host)
Set the default host.
|
| void | setDomain(String domain) |
| void | setJvmRoute(String routeId)
Set the cluster-wide unique identifier for this Engine.
|
| void | setMbeansFile(String mbeansFile) |
| void | setName(String name) |
| void | setParent(Container container)
Disallow any attempt to set a parent for this Container, since an
Engine is supposed to be at the top of the Container hierarchy.
|
| void | setService(Service service)
Set the Service with which we are associated (if any).
|
| void | start()
Start this Engine component.
|
| void | stop() |
| String | toString()
Return a String representation of this component. |
Parameters: child Child container to be added
<description>/<version>.Returns: configured realm, or a JAAS realm by default
Service with which we are associated (if any).Parameters: host The new default host
This property should not be changed once it is set.
Parameters: container Proposed parent Container
Service with which we are associated (if any).
Parameters: service The service that owns this Engine
Throws: LifecycleException if a startup error occurs