You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@Setter@Getter//these Lombok annotations eventually work in my own Eclipse and project now, I can safely comment out/remove those boilerplate code! Cool!
14
+
privateStringmessage;
15
+
16
+
// public void getMessage() {
17
+
// System.out.println(message);
18
+
// }
19
+
20
+
publicvoidsetMessage(Stringmessage) {
21
+
this.message = message;
22
+
}
23
+
24
+
// this init() method is required b/c I'm using HelloWorld as this
25
+
// HelloChina's parent bean
26
+
publicvoidinit() {
27
+
System.out.println("Bean HelloChina is going through init.");
28
+
}
29
+
30
+
// this destroy() method is required b/c I'm using HelloWorld as this
31
+
// HelloChina's parent bean
32
+
publicvoiddestroy() {
33
+
System.out.println("Bean HelloChina will destroy now.");
0 commit comments