Examples of shutdown()


Examples of org.apache.oodt.cas.pushpull.retrievalsystem.FileRetrievalSystem.shutdown()

        } catch (Exception e) {
            e.printStackTrace();
        } finally {
            if (dataFilesFRS != null)
                dataFilesFRS.shutdown();
            alreadyProcessedPropFiles.clear();
            linker.clear();
        }
    }
View Full Code Here

Examples of org.apache.openejb.quartz.Scheduler.shutdown()

                            }
                        });

                        //Shutdown, but give running jobs a chance to complete.
                        //User scheduled jobs should really implement InterruptableJob
                        s.shutdown(true);
                    } catch (final Throwable e) {
                        QuartzResourceAdapter.this.ex.set(e);
                        shutdownWait.countDown();
                    }
                }
View Full Code Here

Examples of org.apache.pig.PigServer.shutdown()

    } catch (ExecException ex) {
      throw convertPigAccessException(ex);
    } catch (IOException ex) {
      throw convertPigAccessException(ex);
    } finally {
      pig.shutdown();
    }
  }

  /**
   * Converts the given Pig exception to an appropriate exception from the <tt>org.springframework.dao</tt> hierarchy.
View Full Code Here

Examples of org.apache.pivot.wtk.Application.shutdown()

        boolean cancelShutdown = false;

        Application application = applicationContext.getApplication();
        if (application != null) {
            try {
                cancelShutdown = application.shutdown(true);
            } catch(Exception exception) {
                displayException(exception);
            }

            if (!cancelShutdown) {
View Full Code Here

Examples of org.apache.pluto.PortletContainer.shutdown()

        {
            PortletContainer container = (PortletContainer) componentManager
                    .getComponent(PortletContainer.class);
            if (container != null)
            {
                container.shutdown();
            }
   
            componentManager.stop();
        }
        catch (PortletContainerException e)
View Full Code Here

Examples of org.apache.sandesha2.storage.StorageManager.shutdown()

        invoker.stopRunning();
      if (pollingManager!=null)
        pollingManager.stopRunning();
     
      //shutting down the storage manager.
      storageManager.shutdown();
    }
   
    if(log.isDebugEnabled()) log.debug("Exit: SandeshaModule::shutdown");
  }
View Full Code Here

Examples of org.apache.servicemix.jbi.container.JBIContainer.shutDown()

       
        quartz.start();
        Thread.sleep(200);
        assertTrue(receiver.getMessageList().flushMessages().size() > 0);

        jbi.shutDown();
    }
   
}
View Full Code Here

Examples of org.apache.servicemix.jbi.deployer.Component.shutDown()

        Component component = deployer.getComponent(name);
        if (component == null) {
            throw ManagementSupport.failure("shutdown", "Component does not exist: " + name);
        }
        try {
            component.shutDown();
            return ManagementSupport.createSuccessMessage("Component shut down", name);
        } catch (Throwable e) {
            throw ManagementSupport.failure("shutdownComponent", name, e);
        }
    }
View Full Code Here

Examples of org.apache.servicemix.jbi.deployer.ServiceAssembly.shutDown()

        try {
            ServiceAssembly sa = deployer.getServiceAssembly(serviceAssemblyName);
            if (sa == null) {
                throw ManagementSupport.failure("shutdown", "SA does not exist: " + serviceAssemblyName);
            }
            sa.shutDown();
            return ManagementSupport.createSuccessMessage("shutdown service assembly successfully", serviceAssemblyName);
        } catch (Exception e) {
            LOG.info("Error in shutdown", e);
            throw e;
        }
View Full Code Here

Examples of org.apache.servicemix.jbi.deployer.artifacts.ComponentImpl.shutDown()

            }
            if (LifeCycleMBean.STARTED.equals(comp.getCurrentState())) {
                comp.stop(false);
            }
            if (LifeCycleMBean.STOPPED.equals(comp.getCurrentState())) {
                comp.shutDown(false, force);
            }
        }
    }

    public void uninstall(boolean force) throws Exception {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.