com.atlassian.bamboo.agent.bootstrap
Class AgentBootstrap
java.lang.Object
com.atlassian.bamboo.agent.bootstrap.AgentBootstrap
- Direct Known Subclasses:
- ElasticAgentBootstrap
public class AgentBootstrap
- extends java.lang.Object
An entry point for a Java process that loads its classes and resources from a server.
The intent of this class is to allow an architecture of distributed agents that can be upgraded, in most cases,
by upgrading the server only.
Field Summary |
protected java.lang.String |
baseUrl
|
Constructor Summary |
protected |
AgentBootstrap(java.lang.String baseUrl)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
baseUrl
protected final java.lang.String baseUrl
AgentBootstrap
protected AgentBootstrap(java.lang.String baseUrl)
main
public static void main(java.lang.String[] arguments)
configureLogging
protected static void configureLogging()
run
protected void run(AgentBootstrapType type)
isHttpsBaseURL
protected boolean isHttpsBaseURL()
throws java.net.MalformedURLException
- Throws:
java.net.MalformedURLException
getProxyBaseURL
protected java.lang.String getProxyBaseURL()
throws java.net.MalformedURLException
- Throws:
java.net.MalformedURLException
getStartupTimeoutSeconds
protected int getStartupTimeoutSeconds()
getHttpClient
protected org.apache.commons.httpclient.HttpClient getHttpClient()
throws java.lang.ClassNotFoundException,
java.security.NoSuchAlgorithmException,
java.security.KeyManagementException,
java.net.MalformedURLException
- Throws:
java.lang.ClassNotFoundException
java.security.NoSuchAlgorithmException
java.security.KeyManagementException
java.net.MalformedURLException
newHttpClient
protected org.apache.commons.httpclient.HttpClient newHttpClient()
throws java.lang.ClassNotFoundException,
java.net.MalformedURLException
- Throws:
java.lang.ClassNotFoundException
java.net.MalformedURLException
getFingerprintRequestSuffix
protected java.lang.String getFingerprintRequestSuffix()
Copyright © 2012 Atlassian. All Rights Reserved.