if (this.responseWriters == null) {
try {
// get the extension point and all ResponseWriter extensions
ExtensionPoint point = PluginRepository.get(conf).getExtensionPoint(
ResponseWriter.X_POINT_ID);
if (point == null) {
throw new RuntimeException(ResponseWriter.X_POINT_ID + " not found.");
}
// populate content type on the ResponseWriter classes, each response
// writer can handle more than one response type
Extension[] extensions = point.getExtensions();
Map<String, ResponseWriter> writers = new HashMap<String, ResponseWriter>();
for (int i = 0; i < extensions.length; i++) {
Extension extension = extensions[i];
ResponseWriter writer = (ResponseWriter)extension.getExtensionInstance();
String[] responseTypes = extension.getAttribute("responseType").split(