org.mule.tck.testmodels.fruit
Class BananaFactory

java.lang.Object
  extended by org.mule.tck.testmodels.fruit.BananaFactory
All Implemented Interfaces:
org.mule.api.lifecycle.Disposable, org.mule.api.lifecycle.Initialisable, org.mule.api.object.ObjectFactory

public class BananaFactory
extends Object
implements org.mule.api.object.ObjectFactory

BananaFactory is a test factory that creates Bananas


Field Summary
 
Fields inherited from interface org.mule.api.lifecycle.Initialisable
PHASE_NAME
 
Fields inherited from interface org.mule.api.lifecycle.Disposable
PHASE_NAME
 
Constructor Summary
BananaFactory()
           
 
Method Summary
 void addObjectInitialisationCallback(org.mule.api.lifecycle.InitialisationCallback callback)
           
 void dispose()
           
 Object getInstance()
           
 Class getObjectClass()
           
 void initialise()
           
 boolean isSingleton()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BananaFactory

public BananaFactory()
Method Detail

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

dispose

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

getInstance

public Object getInstance()
                   throws Exception
Specified by:
getInstance in interface org.mule.api.object.ObjectFactory
Throws:
Exception

getObjectClass

public Class getObjectClass()
Specified by:
getObjectClass in interface org.mule.api.object.ObjectFactory

addObjectInitialisationCallback

public void addObjectInitialisationCallback(org.mule.api.lifecycle.InitialisationCallback callback)
Specified by:
addObjectInitialisationCallback in interface org.mule.api.object.ObjectFactory

isSingleton

public boolean isSingleton()
Specified by:
isSingleton in interface org.mule.api.object.ObjectFactory


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