Class<?> c = Class.forName(getCommentConfirmationStrategyName());
commentConfirmationStrategy = instantiate(c.asSubclass(CommentConfirmationStrategy.class));
} catch (Exception e) {
error("Could not load comment confirmation strategy \"" + getCommentConfirmationStrategyName() + "\"");
e.printStackTrace();
commentConfirmationStrategy = new DefaultConfirmationStrategy();
}
try {
Class<?> c = Class.forName(getTrackBackConfirmationStrategyName());
trackBackConfirmationStrategy = instantiate(c.asSubclass(TrackBackConfirmationStrategy.class));
} catch (Exception e) {
error("Could not load TrackBack confirmation strategy \"" + getTrackBackConfirmationStrategyName() + "\"");
e.printStackTrace();
trackBackConfirmationStrategy = new DefaultConfirmationStrategy();
}
emailSubscriptionList = new EmailSubscriptionList(this);
initLogger();