Interface AgentServerManager
-
- All Known Implementing Classes:
AgentServerManagerImpl
@Internal public interface AgentServerManager
Manages the interactions between the server and the agents
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Class<? extends Agent>
getAgentClass(String agentType, String agentBootstrapVersion)
ClassLoader
getClassLoader()
ServerFingerprint
getFingerprint()
Unique indetifier for the serverMap<String,String>
getUserProperties()
boolean
isServerFingerprintValid(@Nullable String serverFingerprint)
Returns true if finger print matches
-
-
-
Field Detail
-
BEAN_NAME
static final String BEAN_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
getFingerprint
ServerFingerprint getFingerprint()
Unique indetifier for the server- Returns:
- servers unique fingerprint
-
isServerFingerprintValid
boolean isServerFingerprintValid(@Nullable @Nullable String serverFingerprint)
Returns true if finger print matches- Parameters:
serverFingerprint
-- Returns:
- valid
-
getClassLoader
ClassLoader getClassLoader()
- Returns:
- the
ClassLoader
used to serve classes from
-
getAgentClass
Class<? extends Agent> getAgentClass(String agentType, String agentBootstrapVersion)
- Parameters:
agentType
-agentBootstrapVersion
-- Returns:
- the
Agent
boot class to load at fingerprint
-
-