@Component @PerRequest @Scope(value="prototype") public class AccessPointRestService extends Object
REST service to the OpenNMS OnmsAccessPoint
data.
curl -v -X GET -u admin:admin http://localhost:8980/opennms/rest/accesspoints
Constructor and Description |
---|
AccessPointRestService() |
Modifier and Type | Method and Description |
---|---|
OnmsAccessPointCollection |
getAccessPoints()
getOutages
|
String |
getCount()
getCount
|
OnmsAccessPoint |
getOutage(String accessPointId)
getAccessPoint
|
protected void |
readLock() |
protected void |
readUnlock() |
protected void |
writeLock() |
protected void |
writeUnlock() |
@Transactional public OnmsAccessPoint getOutage(String accessPointId)
getAccessPoint
accessPointId
- a String
object.OnmsAccessPoint
object.@Transactional public OnmsAccessPointCollection getAccessPoints()
getOutages
OnmsOutageCollection
object.protected void readLock()
protected void readUnlock()
protected void writeLock()
protected void writeUnlock()
Copyright © 2015. All Rights Reserved.