/** * checks if PolicyContex is in agrument state. * Detects implicpit state changes resulting from * distribution of policy files by synchronization * system. * @param stateValue state the context is tested for * @return true if in state. */ private boolean stateIs(int stateValue) { boolean inState = _stateIs(stateValue); if (stateValue == INSERVICE_STATE && !inState) { if (fileArrived(true) || fileArrived(false)) { if (logger.isLoggable(Level.FINE)){ logger.fine("JACC Policy Provider: file arrived transition to inService: " + " state: " + (this.state == OPEN_STATE ? "open " : "deleted ") + CONTEXT_ID); } // initialize(!open,!remove,fromFile) initialize(false,false,true); } inState = _stateIs(INSERVICE_STATE); } return inState; }
/** * checks if PolicyContex is in agrument state. * Detects implicpit state changes resulting from * distribution of policy files by synchronization * system. * @param stateValue state the context is tested for * @return true if in state. */ private boolean stateIs(int stateValue) { boolean inState = _stateIs(stateValue); if (stateValue == INSERVICE_STATE && !inState) { if (fileArrived(true) || fileArrived(false)) { if (logger.isLoggable(Level.FINE)){ logger.fine("JACC Policy Provider: file arrived transition to inService: " + " state: " + (this.state == OPEN_STATE ? "open " : "deleted ") + CONTEXT_ID); } // initialize(!open,!remove,fromFile) initialize(false,false,true); } inState = _stateIs(INSERVICE_STATE); } return inState; }