[jboss-jira] [JBoss JIRA] (WFLY-8512) Public undertow capability service values expose org.jboss.msc.service.Service methods

Paul Ferraro (JIRA) issues at jboss.org
Wed Apr 5 08:15:00 EDT 2017


Paul Ferraro created WFLY-8512:
----------------------------------

             Summary: Public undertow capability service values expose org.jboss.msc.service.Service methods
                 Key: WFLY-8512
                 URL: https://issues.jboss.org/browse/WFLY-8512
             Project: WildFly
          Issue Type: Bug
          Components: Web (Undertow)
    Affects Versions: 11.0.0.Alpha1
            Reporter: Paul Ferraro
            Assignee: Stuart Douglas


Undertow new exposes UndertowService, Server, Host, etc. to other subsystems as service values of public capabilities.   However, these objects all implement Service, and thus expose start/stop methods to their dependents. This is poor encapsulation.  Ideally, we should extract interfaces from these objects such that the corresponding capabilities only expose methods in explicitly in their contract.



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the jboss-jira mailing list