Mercurial > pub > Impl
diff Lib/IMPL/Web/Application.pm @ 339:97628101b765
refactoring: application now holds a security object factory rather than a security object
author | cin |
---|---|
date | Wed, 19 Jun 2013 03:25:44 +0400 |
parents | 63709a4e6da0 |
children | ec58c47edb52 |
line wrap: on
line diff
--- a/Lib/IMPL/Web/Application.pm Sat Jun 15 02:32:11 2013 +0400 +++ b/Lib/IMPL/Web/Application.pm Wed Jun 19 03:25:44 2013 +0400 @@ -62,8 +62,6 @@ application => $this, ); - $this->BeforeProcessRequest($action); - eval { my $result = $handler->($action); @@ -73,7 +71,8 @@ $result->PrintResponse( $this->output ); }; - $this->AfterProcessRequest($action); + $action->Dispose(); + if ($@) { my $e = $@; @@ -132,14 +131,6 @@ } } -sub BeforeProcessRequest { - -} - -sub AfterProcessRequest { - -} - 1; __END__