}
}
private MethodDef[] getAbstractMethods(DOReader reader)
throws ServerException {
ServiceMapper mapper = new ServiceMapper(reader.GetObjectPID());
Datastream methodmap = reader.GetDatastream(METHODMAP_DS, null);
if (methodmap != null) {
InputStream contentStream = methodmap.getContentStream();
try {
return mapper.getMethodDefs(new InputSource(contentStream));
} finally {
try {
contentStream.close();
} catch (IOException e) {
throw new FaultException(e);