Brooklyn

brooklyn.entity.webapp.tomcat
[Java] Interface TomcatServer

brooklyn.entity.java.UsesJmx
  brooklyn.entity.webapp.JavaWebAppSoftwareProcess
      brooklyn.entity.rebind.Rebindable
          brooklyn.entity.java.UsesJava
              brooklyn.entity.webapp.JavaWebAppService
                  brooklyn.entity.webapp.WebAppServiceConstants
                      brooklyn.entity.Entity
                          brooklyn.entity.basic.SoftwareProcess
                              brooklyn.entity.trait.HasShortName
                                  brooklyn.entity.webapp.WebAppService
                                      brooklyn.entity.webapp.tomcat.TomcatServer
                                          brooklyn.entity.trait.Startable
All Superinterfaces:
UsesJmx, JavaWebAppSoftwareProcess, Rebindable, UsesJava, JavaWebAppService, WebAppServiceConstants, Entity, SoftwareProcess, HasShortName, WebAppService, Startable

@Catalog(name="Tomcat Server", description="Apache Tomcat is an open source software implementation of the Java Servlet and JavaServer Pages technologies", iconUrl="classpath:///tomcat-logo.png")
@ImplementedBy(TomcatServerImpl.class)
public interface TomcatServer
extends HasShortName, JavaWebAppSoftwareProcess, UsesJmx

An Entity that represents a single Tomcat instance.


Nested Class Summary
class TomcatServer.Spec

 
Field Summary
BasicAttributeSensor CONNECTOR_STATUS

BasicAttributeSensorAndConfigKey DOWNLOAD_URL

BasicAttributeSensor JMX_SERVICE_URL

PortAttributeSensorAndConfigKey SHUTDOWN_PORT

Tomcat insists on having a port you can connect to for the sole purpose of shutting it down.

BasicConfigKey SUGGESTED_VERSION

 
Fields inherited from interface JavaWebAppSoftwareProcess
DEPLOY, DEPLOYED_WARS, UNDEPLOY
 
Fields inherited from interface UsesJmx
DEFAULT_JMX_PORT, JMX_CONTEXT, JMX_PORT, JMX_SSL_ACCESS_CERT, JMX_SSL_ACCESS_KEY, JMX_SSL_ENABLED, JMX_URL, RMI_PORT, RMI_REGISTRY_PORT, RMI_SERVER_PORT, USE_JMX
 
Fields inherited from interface UsesJava
JAVA_OPTIONS, JAVA_OPTS, JAVA_SYSPROPS
 
Method Summary
 
Methods inherited from interface JavaWebAppSoftwareProcess
deploy, undeploy
 
Methods inherited from interface HasShortName
getShortName
 

Field Detail

CONNECTOR_STATUS

public BasicAttributeSensor CONNECTOR_STATUS


DOWNLOAD_URL

@SetFromFlag("downloadUrl")
public BasicAttributeSensorAndConfigKey DOWNLOAD_URL


JMX_SERVICE_URL

public BasicAttributeSensor JMX_SERVICE_URL


SHUTDOWN_PORT

@SetFromFlag("shutdownPort")
public PortAttributeSensorAndConfigKey SHUTDOWN_PORT
Tomcat insists on having a port you can connect to for the sole purpose of shutting it down. Don't see an easy way to disable it; causes collisions in its out-of-the-box location of 8005, so override default here to a high-numbered port.


SUGGESTED_VERSION

@SetFromFlag("version")
public BasicConfigKey SUGGESTED_VERSION


 

Brooklyn Multi-Cloud Application Management Platform
brooklyncentral.github.com. Apache License. © 2012.