Skip to content

Commit

Permalink
minor update
Browse files Browse the repository at this point in the history
  • Loading branch information
fishercoder1534 committed Feb 3, 2024
1 parent 98ac1a4 commit 82d6e91
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/spring_JSR_250_annotations/MainApp.java
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/**Following is the content of the MainApp.java file. Here you
* need to register a shutdown hook registerShutdownHook() method that
* is declared on the AbstractApplicationContext class.
* This will ensures a graceful shutdown and calls the relevant destroy methods.*/
* This will ensure a graceful shutdown and call the relevant destroy methods.*/

import org.springframework.context.support.AbstractApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;
Expand All @@ -12,7 +12,7 @@ public class MainApp {
public static void main(String[] args) {

AbstractApplicationContext context = new ClassPathXmlApplicationContext(
"Beans.xml");
"beans.xml");

HelloWorld obj = (HelloWorld) context.getBean("helloWorld");
obj.getMessage();
Expand Down
File renamed without changes.

0 comments on commit 82d6e91

Please sign in to comment.