public ResourceConfig getResourceConfig(Set<Class<?>> classes,
final ServerContext sc,
final ServiceLocator serviceLocator,
final Set<? extends Binder> additionalBinders)
throws EndpointRegistrationException {
ResourceConfig rc = super.getResourceConfig(classes, sc, serviceLocator, additionalBinders);
registerExtendedWadlConfig(classes, rc, serviceLocator);
rc.register(ExceptionFilter.class);
rc.property(ServerProperties.RESOURCE_LOCATOR_VALIDATION_DISABLE, Boolean.TRUE);
return rc;
}