| Package | Description |
|---|---|
| org.rhq.enterprise.agent |
| Modifier and Type | Method and Description |
|---|---|
AgentConfiguration |
AgentMain.getConfiguration()
Returns the set of configuration preferences that the agent will use to configure things.
|
AgentConfiguration |
AgentMain.loadConfigurationFile(String file_name)
Loads the given configuration file into the agent.
|
AgentConfiguration |
AgentMain.loadConfigurationFile(String pref_node_name,
String file_name)
Same as
AgentMain.loadConfigurationFile(String) except this allows you to indicate which preferences node the
configuration is to be stored in. |
| Modifier and Type | Method and Description |
|---|---|
static AgentUtils.ServerEndpoint |
AgentUtils.getServerEndpoint(AgentConfiguration agentConfig,
String server)
Given a server string with an agent's configuration (used to obtain defaults), this will
return an object that contains information that can be used to communicate with the server
(such as its transport, hostname, port, etc).
|
void |
SecurityTokenCommandPreprocessor.setAgentConfiguration(AgentConfiguration config)
This method is called during the startup of the agent so this preprocessor knows where to find and persist the
token.
|
Copyright © 2008-2014 Red Hat, Inc.. All Rights Reserved.