View Javadoc

1   /*
2    * $Id: Agent.java 22048 2011-05-31 14:39:03Z dfeist $
3    * --------------------------------------------------------------------------------------
4    * Copyright (c) MuleSoft, Inc.  All rights reserved.  http://www.mulesoft.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.api.agent;
12  
13  import org.mule.api.NameableObject;
14  import org.mule.api.lifecycle.Lifecycle;
15  
16  /**
17   * <code>Agent</code> is a server plugin that can be initialised, started and
18   * destroyed along with the MuleContext itself. Agents can initialise or bind to
19   * external services such as a Jmx server.
20   */
21  public interface Agent extends Lifecycle, NameableObject
22  {
23      /**
24       * A description of the agent that gets displayed in the splash
25       * screen when the Mule Context starts up.
26       * @return a 1 line description of the agent.
27       */
28      String getDescription();
29  }