Brooklyn

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

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

@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

@deprecated since v0.6.0 as does nothing beyond BasicEntitySpec

 
Field Summary
AttributeSensor CONNECTOR_STATUS

BasicAttributeSensorAndConfigKey DOWNLOAD_URL

AttributeSensor JMX_SERVICE_URL

PortAttributeSensorAndConfigKey SHUTDOWN_PORT

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

ConfigKey START_TIMEOUT

ConfigKey SUGGESTED_VERSION

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

Field Detail

CONNECTOR_STATUS

public AttributeSensor CONNECTOR_STATUS


DOWNLOAD_URL

@SetFromFlag("downloadUrl")
public BasicAttributeSensorAndConfigKey DOWNLOAD_URL


JMX_SERVICE_URL

public AttributeSensor 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.


START_TIMEOUT

public ConfigKey START_TIMEOUT


SUGGESTED_VERSION

@SetFromFlag("version")
public ConfigKey SUGGESTED_VERSION


 

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