Commit f2cdc2ce by fukai

spring4完善

parent da22fda5
...@@ -298,7 +298,7 @@ ...@@ -298,7 +298,7 @@
</dependency> </dependency>
</dependencies> </dependencies>
<build> <build>
<finalName>business</finalName> <finalName>eibs-springmvc4-support</finalName>
<plugins> <plugins>
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
......
...@@ -140,8 +140,11 @@ public abstract class AbstractCommonController { ...@@ -140,8 +140,11 @@ public abstract class AbstractCommonController {
ret = ResultUtil.result(ErrorCodes.ERROR, "hander error", e.getMessage()); ret = ResultUtil.result(ErrorCodes.ERROR, "hander error", e.getMessage());
} finally { } finally {
if (context != null) if (context != null)
{
context.getSupport().disconnect();
context.dispose(); context.dispose();
} }
}
return ret; return ret;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment