public class AgentBootstrap extends 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.
Modifier and Type | Field and Description |
---|---|
protected URL |
declaredEndpointForAgents |
protected String |
securityToken |
Modifier | Constructor and Description |
---|---|
protected |
AgentBootstrap(URL serverEndpointForAgents,
String securityToken) |
Modifier and Type | Method and Description |
---|---|
protected static void |
configureLogging() |
protected AgentContext |
createAgentContext(AgentType type,
URL endpointForAgents) |
protected URL |
getDeclaredEndpointForAgents() |
protected String |
getFingerprintRequestSuffix() |
protected URL |
getReachableEndpointForAgents() |
protected SchemeRegistryFactory |
getSchemeRegistryDataFactory(SchemeRegistryFactory remoteAgentSchemeRegistryFactory) |
protected boolean |
isHttpsBaseURL() |
static void |
main(String[] arguments) |
RemoteAgentHttpClientFactory |
newHttpClientFactory() |
protected void |
run(AgentType type) |
protected void |
setHttpClientFactoryParamaters(RemoteAgentHttpClientFactory remoteAgentHttpClientFactory) |
protected final URL declaredEndpointForAgents
@Nullable protected final String securityToken
protected static void configureLogging()
protected AgentContext createAgentContext(AgentType type, URL endpointForAgents) throws MalformedURLException
MalformedURLException
protected void run(AgentType type)
public RemoteAgentHttpClientFactory newHttpClientFactory()
protected void setHttpClientFactoryParamaters(RemoteAgentHttpClientFactory remoteAgentHttpClientFactory)
protected boolean isHttpsBaseURL()
protected final URL getDeclaredEndpointForAgents()
protected URL getReachableEndpointForAgents()
protected SchemeRegistryFactory getSchemeRegistryDataFactory(SchemeRegistryFactory remoteAgentSchemeRegistryFactory)
protected String getFingerprintRequestSuffix()
Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.