01: /*
02: * $Id: PrototypeObjectFactory.java 11376 2008-03-16 17:44:10Z dfeist $
03: * --------------------------------------------------------------------------------------
04: * Copyright (c) MuleSource, Inc. All rights reserved. http://www.mulesource.com
05: *
06: * The software in this package is published under the terms of the CPAL v1.0
07: * license, a copy of which has been included with this distribution in the
08: * LICENSE.txt file.
09: */
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: /** For Spring only */
21: public PrototypeObjectFactory() {
22: super ();
23: }
24:
25: public PrototypeObjectFactory(String objectClassName) {
26: super (objectClassName);
27: }
28:
29: public PrototypeObjectFactory(String objectClassName, Map properties) {
30: super (objectClassName, properties);
31: }
32:
33: public PrototypeObjectFactory(Class objectClass) {
34: super (objectClass);
35: }
36:
37: public PrototypeObjectFactory(Class objectClass, Map properties) {
38: super(objectClass, properties);
39: }
40:
41: }
|