Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

The onDestroy method will now call the BooksManager close method when…

…ever we are removing the web container.
  • Loading branch information...
commit 3fbdc000a48192aa96177747cfb18d8e2b03c935 1 parent c733519
@ccorsi authored
View
6 persistence/books/web/click/src/org/books/service/BooksConfigService.java
@@ -25,12 +25,8 @@
import javax.servlet.ServletContext;
-import org.apache.click.Page;
import org.apache.click.service.XmlConfigService;
import org.books.BooksManager;
-import org.books.page.BookPage;
-import org.books.page.GenderPage;
-import org.books.page.PersonPage;
/**
* @author Claudio Corsi
@@ -46,7 +42,7 @@ public void onDestroy() {
try {
this.getLogService().info("Calling the BookManager close method");
// Shutdown the books persistent layer by calling the BooksManager close method.
- // BooksManager.getInstance().close();
+ BooksManager.getInstance().close();
} finally {
// Always call the super class onDestroy method...
super.onDestroy();
Please sign in to comment.
Something went wrong with that request. Please try again.