[jboss-jira] [JBoss JIRA] (WFLY-4857) use ConnectionListener implementation

Hynek Švábek (JIRA) issues at jboss.org
Thu Jul 2 03:56:02 EDT 2015


Hynek Švábek created WFLY-4857:
----------------------------------

             Summary: use ConnectionListener implementation
                 Key: WFLY-4857
                 URL: https://issues.jboss.org/browse/WFLY-4857
             Project: WildFly
          Issue Type: Bug
          Components: JCA
            Reporter: Hynek Švábek
            Assignee: Jesper Pedersen


Hi,

I have tests for implementation ConnectionListener:
org.jboss.jca.adapters.jdbc.spi.listener.ConnectionListener

My questions is:
*Where can I put connectionListener impl?*
If doesn't exist any other possibility can you add new one?

I follow this
https://developer.jboss.org/thread/240575
{code}
In the "org.jboss.ironjacamar.jdbcadapters:main" module add a dependency to your module with the listener implementation.

BTW, AllConnections is a bit dangerous - don't you want Gracefully ? And, you don't need use-strict-min when min-pool-size is 0.
{code}

But is not OK change module.xml
According to Brian Stansberry's comment https://github.com/wildfly/wildfly/pull/7499/files#r33722928
{code}
Plugin points exposed via classname attributes in the WildFly management model should also include an attribute that allows the user to specify the name of the module in which the class resides, and the subsystem should load the class from that module.

If a user alters one of our modules, a patch affecting that module will not apply.
{code}




--
This message was sent by Atlassian JIRA
(v6.3.15#6346)



More information about the jboss-jira mailing list