question: void refreshFromDataStore ( ) throws PolicyException { Node xmlRootNode = null ; try { xmlRootNode = resourceManager . getXMLRootNode ( resourceType . getName ( ) ) ; } catch ( Exception e ) { DEBUG . error ( "Error reading resource index from data store " , e ) ; throw new PolicyException ( ResBundleUtils . rbName , "error_reading_resource_index_from_data_store" , null , e ) ; } if ( xmlRootNode != null ) { Set topIndexEntryNodeSet = XMLUtils . getChildNodes ( xmlRootNode , PolicyManager . POLICY_INDEX_REFERENCE_NODE ) ; Iterator topIndexEntryNodes = topIndexEntryNodeSet . iterator ( ) ; while ( topIndexEntryNodes . hasNext ( ) ) { Node topIndexEntryNode = ( Node ) topIndexEntryNodes . next ( ) ; String resourceName = XMLUtils . getNodeAttributeValue ( topIndexEntryNode , PolicyManager . POLICY_INDEX_REFERENCE_NODE_NAME_ATTR ) ; Set policyNames = getPolicyNames ( topIndexEntryNode ) ; ResourceIndexEntry rie = new ResourceIndexEntry ( resourceName , policyNames ) ; topLevelEntries . add ( rie ) ; Set indexEntryNodeSet = XMLUtils . getChildNodes ( topIndexEntryNode , PolicyManager . POLICY_INDEX_REFERENCE_NODE ) ; Iterator indexEntryNodes = indexEntryNodeSet . iterator ( ) ; while ( indexEntryNodes . hasNext ( ) ) { Node indexEntryNode = ( Node ) indexEntryNodes . next ( ) ; processIndexEntryNode ( rie , indexEntryNode ) ; } } } }
target:  Refreshes this resource index reading from data store