private void removeExpiredPassivatedSessions(String[] fileNames) {
if (fileNames.length > 0) {
AsyncFileRemovalTask task = new AsyncFileRemovalTask(
this, fileNames);
try {
ContainerService service = ContainerFactoryImpl.getContainerService();
//scheduleWork performs the task on the same thread
// if it cannot schedule the task for async execution
service.scheduleWork(super.getClassLoader(), task);
} catch (Throwable th) {
//We would be here only if containerService is null
_logger.log(Level.FINE, storeManagerName
+ ": Cannot execute file removal aynchronously", th);