+ private static final Logger LOGGER = Logger.getLogger(Initializer.class
+ .getName());
+
+ /**
+ * We need this helper to do initialization of the beans from within the
+ * post construct method. Injecting these objects into the initializer class
+ * will lead to initialization outside of a transactional context and this
+ * is does not work because and entity manager is required.
+ *
+ * @author Erik Brakkee
+ *
+ */
+ public static class Helper {
+ @Inject
+ private UserAdministration userAdmin;
+
+ @Inject
+ private AuthorizationService authorizationService;