Coverage Report - org.mule.umo.manager.UMOAgent
 
Classes in this File Line Coverage Branch Coverage Complexity
UMOAgent
N/A
N/A
1
 
 1  
 /*
 2  
  * $Id: UMOAgent.java 7963 2007-08-21 08:53:15Z dirk.olmes $
 3  
  * --------------------------------------------------------------------------------------
 4  
  * Copyright (c) MuleSource, Inc.  All rights reserved.  http://www.mulesource.com
 5  
  *
 6  
  * The software in this package is published under the terms of the CPAL v1.0
 7  
  * license, a copy of which has been included with this distribution in the
 8  
  * LICENSE.txt file.
 9  
  */
 10  
 
 11  
 package org.mule.umo.manager;
 12  
 
 13  
 import org.mule.umo.lifecycle.Initialisable;
 14  
 import org.mule.umo.lifecycle.Lifecycle;
 15  
 
 16  
 /**
 17  
  * <code>UMOAgent</code> is a server plugin that can be initialised, started and
 18  
  * destroyed along with the UMOManager itself. Agents can initialise or bind to
 19  
  * external services such as a Jmx server.
 20  
  */
 21  
 public interface UMOAgent extends Lifecycle, Initialisable
 22  
 {
 23  
     /**
 24  
      * Gets the name of this agent
 25  
      * 
 26  
      * @return the agent name
 27  
      */
 28  
     String getName();
 29  
 
 30  
     /**
 31  
      * Sets the name of this agent
 32  
      * 
 33  
      * @param name the name of the agent
 34  
      */
 35  
     void setName(String name);
 36  
 
 37  
     /**
 38  
      * Should be a 1 line description of the agent
 39  
      * 
 40  
      * @return
 41  
      */
 42  
     String getDescription();
 43  
 
 44  
     void registered();
 45  
 
 46  
     void unregistered();
 47  
 }