Package org.opennms.web.rest.v1.config
Class AgentConfigurationResource
- java.lang.Object
-
- org.opennms.web.rest.v1.config.AgentConfigurationResource
-
- All Implemented Interfaces:
org.springframework.beans.factory.InitializingBean
@Component("agentConfigurationResource") public class AgentConfigurationResource extends java.lang.Object implements org.springframework.beans.factory.InitializingBean
-
-
Constructor Summary
Constructors Constructor Description AgentConfigurationResource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
afterPropertiesSet()
javax.ws.rs.core.Response
getAgentsJson(java.lang.String filterName, java.lang.String serviceName)
javax.ws.rs.core.Response
getAgentsJsonWithExtension(java.lang.String filterName, java.lang.String serviceName)
javax.ws.rs.core.Response
getAgentsJsonWithoutExtension(java.lang.String filterName, java.lang.String serviceName)
javax.ws.rs.core.Response
getAgentsXml(java.lang.String filterName, java.lang.String serviceName)
javax.ws.rs.core.Response
getAgentsXmlWithExtension(java.lang.String filterName, java.lang.String serviceName)
javax.ws.rs.core.Response
getAgentsXmlWithoutExtension(java.lang.String filterName, java.lang.String serviceName)
protected java.util.List<AgentResponse>
getResponses(java.lang.String filterName, java.lang.String serviceName)
void
setAgentConfigFactory(SnmpAgentConfigFactory factory)
void
setCollectdConfigurationResource(ConfigurationResource<CollectdConfiguration> resource)
void
setFilterDao(FilterDao dao)
void
setMonitoredServiceDao(MonitoredServiceDao dao)
-
-
-
Method Detail
-
setCollectdConfigurationResource
public void setCollectdConfigurationResource(ConfigurationResource<CollectdConfiguration> resource)
-
setFilterDao
public void setFilterDao(FilterDao dao)
-
setMonitoredServiceDao
public void setMonitoredServiceDao(MonitoredServiceDao dao)
-
setAgentConfigFactory
public void setAgentConfigFactory(SnmpAgentConfigFactory factory)
-
afterPropertiesSet
public void afterPropertiesSet() throws java.lang.Exception
- Specified by:
afterPropertiesSet
in interfaceorg.springframework.beans.factory.InitializingBean
- Throws:
java.lang.Exception
-
getAgentsXmlWithExtension
public javax.ws.rs.core.Response getAgentsXmlWithExtension(java.lang.String filterName, java.lang.String serviceName) throws ConfigurationResourceException
- Throws:
ConfigurationResourceException
-
getAgentsXmlWithoutExtension
public javax.ws.rs.core.Response getAgentsXmlWithoutExtension(java.lang.String filterName, java.lang.String serviceName) throws ConfigurationResourceException
- Throws:
ConfigurationResourceException
-
getAgentsXml
public javax.ws.rs.core.Response getAgentsXml(java.lang.String filterName, java.lang.String serviceName) throws ConfigurationResourceException
- Throws:
ConfigurationResourceException
-
getAgentsJsonWithExtension
public javax.ws.rs.core.Response getAgentsJsonWithExtension(java.lang.String filterName, java.lang.String serviceName) throws ConfigurationResourceException
- Throws:
ConfigurationResourceException
-
getAgentsJsonWithoutExtension
public javax.ws.rs.core.Response getAgentsJsonWithoutExtension(java.lang.String filterName, java.lang.String serviceName) throws ConfigurationResourceException
- Throws:
ConfigurationResourceException
-
getAgentsJson
public javax.ws.rs.core.Response getAgentsJson(java.lang.String filterName, java.lang.String serviceName) throws ConfigurationResourceException
- Throws:
ConfigurationResourceException
-
getResponses
protected java.util.List<AgentResponse> getResponses(java.lang.String filterName, java.lang.String serviceName) throws ConfigurationResourceException
- Throws:
ConfigurationResourceException
-
-