We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8b224a9 commit 9f529cdCopy full SHA for 9f529cd
spring-custom-event/src/main/java/com/hmkcode/App.java
@@ -0,0 +1,17 @@
1
+package com.hmkcode;
2
+
3
+import org.springframework.context.support.ClassPathXmlApplicationContext;
4
5
+import com.hmkcode.beans.Login;
6
7
8
+public class App
9
+{
10
+ public static void main( String[] args )
11
+ {
12
+ ClassPathXmlApplicationContext ctx = new ClassPathXmlApplicationContext("spring-config.xml");
13
14
+ Login login = (Login) ctx.getBean("login");
15
+ login.login();
16
+ }
17
+}
0 commit comments