application.mount(new MountMapper(mountPoint, new PackageMapper(packageName)));
}
}
private void mountPage(final WebApplication application) {
final MountPathExtractor extractor = new MountPathExtractor(mountPoint);
application.mount(new ParamCheckingPatternMapper(extractor.getPath(),
clazz,
extractor.getParameters()));
for (String role : roles) {
MetaDataRoleAuthorizationStrategy.authorize(clazz, role);
}
}