Class TomcatServer

java.lang.Object
org.jboss.modcluster.container.tomcat.TomcatServer
All Implemented Interfaces:
Server

public class TomcatServer extends Object implements Server
Server implementation that wraps a Server.
Author:
Paul Ferraro
  • Field Details

    • registry

      protected final TomcatRegistry registry
    • server

      protected final org.apache.catalina.Server server
  • Constructor Details

    • TomcatServer

      public TomcatServer(TomcatRegistry registry, org.apache.catalina.Server server)
      Constructs a new Server wrapping the specified catalina server.
      Parameters:
      server - a catalina server
  • Method Details

    • getEngines

      public Iterable<Engine> getEngines()
      Description copied from interface: Server
      Returns the servlet engines associated with this server.
      Specified by:
      getEngines in interface Server
      Returns:
      the server's engines
    • equals

      public boolean equals(Object object)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object