com.atlassian.bamboo.agent.classserver
Class AgentServerManagerImpl

java.lang.Object
  extended by com.atlassian.bamboo.agent.classserver.AgentServerManagerImpl
All Implemented Interfaces:
AgentServerManager

public class AgentServerManagerImpl
extends java.lang.Object
implements AgentServerManager


Field Summary
 
Fields inherited from interface com.atlassian.bamboo.agent.classserver.AgentServerManager
BEAN_NAME
 
Constructor Summary
AgentServerManagerImpl(BootstrapManager bootstrapManager, java.util.Map<java.lang.Object,java.lang.Object> userProperties)
           
 
Method Summary
 java.lang.Class<? extends Agent> getAgentClass(java.lang.String agentType)
           
 java.lang.ClassLoader getClassLoader()
           
 java.lang.String getFingerprint()
          Unique indetifier for the server
 java.util.Map<java.lang.Object,java.lang.Object> getUserProperties()
           
 boolean isFingerprintValid(java.lang.String fingerprint)
          Returns true if finger print matches
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AgentServerManagerImpl

public AgentServerManagerImpl(BootstrapManager bootstrapManager,
                              java.util.Map<java.lang.Object,java.lang.Object> userProperties)
                       throws java.security.NoSuchAlgorithmException
Parameters:
userProperties - The user properties to be passed to remote agents, in String "key=value" form. available.
Throws:
java.security.NoSuchAlgorithmException
Method Detail

isFingerprintValid

public boolean isFingerprintValid(java.lang.String fingerprint)
Description copied from interface: AgentServerManager
Returns true if finger print matches

Specified by:
isFingerprintValid in interface AgentServerManager
Returns:

getClassLoader

public java.lang.ClassLoader getClassLoader()
Specified by:
getClassLoader in interface AgentServerManager

getFingerprint

public java.lang.String getFingerprint()
Description copied from interface: AgentServerManager
Unique indetifier for the server

Specified by:
getFingerprint in interface AgentServerManager
Returns:

getAgentClass

public java.lang.Class<? extends Agent> getAgentClass(java.lang.String agentType)
Specified by:
getAgentClass in interface AgentServerManager

getUserProperties

public java.util.Map<java.lang.Object,java.lang.Object> getUserProperties()
Specified by:
getUserProperties in interface AgentServerManager


Copyright © 2010 Atlassian. All Rights Reserved.