|
Brooklyn | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbrooklyn.entity.basic.AbstractSoftwareProcessDriver
brooklyn.entity.basic.AbstractSoftwareProcessSshDriver
brooklyn.entity.java.JavaSoftwareProcessSshDriver
brooklyn.entity.webapp.JavaWebAppSshDriver
brooklyn.entity.webapp.jboss.JBoss6SshDriver
public class JBoss6SshDriver extends JavaWebAppSshDriver
Field Summary | |
---|---|
static int |
DEFAULT_HTTP_PORT
|
static java.lang.String |
SERVER_TYPE
|
Fields inherited from class JavaSoftwareProcessSshDriver | |
---|---|
KEY_VAL_OPT_PREFIXES, MUTUALLY_EXCLUSIVE_OPTS, log |
Fields inherited from class AbstractSoftwareProcessSshDriver | |
---|---|
BROOKLYN_HOME_DIR, CHECK_RUNNING, CUSTOMIZING, DEFAULT_INSTALL_BASEDIR, DEFAULT_RUN_BASEDIR, IGNORE_ENTITY_SSH_FLAGS, INSTALLING, KILLING, LAUNCHING, NO_VERSION_INFO, PID_FILENAME, RESTARTING, STOPPING, USE_PID_FILE, log, logSsh |
Fields inherited from class AbstractSoftwareProcessDriver | |
---|---|
entity, location, resource |
Constructor Summary | |
JBoss6SshDriver(JBoss6ServerImpl entity, SshMachineLocation machine)
|
Method Summary | |
---|---|
void
|
customize()
|
protected java.lang.String
|
getBindAddress()
|
protected java.lang.String
|
getClusterName()
|
protected java.util.List
|
getCustomJavaConfigOptions()
|
protected java.util.Map
|
getCustomJavaSystemProperties()
|
protected java.lang.String
|
getDeploySubdir()
|
JBoss6ServerImpl
|
getEntity()
|
protected java.lang.String
|
getLogFileLocation()
|
protected java.lang.Integer
|
getPortIncrement()
|
java.util.Map
|
getShellEnvironment()
|
void
|
install()
|
boolean
|
isRunning()
|
void
|
kill()
|
void
|
launch()
|
void
|
postLaunch()
|
void
|
stop()
|
Methods inherited from class JavaWebAppSshDriver | |
---|---|
deploy, deploy, deploy, getDeployDir, getDeploySubdir, getEnabledProtocols, getEntity, getFilenameContextMapper, getHttpPort, getHttpsPort, getHttpsSslConfig, getSslKeyAlias, getSslKeystorePassword, getSslKeystoreUrl, inferRootUrl, isProtocolEnabled, postLaunch, undeploy |
Methods inherited from class AbstractSoftwareProcessDriver | |
---|---|
customize, doFullStartOnRestart, getEntity, getLocation, getResource, getResourceAsString, install, kill, launch, postLaunch, processTemplate, processTemplate, processTemplate, processTemplate, processTemplateContents, processTemplateContents, rebind, restart, start, stop, waitForConfigKey |
Field Detail |
---|
public static final int DEFAULT_HTTP_PORT
public static final java.lang.String SERVER_TYPE
Constructor Detail |
---|
public JBoss6SshDriver(JBoss6ServerImpl entity, SshMachineLocation machine)
Method Detail |
---|
format("cd %s/server", getRunDir()), public void customize()
protected java.lang.String getBindAddress()
protected java.lang.String getClusterName()
env.put("LAUNCH_JBOSS_IN_BACKGROUND", "1"); protected java.util.List getCustomJavaConfigOptions()
protected java.util.Map getCustomJavaSystemProperties()
protected java.lang.String getDeploySubdir()
@Override public JBoss6ServerImpl getEntity()
protected java.lang.String getLogFileLocation()
protected java.lang.Integer getPortIncrement()
options.put("java.util.logging.manager", "org.jboss.logmanager.LogManager"); public java.util.Map getShellEnvironment()
DownloadResolver resolver = entity.getManagementContext().getEntityDownloadsManager().newDownloader(this); public void install()
public boolean isRunning()
} public void kill()
public void launch()
entity.setAttribute(JBoss6Server.HTTP_PORT, DEFAULT_HTTP_PORT + getPortIncrement()); public void postLaunch()
flags.put("env", new LinkedHashMap()); public void stop()
Brooklyn Multi-Cloud Application Management Platform
brooklyncentral.github.com. Apache License. © 2012.