[jboss-jira] [JBoss JIRA] (WFLY-337) Get rid of reflection configuring the ProtocolHandler in WebConnectorService

Kabir Khan (JIRA) jira-events at lists.jboss.org
Tue Aug 13 05:22:26 EDT 2013


     [ https://issues.jboss.org/browse/WFLY-337?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kabir Khan closed WFLY-337.
---------------------------

    Fix Version/s:     (was: 8.0.0.Beta1)
       Resolution: Won't Fix


With the move to undertow this is no longer relevant
                
> Get rid of reflection configuring the ProtocolHandler in WebConnectorService
> ----------------------------------------------------------------------------
>
>                 Key: WFLY-337
>                 URL: https://issues.jboss.org/browse/WFLY-337
>             Project: WildFly
>          Issue Type: Feature Request
>          Components: Web (JBoss Web)
>    Affects Versions: 8.0.0.Alpha3
>            Reporter: Kabir Khan
>            Assignee: Remy Maucherat
>
> A lot of the set methods do
> {code}
>                         if (ssl.hasDefined(Constants.PASSWORD)) {
>                             Method m = connector.getProtocolHandler().getClass().getMethod("setSSLPassword", String.class);
>                             m.invoke(connector.getProtocolHandler(), ssl.get(Constants.PASSWORD).asString());
>                         }
>                         if (ssl.hasDefined(Constants.CERTIFICATE_KEY_FILE)) {
>                             Method m = connector.getProtocolHandler().getClass().getMethod("setSSLCertificateKeyFile", String.class);
>                             m.invoke(connector.getProtocolHandler(), ssl.get(Constants.CERTIFICATE_KEY_FILE).asString());
>                         }
>                         //etc.
> {code}
> The ProtocolHandler inteface does not expose them, so maybe they should go there or another common interface for configuring PH's

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list