String[] pidList = null;
// If the pidList is in the RecoveryContext, just reserve them
// rather than generating new ones.
if (context instanceof RecoveryContext) {
RecoveryContext rContext = (RecoveryContext) context;
pidList =
rContext
.getRecoveryValues(Constants.RECOVERY.PID_LIST.uri);
if (pidList != null && pidList.length > 0) {
logger.debug("Reserving and returning PID_LIST "
+ "from recovery context");
m_manager.reservePIDs(pidList);