Brooklyn

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

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

@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 HasShortName
getShortName
 
Methods inherited from interface JavaWebAppSoftwareProcess
deploy, undeploy
 
Methods inherited from interface Entity
addChild, addChild, addEnricher, addGroup, addOwnedChild, addPolicy, clearOwner, clearParent, getApplication, getApplicationId, getAttribute, getChildren, getConfig, getDisplayName, getEnrichers, getEntityType, getGroups, getId, getLocations, getOwnedChildren, getOwner, getParent, getPolicies, getRebindSupport, invoke, removeChild, removeEnricher, removeOwnedChild, removePolicy, setOwner, setParent
 
Methods inherited from interface Startable
restart, start, stop
 

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.