Update of /var/cvs/src/org/mmbase/framework
In directory james.mmbase.org:/tmp/cvs-serv21004
Modified Files:
BasicComponent.java
Log Message:
added a init method
See also: http://cvs.mmbase.org/viewcvs/src/org/mmbase/framework
Index: BasicComponent.java
===================================================================
RCS file: /var/cvs/src/org/mmbase/framework/BasicComponent.java,v
retrieving revision 1.49
retrieving revision 1.50
diff -u -b -r1.49 -r1.50
--- BasicComponent.java 14 Aug 2008 20:19:26 -0000 1.49
+++ BasicComponent.java 9 Oct 2008 16:17:39 -0000 1.50
@@ -24,7 +24,7 @@
* components, and may be requested several blocks.
*
* @author Michiel Meeuwissen
- * @version $Id: BasicComponent.java,v 1.49 2008/08/14 20:19:26 michiel Exp $
+ * @version $Id: BasicComponent.java,v 1.50 2008/10/09 16:17:39 michiel Exp $
* @since MMBase-1.9
*/
public class BasicComponent implements Component {
@@ -47,6 +47,13 @@
public BasicComponent(String name) {
this.name = name;
this.description = new LocalizedString(name);
+ init();
+ }
+
+ /**
+ * Called on initializion. Default implementation is empty.
+ */
+ protected void init() {
}
public String getName() {
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs