]> git.mxchange.org Git - jcore-utils.git/blob - src/org/mxchange/jcoreee/beans/BaseFrameworkBean.java
9d70e5059f65d716d5266e15b03c7de0e6488400
[jcore-utils.git] / src / org / mxchange / jcoreee / beans / BaseFrameworkBean.java
1 /*
2  * Copyright (C) 2015 Roland Haeder
3  *
4  * This program is free software: you can redistribute it and/or modify
5  * it under the terms of the GNU General Public License as published by
6  * the Free Software Foundation, either version 3 of the License, or
7  * (at your option) any later version.
8  *
9  * This program 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
12  * GNU General Public License for more details.
13  *
14  * You should have received a copy of the GNU General Public License
15  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
16  */
17 package org.mxchange.jcoreee.beans;
18
19 import java.io.Serializable;
20
21 /**
22  * A general bean class. Do not put things in here that are not serializable.
23  * The logger is currently not serializable, so you will get error messages.
24  *
25  * @author Roland Haeder
26  */
27 public abstract class BaseFrameworkBean implements Serializable {
28
29         /**
30          * Serial number
31          */
32         private static final long serialVersionUID = 83_258_139_481_372_814L;
33
34         /**
35          * Protected constructor, please don't add init() call here.
36          */
37         protected BaseFrameworkBean () {
38         }
39
40         /**
41          * Super initialization method. If you overwrite this method, please call it before (!) your own initialization.
42          *
43          * @throws RuntimeException If something unexpected happens
44          */
45         protected void genericInit () throws RuntimeException {
46                 // Empty for now
47         }
48 }