View Javadoc

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