use of org.apache.cxf.service.model.AbstractMessageContainer in project cxf by apache.
the class JAXBDataBase method getReturnMethodAnnotations.
private Annotation[] getReturnMethodAnnotations(MessagePartInfo mpi) {
AbstractMessageContainer mi = mpi.getMessageInfo();
if (mi == null || !isOutputMessage(mi)) {
return null;
}
OperationInfo oi = mi != null ? mi.getOperation() : null;
return oi != null ? (Annotation[]) oi.getProperty("method.return.annotations") : null;
}
Aggregations