Coverage Report - org.mule.api.lifecycle.Disposable
 
Classes in this File Line Coverage Branch Coverage Complexity
Disposable
N/A
N/A
1
 
 1  
 /*
 2  
  * Copyright (c) MuleSoft, Inc.  All rights reserved.  http://www.mulesoft.com
 3  
  * The software in this package is published under the terms of the CPAL v1.0
 4  
  * license, a copy of which has been included with this distribution in the
 5  
  * LICENSE.txt file.
 6  
  */
 7  
 package org.mule.api.lifecycle;
 8  
 
 9  
 /**
 10  
  * <code>Disposable</code> is a lifecycle interface that gets called at the dispose
 11  
  * lifecycle stage of the implementing service as the service is being destroyed.
 12  
  */
 13  
 public interface Disposable
 14  
 {
 15  
     String PHASE_NAME = "dispose";
 16  
     
 17  
     /**
 18  
      * A lifecycle method where implementor should free up any resources. If an
 19  
      * exception is thrown it should just be logged and processing should continue.
 20  
      * This method should not throw Runtime exceptions.
 21  
      */
 22  
     void dispose();
 23  
 }