org.mule.object
Class PrototypeObjectFactory

java.lang.Object
  extended by org.mule.object.AbstractObjectFactory
      extended by org.mule.object.PrototypeObjectFactory
All Implemented Interfaces:
FlowConstructAware, Disposable, Initialisable, ObjectFactory

public class PrototypeObjectFactory
extends AbstractObjectFactory

Creates a new instance of the object on each call.


Field Summary
 
Fields inherited from class org.mule.object.AbstractObjectFactory
ATTRIBUTE_OBJECT_CLASS, ATTRIBUTE_OBJECT_CLASS_NAME, disposed, flowConstruct, initialisationCallbacks, logger, objectClass, objectClassName, properties
 
Fields inherited from interface org.mule.api.lifecycle.Initialisable
PHASE_NAME
 
Fields inherited from interface org.mule.api.lifecycle.Disposable
PHASE_NAME
 
Constructor Summary
PrototypeObjectFactory()
          For Spring only
PrototypeObjectFactory(Class<?> objectClass)
           
PrototypeObjectFactory(Class<?> objectClass, Map properties)
           
PrototypeObjectFactory(String objectClassName)
           
PrototypeObjectFactory(String objectClassName, Map properties)
           
 
Method Summary
 
Methods inherited from class org.mule.object.AbstractObjectFactory
addObjectInitialisationCallback, dispose, fireInitialisationCallbacks, getInstance, getObjectClass, getObjectClassName, getProperties, initialise, isAutoWireObject, isExternallyManagedLifecycle, isSingleton, setFlowConstruct, setObjectClass, setObjectClassName, setProperties, setupObjectClassFromObjectClassName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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)


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