org.opennms.netmgt.dao.support
Class PropertiesGraphDao
java.lang.Object
org.opennms.netmgt.dao.support.PropertiesGraphDao
- All Implemented Interfaces:
- GraphDao, org.springframework.beans.factory.InitializingBean
public class PropertiesGraphDao
- extends Object
- implements GraphDao, org.springframework.beans.factory.InitializingBean
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_GRAPH_LIST_KEY
public static final String DEFAULT_GRAPH_LIST_KEY
- See Also:
- Constant Field Values
PropertiesGraphDao
public PropertiesGraphDao()
findByName
public PrefabGraphType findByName(String name)
- Specified by:
findByName in interface GraphDao
findAdhocByName
public AdhocGraphType findAdhocByName(String name)
- Specified by:
findAdhocByName in interface GraphDao
loadProperties
public void loadProperties(String type,
org.springframework.core.io.Resource resource)
throws IOException
- Throws:
IOException
loadProperties
public void loadProperties(String type,
InputStream in)
throws IOException
- Throws:
IOException
loadAdhocProperties
public void loadAdhocProperties(String type,
org.springframework.core.io.Resource resource)
throws IOException
- Throws:
IOException
loadAdhocProperties
public void loadAdhocProperties(String type,
InputStream in)
throws IOException
- Throws:
IOException
createAdhocGraphType
public AdhocGraphType createAdhocGraphType(String type,
InputStream in)
throws IOException
- Throws:
IOException
getAllPrefabGraphs
public List<PrefabGraph> getAllPrefabGraphs()
- Specified by:
getAllPrefabGraphs in interface GraphDao
getPrefabGraph
public PrefabGraph getPrefabGraph(String name)
- Specified by:
getPrefabGraph in interface GraphDao
getPrefabGraphsForResource
public PrefabGraph[] getPrefabGraphsForResource(OnmsResource resource)
- Specified by:
getPrefabGraphsForResource in interface GraphDao
afterPropertiesSet
public void afterPropertiesSet()
throws IOException
- Specified by:
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
- Throws:
IOException
getAdhocConfigs
public Map<String,org.springframework.core.io.Resource> getAdhocConfigs()
setAdhocConfigs
public void setAdhocConfigs(Map<String,org.springframework.core.io.Resource> adhocConfigs)
getPrefabConfigs
public Map<String,org.springframework.core.io.Resource> getPrefabConfigs()
setPrefabConfigs
public void setPrefabConfigs(Map<String,org.springframework.core.io.Resource> prefabConfigs)
Copyright © 2009. All Rights Reserved.