com.atlassian.bamboo.agent.bootstrap
Class AgentBootstrap

java.lang.Object
  extended by 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.net.URL baseUrl
           
 
Constructor Summary
protected AgentBootstrap(java.net.URL baseUrl)
           
 
Method Summary
protected static void configureLogging()
           
protected  java.lang.String getFingerprintRequestSuffix()
           
protected  org.apache.commons.httpclient.HttpClient getHttpClient()
           
protected  java.net.URL getProxyBaseURL()
           
protected  boolean isHttpsBaseURL()
           
static void main(java.lang.String[] arguments)
           
protected  org.apache.commons.httpclient.HttpClient newHttpClient()
           
protected  void run(AgentType type)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

baseUrl

protected final java.net.URL baseUrl
Constructor Detail

AgentBootstrap

protected AgentBootstrap(java.net.URL baseUrl)
Method Detail

main

public static void main(java.lang.String[] arguments)
                 throws java.net.MalformedURLException
Throws:
java.net.MalformedURLException

configureLogging

protected static void configureLogging()

run

protected void run(AgentType type)

isHttpsBaseURL

protected boolean isHttpsBaseURL()

getProxyBaseURL

protected java.net.URL getProxyBaseURL()
                                throws java.net.MalformedURLException
Throws:
java.net.MalformedURLException

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.net.MalformedURLException
Throws:
java.net.MalformedURLException

getFingerprintRequestSuffix

protected java.lang.String getFingerprintRequestSuffix()


Copyright © 2013 Atlassian Software Systems Pty Ltd. All Rights Reserved.