public class TomcatServer extends Object implements Server
Server
implementation that wraps a Server
.Modifier and Type | Field and Description |
---|---|
protected TomcatFactoryRegistry |
registry |
protected org.apache.catalina.Server |
server |
Constructor and Description |
---|
TomcatServer(TomcatFactoryRegistry registry,
org.apache.catalina.Server server)
Constructs a new CatalinaServer wrapping the specified catalina server.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object object) |
Iterable<Engine> |
getEngines()
Returns the servlet engines associated with this server.
|
int |
hashCode() |
String |
toString() |
protected final TomcatFactoryRegistry registry
protected final org.apache.catalina.Server server
public TomcatServer(TomcatFactoryRegistry registry, org.apache.catalina.Server server)
server
- a catalina serverpublic Iterable<Engine> getEngines()
Server
getEngines
in interface Server
Copyright © 2023 JBoss by Red Hat. All rights reserved.