Brooklyn

brooklyn.entity.webapp.jetty
[Java] Class Jetty6ServerImpl

java.lang.Object
  brooklyn.entity.basic.AbstractEntity
      brooklyn.entity.basic.SoftwareProcessImpl
          brooklyn.entity.webapp.JavaWebAppSoftwareProcessImpl
              brooklyn.entity.webapp.jetty.Jetty6ServerImpl
All Implemented Interfaces:
Jetty6Server

public class Jetty6ServerImpl
extends JavaWebAppSoftwareProcessImpl

An Entity that represents a single Jetty instance.


Field Summary
 
Fields inherited from class SoftwareProcessImpl
connectedSensors
 
Fields inherited from class AbstractEntity
EFFECTOR_ADDED, EFFECTOR_CHANGED, EFFECTOR_REMOVED, LOG, POLICY_ADDED, POLICY_REMOVED, SENSOR_ADDED, SENSOR_REMOVED, _subscriptionTracker, managementSupport, tempWorkings
 
Method Summary
void connectSensors()

void deploy(java.lang.String url, java.lang.String targetName)

protected void disconnectSensors()

java.lang.Class getDriverInterface()

java.lang.String getShortName()

protected void restartIfRunning()

void undeploy(java.lang.String targetName)

void waitForServiceUp()

 
Methods inherited from class JavaWebAppSoftwareProcessImpl
connectSensors, deploy, deployInitialWars, doStop, getDriver, undeploy
 
Methods inherited from class SoftwareProcessImpl
callRebindHooks, callStartHooks, checkModifiable, connectSensors, connectServiceUpIsRunning, disconnectSensors, disconnectServiceUpIsRunning, doInitDriver, doRestart, doStart, doStop, getDriver, getLocalHostname, getMachineOrNull, getProvisioningFlags, getProvisioningLocation, getRequiredOpenPorts, newDriver, obtainProvisioningFlags, onManagementStarted, onManagementStarting, postDriverStart, postRebind, postStart, preStart, preStop, rebind, restart, setProvisioningLocation, start, startInLocation, startInLocation, startInLocation, startInLocation, stop, waitForEntityStart, waitForServiceUp, waitForServiceUp, waitForServiceUp, waitForServiceUp
 
Methods inherited from class AbstractEntity
addChild, addChild, addEnricher, addGroup, addLocations, addPolicy, clearLocations, clearParent, configure, configure, configure, configure, configure, configure, destroy, emit, emitInternal, equals, finalize, firstLocation, getAllAttributes, getAllConfig, getApplication, getApplicationId, getAttribute, getAttributeByNameParts, getChildren, getConfig, getConfig, getConfig, getConfig, getConfigMap, getCreationTime, getDisplayName, getEffector, getEnrichers, getEntityManager, getEntityType, getEntityTypeName, getExecutionContext, getGroups, getIconUrl, getId, getLocations, getManagementContext, getManagementSupport, getMutableEntityType, getParent, getPolicies, getProxy, getProxyIfAvailable, getRebindSupport, getSubscriptionContext, getSubscriptionTracker, hashCode, init, invalidateReferences, invoke, invoke, invoke, isLegacyConstruction, onManagementBecomingMaster, onManagementNoLongerMaster, onManagementStarted, onManagementStarting, onManagementStopped, refreshInheritedConfig, removeAllEnrichers, removeAllPolicies, removeAttribute, removeChild, removeEnricher, removeLocations, removePolicy, setApplication, setAttribute, setAttribute, setAttributeWithoutPublishing, setConfig, setConfig, setConfig, setConfig, setConfig, setConfig, setConfigEvenIfOwned, setConfigEvenIfOwned, setConfigIfValNonNull, setConfigIfValNonNull, setDisplayName, setManagementContext, setParent, setProxy, subscribe, subscribeToChildren, subscribeToMembers, toMetadataRecord, toString, toStringHelper, unsubscribe, unsubscribe
 

Method Detail

connectSensors

@Override
public void connectSensors()


deploy

super.deploy(url, targetName);
restartIfRunning();
public void deploy( java.lang.String url,  java.lang.String targetName)


disconnectSensors

if (jmxFeedMx != null) jmxFeedMx.stop();
protected void disconnectSensors()


getDriverInterface

public java.lang.Class getDriverInterface()


getShortName

public java.lang.String getShortName()


restartIfRunning

protected void restartIfRunning()


undeploy

}

public void undeploy( java.lang.String targetName)


waitForServiceUp

log.info("Waiting for {} up, via {}", this, jmxFeedJetty == null ? "" : jmxFeedJetty.getJmxUri());
public void waitForServiceUp()


 

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