"rareddy" wrote :
| anonymous wrote : where you could extend the current DataSource templates and add
specific properties. For this you would not need any specific deployers integration code.
| Yeah, this sounds like what I need to do. Is there any code sample you can point me
towards.
|
Sure. Basically ProfileService DeploymentTemplates are based on ManagedProperties as well.
It consists of a Template which actually generates a deployment and a TemplateInfo which
contains the values which can be modified and are exposed to JOPR.
https://svn.jboss.org/repos/jbossas/branches/Branch_5_x/connector/src/mai...
https://svn.jboss.org/repos/jbossas/branches/Branch_5_x/connector/src/mai...
Those are the ones related to ConnectionFactories. Unfortunately this seems a bit messy,
also the handling of config-properties is a bit weird.
Maybe you only need to extend the TemplateInfo and add some different default values.
You can also look at jboss-jca.deployer/META-INF/jca-deployers-jboss-beans.xml - on how we
instantiate the templates, those should automatically appear in the ManagementView.
"rareddy" wrote :
| anonymous wrote : In case this has to be exposed differently to JOPR e.g. under a
different category then it gets more complicated.
| Yes, we want to tie this into JOPR plugin to under a different component type that are
specific to Teiid. That is reason I am trying to expose these beans to Profile Service.
|
Hmm this might need some changes on our side, when creating the managed objects based on
the meta data. I assume the difference between a normal ConnectionFactory deployment and a
Teiid one are some specific properties in the deployment descriptor ?
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4265571#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...