/**
* @file IClusterContainerServices.java
*
- * @brief : Set of services and application will expect from the
+ * @brief : Set of services an application will expect from the
* clustering services provider. This interface is per-container and so
* the container parameter is implicitely known
*
package org.opendaylight.controller.clustering.services;
/**
- * Set of services and application will expect from the
- * clustering services provider. This interface is per-container and so
- * the container parameter is implicitly known
+ * Set of services an application will expect from the clustering services
+ * provider. This interface is per-container and so the container parameter is
+ * implicitly known
*
*/
public interface IClusterContainerServices extends IClusterServicesCommon {
/**
* @file IClusterGlobalServices.java
*
- * @brief : Set of services and application will expect from the
+ * @brief : Set of services an application will expect from the
* clustering services provider. This interface is supposed to have
* Global scope
*
package org.opendaylight.controller.clustering.services;
/**
- * Set of services and application will expect from the
- * clustering services provider. This interface is supposed to have
- * Global scope
+ * Set of services an application will expect from the clustering services
+ * provider. This interface is supposed to have Global scope
*
*/
public interface IClusterGlobalServices extends IClusterServicesCommon {
/**
* @file IClusterServices.java
*
- * @brief : Set of services and application will expect from the
+ * @brief : Set of services an application will expect from the
* clustering services provider
*
* Contract between the applications and the clustering service
import javax.transaction.Transaction;
/**
- * Set of services and application will expect from the
+ * Set of services an application will expect from the
* clustering services provider
*
*/
/**
* @file IClusterServicesCommon.java
*
- * @brief : Set of services and application will expect from the
+ * @brief : Set of services an application will expect from the
* clustering services provider. This interface is going to be the
* base for per-container and Global services and so the container
* parameter is omitted but who uses knows about it
import javax.transaction.Transaction;
/**
- * @deprecated for internal use
- * Set of services and application will expect from the
- * clustering services provider. This interface is going to be the
- * base for per-container and Global services and so the container
- * parameter is omitted but who uses knows about it
+ * This WILL NOT BE USED DIRECTLY, but VIA SUBCLASS
+ *
+ * Set of services and application will expect from the clustering services
+ * provider. This interface is going to be the base for per-container and Global
+ * services and so the container parameter is omitted but who uses knows about
+ * it
*
*/
public interface IClusterServicesCommon {
if (future != null) {
try {
host = future.get();
+ } catch (InterruptedException ioe) {
+ log.trace("Thread interrupted {}", ioe);
} catch (Exception e) {
log.error("", e);
}
this.bundlecontext = ctxt;
}
+ @Override
public void run () {
try {
this.bundlecontext.getBundle(0).stop();
log.debug("shutdown handler thread called");
} catch (BundleException e) {
log.debug("Bundle couldn't be stopped");
+ } catch (Exception e) {
+ log.debug("Unhandled exception");
}
}
}