@Override
public void visitWebResources(ResourceVisitor visitor)
{
for (DirectoryResource root : getWebRootDirectories())
{
ResourceVisit visit = new ResourceVisit(root);
visit.perform(visitor, new ResourceFilter()
{
@Override
public boolean accept(Resource<?> resource)
{
return resource instanceof DirectoryResource;
}
}, new ResourceFilter()
{
@Override
public boolean accept(Resource<?> type)
{
return true;
}
});
if (visit.isTerminated())
break;
}
}