org.wildfly.extras.creaper.commands.datasources.RemoveXADataSource.groovy Maven / Gradle / Ivy
def ds = datasources.datasources.'xa-datasource'.find { it.'@pool-name' == name }
if (!ds) {
throw new IllegalStateException("Can't remove XA datasource $name as it does not exist in the configuration")
}
ds.replaceNode {}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy