@Component(value="agentConfigurationResource") public class AgentConfigurationResource extends Object implements org.springframework.beans.factory.InitializingBean
| Constructor and Description |
|---|
AgentConfigurationResource() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
javax.ws.rs.core.Response |
getAgentsJson(String filterName,
String serviceName) |
javax.ws.rs.core.Response |
getAgentsJsonWithExtension(String filterName,
String serviceName) |
javax.ws.rs.core.Response |
getAgentsJsonWithoutExtension(String filterName,
String serviceName) |
javax.ws.rs.core.Response |
getAgentsXml(String filterName,
String serviceName) |
javax.ws.rs.core.Response |
getAgentsXmlWithExtension(String filterName,
String serviceName) |
javax.ws.rs.core.Response |
getAgentsXmlWithoutExtension(String filterName,
String serviceName) |
protected List<AgentResponse> |
getResponses(String filterName,
String serviceName) |
void |
setAgentConfigFactory(SnmpAgentConfigFactory factory) |
void |
setCollectdConfigurationResource(ConfigurationResource<CollectdConfiguration> resource) |
void |
setFilterDao(FilterDao dao) |
void |
setMonitoredServiceDao(MonitoredServiceDao dao) |
public void setCollectdConfigurationResource(ConfigurationResource<CollectdConfiguration> resource)
public void setFilterDao(FilterDao dao)
public void setMonitoredServiceDao(MonitoredServiceDao dao)
public void setAgentConfigFactory(SnmpAgentConfigFactory factory)
public void afterPropertiesSet()
throws Exception
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanException@GET
@Path(value="{filterName}/{serviceName}.xml")
@Produces(value={"application/xml","application/atom+xml"})
public javax.ws.rs.core.Response getAgentsXmlWithExtension(@PathParam(value="filterName")
String filterName,
@PathParam(value="serviceName")
String serviceName)
throws ConfigurationResourceException
ConfigurationResourceException@GET
@Path(value="{filterName}/{serviceName}")
@Produces(value={"application/xml","application/atom+xml"})
public javax.ws.rs.core.Response getAgentsXmlWithoutExtension(@PathParam(value="filterName")
String filterName,
@PathParam(value="serviceName")
String serviceName)
throws ConfigurationResourceException
ConfigurationResourceExceptionpublic javax.ws.rs.core.Response getAgentsXml(String filterName, String serviceName) throws ConfigurationResourceException
ConfigurationResourceException@GET
@Path(value="{filterName}/{serviceName}.json")
@Produces(value="application/json")
public javax.ws.rs.core.Response getAgentsJsonWithExtension(@PathParam(value="filterName")
String filterName,
@PathParam(value="serviceName")
String serviceName)
throws ConfigurationResourceException
ConfigurationResourceException@GET
@Path(value="{filterName}/{serviceName}")
@Produces(value="application/json")
public javax.ws.rs.core.Response getAgentsJsonWithoutExtension(@PathParam(value="filterName")
String filterName,
@PathParam(value="serviceName")
String serviceName)
throws ConfigurationResourceException
ConfigurationResourceExceptionpublic javax.ws.rs.core.Response getAgentsJson(String filterName, String serviceName) throws ConfigurationResourceException
ConfigurationResourceExceptionprotected List<AgentResponse> getResponses(String filterName, String serviceName) throws ConfigurationResourceException
ConfigurationResourceExceptionCopyright © 2015. All rights reserved.