Velocity.init(properties);
}
public void writeTo(Object o, ResponseTemplate annotation, Annotation[] annotations, MediaType mediaType,
MultivaluedMap<String, Object> httpHeaders, OutputStream os) throws IOException {
ModelWrapper model = new ModelWrapper(this.model.getData(), manager);
model.put(annotation.responseName(), o);
Template template = null;
template = Velocity.getTemplate(annotation.value());
OutputStreamWriter writer = new OutputStreamWriter(os);