org.mule.object
Class PrototypeObjectFactory
java.lang.Object
org.mule.object.AbstractObjectFactory
org.mule.object.PrototypeObjectFactory
- All Implemented Interfaces:
- MuleContextAware, Disposable, Initialisable, ObjectFactory
public class PrototypeObjectFactory
- extends AbstractObjectFactory
Creates a new instance of the object on each call.
|
Method Summary |
boolean |
isAutoWireObject()
Return true if the created object should get its dependencies wired from the registry automatically. |
| Methods inherited from class org.mule.object.AbstractObjectFactory |
addObjectInitialisationCallback, dispose, fireInitialisationCallbacks, getInstance, getObjectClass, getObjectClassName, getProperties, initialise, isExternallyManagedLifecycle, isSingleton, setMuleContext, setObjectClass, setObjectClassName, setProperties, setupObjectClassFromObjectClassName |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PrototypeObjectFactory
public PrototypeObjectFactory()
- For Spring only
PrototypeObjectFactory
public PrototypeObjectFactory(String objectClassName)
PrototypeObjectFactory
public PrototypeObjectFactory(String objectClassName,
Map properties)
PrototypeObjectFactory
public PrototypeObjectFactory(Class<?> objectClass)
PrototypeObjectFactory
public PrototypeObjectFactory(Class<?> objectClass,
Map properties)
isAutoWireObject
public boolean isAutoWireObject()
- Description copied from interface:
ObjectFactory
- Return true if the created object should get its dependencies wired from the registry automatically. Typically
Mule object factories would return true for this value, objects managed by DI container such as Spring should
set this to false.
- Returns:
Copyright © 2003-2010 MuleSoft, Inc.. All Rights Reserved.