File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
java/spring_JSR_250_annotations Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 33/**Following is the content of the MainApp.java file. Here you
44 * need to register a shutdown hook registerShutdownHook() method that
55 * 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.*/
77
88import org .springframework .context .support .AbstractApplicationContext ;
99import org .springframework .context .support .ClassPathXmlApplicationContext ;
@@ -12,7 +12,7 @@ public class MainApp {
1212 public static void main (String [] args ) {
1313
1414 AbstractApplicationContext context = new ClassPathXmlApplicationContext (
15- "Beans .xml" );
15+ "beans .xml" );
1616
1717 HelloWorld obj = (HelloWorld ) context .getBean ("helloWorld" );
1818 obj .getMessage ();
File renamed without changes.
You can’t perform that action at this time.
0 commit comments