1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20 package net.mchaplin.ioc.component;
21
22 import net.mchaplin.commons.WmindObject;
23 import net.mchaplin.ioc.ContainerI;
24
25
26 /***
27 * Default, ready-to-use ComponentI implementation
28 *
29 * @author mchaplin@users.sourceforge.net
30 *
31 * $Header:
32 * $Revision:
33 * $Date:
34 *
35 */
36 public abstract class DefaultComponent extends WmindObject implements ComponentI {
37
38 protected ContainerI container = null;
39
40 /***
41 * @see net.mchaplin.ioc.component.ComponentI#getContainer()
42 */
43 public ContainerI getContainer() {
44 return container;
45 }
46
47 /***
48 * @see net.mchaplin.ioc.component.ComponentI#setContainer(net.mchaplin.ioc.ContainerI)
49 */
50 public void setContainer(ContainerI aContainer) {
51 container = aContainer;
52 }
53
54 /***
55 * @see net.mchaplin.ioc.component.ComponentI#reset()
56 */
57 public void reset() {
58 }
59 }