public class WebappNutDaoBuilderInspector extends Object implements ObjectBuilderInspector
This inspector replaces the built WebappNutDao
by a DiskNutDao
if the war is exploded. Otherwise
it just set the servlet context to the WebappNutDao
.
Constructor and Description |
---|
WebappNutDaoBuilderInspector(ServletContext servletContext)
Builds a new instance.
|
public WebappNutDaoBuilderInspector(ServletContext servletContext)
Builds a new instance.
servletContext
- the servlet contextpublic <T> T inspect(T object)
Inspects a built object.
inspect
in interface ObjectBuilderInspector
T
- the type of objectobject
- the objectCopyright © 2012-2015. All Rights Reserved.