public class BananaFactory extends Object implements ObjectFactory
BananaFactory is a test factory that creates Bananas| Constructor and Description |
|---|
BananaFactory() |
| Modifier and Type | Method and Description |
|---|---|
void |
addObjectInitialisationCallback(InitialisationCallback callback) |
void |
dispose() |
Object |
getInstance(MuleContext muleContext) |
Class<?> |
getObjectClass() |
void |
initialise() |
boolean |
isAutoWireObject() |
boolean |
isExternallyManagedLifecycle() |
boolean |
isSingleton() |
public void initialise()
throws org.mule.runtime.api.lifecycle.InitialisationException
initialise in interface org.mule.runtime.api.lifecycle.Initialisableorg.mule.runtime.api.lifecycle.InitialisationExceptionpublic void dispose()
dispose in interface org.mule.runtime.api.lifecycle.Disposablepublic Object getInstance(MuleContext muleContext) throws Exception
getInstance in interface ObjectFactoryExceptionpublic Class<?> getObjectClass()
getObjectClass in interface ObjectFactorypublic void addObjectInitialisationCallback(InitialisationCallback callback)
addObjectInitialisationCallback in interface ObjectFactorypublic boolean isSingleton()
isSingleton in interface ObjectFactorypublic boolean isExternallyManagedLifecycle()
isExternallyManagedLifecycle in interface ObjectFactorypublic boolean isAutoWireObject()
isAutoWireObject in interface ObjectFactoryCopyright © 2003–2019 MuleSoft, Inc.. All rights reserved.