File tree 2 files changed +2
-2
lines changed
java/spring_JSR_250_annotations
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 3
3
/**Following is the content of the MainApp.java file. Here you
4
4
* need to register a shutdown hook registerShutdownHook() method that
5
5
* is declared on the AbstractApplicationContext class.
6
- * This will ensures a graceful shutdown and calls the relevant destroy methods.*/
6
+ * This will ensure a graceful shutdown and call the relevant destroy methods.*/
7
7
8
8
import org .springframework .context .support .AbstractApplicationContext ;
9
9
import org .springframework .context .support .ClassPathXmlApplicationContext ;
@@ -12,7 +12,7 @@ public class MainApp {
12
12
public static void main (String [] args ) {
13
13
14
14
AbstractApplicationContext context = new ClassPathXmlApplicationContext (
15
- "Beans .xml" );
15
+ "beans .xml" );
16
16
17
17
HelloWorld obj = (HelloWorld ) context .getBean ("helloWorld" );
18
18
obj .getMessage ();
File renamed without changes.
You can’t perform that action at this time.
0 commit comments