All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.wildfly.extras.creaper.commands.datasources.RemoveDataSource.groovy Maven / Gradle / Ivy

There is a newer version: 2.0.3
Show newest version
def ds = datasources.datasources.datasource.find { it.'@pool-name' == name }
if (!ds) {
    throw new IllegalStateException("Can't remove datasource $name as it does not exist in the configuration")
}

ds.replaceNode {}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy