File | Line |
---|
org/apache/geronimo/converter/bea/WebLogic81DatabaseConverter.java | 68 |
org/apache/geronimo/converter/jboss/JBoss4DatabaseConverter.java | 57 |
parseDocument(doc, status, noTx, local, xa);
} catch (ParserConfigurationException e) {
throw (IOException)new IOException().initCause(e);
} catch (SAXException e) {
throw (IOException)new IOException().initCause(e);
}
DatabaseConversionStatus result = new DatabaseConversionStatus();
result.setMessages((String[]) status.toArray(new String[status.size()]));
result.setNoTXPools((JDBCPool[]) noTx.toArray(new JDBCPool[noTx.size()]));
result.setJdbcPools((JDBCPool[]) local.toArray(new JDBCPool[noTx.size()]));
result.setXaPools((XADatabasePool[]) xa.toArray(new XADatabasePool[xa.size()]));
return result;
}
private static void parseDocument(Document doc, List status, List noTx, List local, List xa) { |