1 /*
2 * Created on May 22, 2004
3 *
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
8 *
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
13 *
14 * Full GNU LGPL license terms : http://www.gnu.org/copyleft/lesser.txt
15 *
16 * Project : iky-container
17 * Package : net.wmind.container.component
18 * Author : mchaplin@users.sourceforge.net
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 }