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, NamedObject

public class TestAgent
extends java.lang.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()
           
 java.util.List<java.lang.Class<? extends Agent>> getDependentAgents()
           
 java.lang.String getDescription()
           
 java.lang.String getFrobbit()
           
 java.lang.String getName()
           
 void initialise()
           
 void setFrobbit(java.lang.String frobbit)
           
 void setName(java.lang.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 java.lang.String getName()
Specified by:
getName in interface NamedObject

setName

public void setName(java.lang.String name)
Specified by:
setName in interface NamedObject

getDescription

public java.lang.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 java.util.List<java.lang.Class<? extends Agent>> getDependentAgents()

getFrobbit

public java.lang.String getFrobbit()

setFrobbit

public void setFrobbit(java.lang.String frobbit)


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