-
2. Re: Looking for a hook to manage data sources
olpf Oct 22, 2012 10:30 AM (in response to jesper.pedersen)Thanks for the link, but my problem is when to do this. I implemented the data source handling already using the java CLI api. But I need it on the right phase. It should be after the deployments, so that the data source add/remove will not be blocked. I used the ModelClientController to execute the ModelNode requests. Hope this is not a problem.
I get the data source properties like name etc. dynamically from another system. So I do not deploy static xmls file.
-
3. Re: Looking for a hook to manage data sources
olpf Oct 22, 2012 10:43 AM (in response to olpf)This looks promising: https://docs.jboss.org/author/display/AS7/Add+the+deployers
But where is Extension class defined? There are no imports in the example.
-
4. Re: Looking for a hook to manage data sources
ctomc Oct 22, 2012 11:09 AM (in response to olpf)hi,
dont use 70 docs for extending but rather 71
https://docs.jboss.org/author/display/AS71/Extending+JBoss+AS+7
if you folow the manual, you get everything you need to get started
or you can also find complete example here https://github.com/jbossas/archetypes/tree/master/jboss-as-subsystem-example
--
tomaz