Search in sources :

Example 1 with ActiondConfigFactory

use of org.opennms.netmgt.config.ActiondConfigFactory in project opennms by OpenNMS.

the class Actiond method init.

/**
     * <p>init</p>
     */
@Override
public void init() {
    try {
        ActiondConfigFactory.init();
    } catch (Throwable e) {
        throw new UndeclaredThrowableException(e);
    }
    ActiondConfigFactory actiondConfig = ActiondConfigFactory.getInstance();
    org.opennms.netmgt.actiond.Actiond actiond = org.opennms.netmgt.actiond.Actiond.getInstance();
    actiond.setActiondConfig(actiondConfig);
    actiond.init();
}
Also used : UndeclaredThrowableException(java.lang.reflect.UndeclaredThrowableException) ActiondConfigFactory(org.opennms.netmgt.config.ActiondConfigFactory)

Aggregations

UndeclaredThrowableException (java.lang.reflect.UndeclaredThrowableException)1 ActiondConfigFactory (org.opennms.netmgt.config.ActiondConfigFactory)1