org.ops4j.pax.servicemanager
Class ServiceAvailableTimeoutException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.ops4j.pax.servicemanager.ServiceAvailableTimeoutException
All Implemented Interfaces:
java.io.Serializable

public class ServiceAvailableTimeoutException
extends java.lang.RuntimeException

This exception is thrown when the ServiceManager is not able to locate the requested service within the ServiceManager.SERVICE_TIMEOUT period (currently 2seconds).

See Also:
Serialized Form

Constructor Summary
ServiceAvailableTimeoutException(java.lang.Class service)
           
 
Method Summary
 java.lang.Class getServiceClass()
          Returns the java.lang.Class instance of the requested Service.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ServiceAvailableTimeoutException

public ServiceAvailableTimeoutException(java.lang.Class service)
Method Detail

getServiceClass

public java.lang.Class getServiceClass()
Returns the java.lang.Class instance of the requested Service.

Returns:
the java.lang.Class instance of the requested Service.


Copyright © 2008. All Rights Reserved.