[wildfly-dev] WFLY-3512 - disable datasource undeploy application
Claudio Miranda
claudio at claudius.com.br
Sat Oct 25 08:33:06 EDT 2014
Hi, related to WFLY-3512, disable a datasource used by some
application, undeploy the application, tested in 8.1 and 9.0 snapshot.
I saw that org.jboss.as.connector.subsystems.datasources.DataSourceDisable
(connector module) is called, but there is no previous check about
deployments that uses it.
How can datasource subsystem get to know the deployment dependencies
for resources (datasource and resource adapter) ?
Is there a listener mechanism where datasource subsystem can listen to
deploy enablement, and check the resources dependencies ? This way,
datasource subsystem can have a lista of dependency and check it
before disable/remove of datasources.
1. https://issues.jboss.org/browse/WFLY-3512
--
Claudio Miranda
claudio at claudius.com.br
http://www.claudius.com.br
More information about the wildfly-dev
mailing list