コード例 #1
0
  /** Initializes the AccessControl member. */
  private static synchronized AccessControl getaccessControl() {
    if (accessControl == null) {
      accessControl = SpringUtil.getAccessControl();
    }

    return accessControl;
  }
コード例 #2
0
 /**
  * Initializes the servlet.
  *
  * @throws ServletException Serlvet Init Error.
  */
 @Override
 public void init() throws ServletException {
   super.init();
   accessControl = SpringUtil.getAccessControl();
 }