org.mule.tck.testmodels.mule
Class TestAgent

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

public class TestAgent
extends Object
implements org.mule.api.agent.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 getDependentAgents()
           
 String getDescription()
           
 String getFrobbit()
           
 String getName()
           
 void initialise()
           
 void registered()
           
 void setFrobbit(String frobbit)
           
 void setName(String name)
           
 void start()
           
 void stop()
           
 void unregistered()
           
 
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 org.mule.api.NamedObject

setName

public void setName(String name)
Specified by:
setName in interface org.mule.api.NamedObject

getDescription

public String getDescription()
Specified by:
getDescription in interface org.mule.api.agent.Agent

initialise

public void initialise()
                throws org.mule.api.lifecycle.InitialisationException
Specified by:
initialise in interface org.mule.api.lifecycle.Initialisable
Throws:
org.mule.api.lifecycle.InitialisationException

start

public void start()
           throws org.mule.api.MuleException
Specified by:
start in interface org.mule.api.lifecycle.Startable
Throws:
org.mule.api.MuleException

stop

public void stop()
          throws org.mule.api.MuleException
Specified by:
stop in interface org.mule.api.lifecycle.Stoppable
Throws:
org.mule.api.MuleException

dispose

public void dispose()
Specified by:
dispose in interface org.mule.api.lifecycle.Disposable

registered

public void registered()
Specified by:
registered in interface org.mule.api.agent.Agent

unregistered

public void unregistered()
Specified by:
unregistered in interface org.mule.api.agent.Agent

getDependentAgents

public List getDependentAgents()
Specified by:
getDependentAgents in interface org.mule.api.agent.Agent

getFrobbit

public String getFrobbit()

setFrobbit

public void setFrobbit(String frobbit)


Copyright © 2003-2008 MuleSource, Inc.. All Rights Reserved.