Package org.opennms.netmgt.config.tester
Class ConfigTester
- java.lang.Object
-
- org.opennms.netmgt.config.tester.ConfigTester
-
- All Implemented Interfaces:
org.springframework.beans.factory.Aware
,org.springframework.context.ApplicationContextAware
public class ConfigTester extends java.lang.Object implements org.springframework.context.ApplicationContextAware
-
-
Constructor Summary
Constructors Constructor Description ConfigTester()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.context.ApplicationContext
getApplicationContext()
java.util.Map<java.lang.String,java.lang.String>
getConfigs()
static void
main(java.lang.String[] argv)
void
setApplicationContext(org.springframework.context.ApplicationContext context)
void
setConfigs(java.util.Map<java.lang.String,java.lang.String> configs)
void
testConfig(java.lang.String name, boolean ignoreUnknown)
-
-
-
Method Detail
-
getConfigs
public java.util.Map<java.lang.String,java.lang.String> getConfigs()
-
setConfigs
public void setConfigs(java.util.Map<java.lang.String,java.lang.String> configs)
-
getApplicationContext
public org.springframework.context.ApplicationContext getApplicationContext()
-
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext context) throws org.springframework.beans.BeansException
- Specified by:
setApplicationContext
in interfaceorg.springframework.context.ApplicationContextAware
- Throws:
org.springframework.beans.BeansException
-
testConfig
public void testConfig(java.lang.String name, boolean ignoreUnknown)
-
main
public static void main(java.lang.String[] argv)
-
-