org.apache.camel.util
Class ServiceHelper

java.lang.Object
  extended by org.apache.camel.util.ServiceHelper

public final class ServiceHelper
extends Object

A collection of helper methods for working with Service objects

Version:
$Revision: 640438 $

Method Summary
static void startService(Object value)
           
static void startServices(Collection services)
          Starts all of the given services
static void startServices(Object... services)
          Starts all of the given services
static void stopService(Object value)
           
static void stopServices(Collection services)
          Stops all of the given services, throwing the first exception caught
static void stopServices(Object... services)
          Stops all of the given services, throwing the first exception caught
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

startService

public static void startService(Object value)
                         throws Exception
Throws:
Exception

startServices

public static void startServices(Object... services)
                          throws Exception
Starts all of the given services

Throws:
Exception

startServices

public static void startServices(Collection services)
                          throws Exception
Starts all of the given services

Throws:
Exception

stopServices

public static void stopServices(Object... services)
                         throws Exception
Stops all of the given services, throwing the first exception caught

Throws:
Exception

stopService

public static void stopService(Object value)
                        throws Exception
Throws:
Exception

stopServices

public static void stopServices(Collection services)
                         throws Exception
Stops all of the given services, throwing the first exception caught

Throws:
Exception


Apache CAMEL