org.mule.tck.testmodels.mule
Class TestAgent

java.lang.Object
  extended by org.mule.tck.testmodels.mule.TestAgent
All Implemented Interfaces:
Agent, Disposable, Initialisable, Lifecycle, Startable, Stoppable, NameableObject, NamedObject

public class TestAgent
extends Object
implements Agent

Mock agent


Field Summary
 
Fields inherited from interface org.mule.api.lifecycle.Initialisable
PHASE_NAME
 
Fields inherited from interface org.mule.api.lifecycle.Startable
PHASE_NAME
 
Fields inherited from interface org.mule.api.lifecycle.Stoppable
PHASE_NAME
 
Fields inherited from interface org.mule.api.lifecycle.Disposable
PHASE_NAME
 
Constructor Summary
TestAgent()
           
 
Method Summary
 void dispose()
           
 List<Class<? extends Agent>> getDependentAgents()
           
 String getDescription()
           
 String getFrobbit()
           
 String getName()
           
 void initialise()
           
 void setFrobbit(String frobbit)
           
 void setName(String name)
           
 void start()
           
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestAgent

public TestAgent()
Method Detail

getName

public String getName()
Specified by:
getName in interface NamedObject

setName

public void setName(String name)
Specified by:
setName in interface NameableObject

getDescription

public String getDescription()
Specified by:
getDescription in interface Agent

initialise

public void initialise()
                throws InitialisationException
Specified by:
initialise in interface Initialisable
Throws:
InitialisationException

start

public void start()
           throws MuleException
Specified by:
start in interface Startable
Throws:
MuleException

stop

public void stop()
          throws MuleException
Specified by:
stop in interface Stoppable
Throws:
MuleException

dispose

public void dispose()
Specified by:
dispose in interface Disposable

getDependentAgents

public List<Class<? extends Agent>> getDependentAgents()

getFrobbit

public String getFrobbit()

setFrobbit

public void setFrobbit(String frobbit)


Copyright © 2003-2012 MuleSoft, Inc.. All Rights Reserved.