Package com.sun.ejb.spi.container

Examples of com.sun.ejb.spi.container.ContainerService


    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);
View Full Code Here

TOP

Related Classes of com.sun.ejb.spi.container.ContainerService

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.