/** Initializes the AccessControl member. */ private static synchronized AccessControl getaccessControl() { if (accessControl == null) { accessControl = SpringUtil.getAccessControl(); } return accessControl; }
/** * Initializes the servlet. * * @throws ServletException Serlvet Init Error. */ @Override public void init() throws ServletException { super.init(); accessControl = SpringUtil.getAccessControl(); }