System.out.println("###### ==> Run Job for resetting the demo data.");
ApplicationContext ctx = ApplicationContextProvider.getApplicationContext();
if (ctx != null && ctx.containsBean("userService")) {
NonWebRequestDBAction nonWebRequestDBAction = (NonWebRequestDBAction) ctx.getBean("nonWebRequestDBAction");
if (nonWebRequestDBAction != null) {
System.out.println("###### ==> Reset admin name/password.");
nonWebRequestDBAction.resetAdminPassword();
}
}
}