}
}
}
private void setupExposeViaAnnotation(GrailsCxfEndpoint annotation) {
EndpointType exposes = annotation.expose();
try {
expose = EndpointExposureType.forExpose(exposes.toString());
} catch(IllegalArgumentException e) {
log.error("Unsupported endpoint exposure type [" + exposes.toString() + "] for endpoint [" + getFullName() + "]. Using default type.");
}
}