use of org.opennms.core.utils.LazySet in project opennms by OpenNMS.
the class ResponseTimeResourceType method createResource.
private OnmsResource createResource(final String location, final OnmsIpInterface ipInterface, final String ipAddr, final ResourcePath path) {
final LazyResourceAttributeLoader loader = new LazyResourceAttributeLoader(m_resourceStorageDao, path);
final Set<OnmsAttribute> set = new LazySet<OnmsAttribute>(loader);
final OnmsResource resource = new OnmsResource(ipAddr, ipAddr, this, set, path);
resource.setEntity(ipInterface);
return resource;
}
Aggregations