Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
PrototypeObjectFactory |
|
| 1.0;1 |
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 | 12 | super(); |
25 | 12 | } |
26 | ||
27 | public PrototypeObjectFactory(String objectClassName) | |
28 | { | |
29 | 0 | super(objectClassName); |
30 | 0 | } |
31 | ||
32 | public PrototypeObjectFactory(String objectClassName, Map properties) | |
33 | { | |
34 | 0 | super(objectClassName, properties); |
35 | 0 | } |
36 | ||
37 | public PrototypeObjectFactory(Class objectClass) | |
38 | { | |
39 | 38 | super(objectClass); |
40 | 38 | } |
41 | ||
42 | public PrototypeObjectFactory(Class objectClass, Map properties) | |
43 | { | |
44 | 0 | super(objectClass, properties); |
45 | 0 | } |
46 | ||
47 | } |