?? authorizationtreeupdatedatalocal.java
字號:
/************************************************************************* * * * EJBCA: The OpenSource Certificate Authority * * * * This software is free software; you can redistribute it and/or * * modify it under the terms of the GNU Lesser General Public * * License as published by the Free Software Foundation; either * * version 2.1 of the License, or any later version. * * * * See terms of license at gnu.org. * * * *************************************************************************/ package se.anatom.ejbca.authorization;/** * For docs, see AccessRulesDataBean **/public interface AuthorizationTreeUpdateDataLocal extends javax.ejb.EJBLocalObject { // public methods /** * Method used check if a reconstruction of authorization tree is needed in the * authorization beans. It is used to avoid desyncronisation of authorization structures * in a distibuted environment. * * @param currrentauthorizationtreeupdatenumber indicates which authorizationtreeupdatenumber is currently used. * @returns true if update is needed. */ public boolean updateNeccessary(int currentauthorizationtreeupdatenumber); /** * Method returning the newest authorizationtreeupdatenumber. Should be used after each * time the authorization tree is built. * * @returns the newest accessruleset number. */ public int getAuthorizationTreeUpdateNumber(); /** * Method incrementing the authorizationtreeupdatenumber and thereby signaling * to other beans that they should reconstruct their accesstrees. * */ public void incrementAuthorizationTreeUpdateNumber(); }
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -