View Javadoc
1   /*
2    * Copyright (c) MuleSoft, Inc.  All rights reserved.  http://www.mulesoft.com
3    * The software in this package is published under the terms of the CPAL v1.0
4    * license, a copy of which has been included with this distribution in the
5    * LICENSE.txt file.
6    */
7   package org.mule.object;
8   
9   import java.util.Map;
10  
11  /**
12   * Creates a new instance of the object on each call.
13   */
14  public class PrototypeObjectFactory extends AbstractObjectFactory
15  {
16  
17      /** For Spring only */
18      public PrototypeObjectFactory()
19      {
20          super();
21      }
22  
23      public PrototypeObjectFactory(String objectClassName)
24      {
25          super(objectClassName);
26      }
27  
28      public PrototypeObjectFactory(String objectClassName, Map properties)
29      {
30          super(objectClassName, properties);
31      }
32  
33      public PrototypeObjectFactory(Class<?> objectClass)
34      {
35          super(objectClass);
36      }
37  
38      public PrototypeObjectFactory(Class<?> objectClass, Map properties)
39      {
40          super(objectClass, properties);
41      }
42  
43  }