[jboss-jira] [JBoss JIRA] (AS7-3997) Jacorb subsystem uses magic socket binding names

Brian Stansberry (JIRA) jira-events at lists.jboss.org
Thu Mar 1 18:20:36 EST 2012


Brian Stansberry created AS7-3997:
-------------------------------------

             Summary: Jacorb subsystem uses magic socket binding names
                 Key: AS7-3997
                 URL: https://issues.jboss.org/browse/AS7-3997
             Project: Application Server 7
          Issue Type: Bug
          Components: IIOP
    Affects Versions: 7.1.0.Final
            Reporter: Brian Stansberry
            Assignee: Stefan Guilhen


In JacORBSubsystemAdd:

        CorbaORBService orbService = new CorbaORBService(props);
        final ServiceBuilder<ORB> builder = context.getServiceTarget().addService(
                CorbaORBService.SERVICE_NAME, orbService);
        // inject the socket bindings that specify the JacORB IIOP and IIOP/SSL ports.
        builder.addDependency(SocketBinding.JBOSS_BINDING_NAME.append(JACORB_SOCKET_BINDING), SocketBinding.class,
                orbService.getJacORBSocketBindingInjector());
        builder.addDependency(SocketBinding.JBOSS_BINDING_NAME.append(JACORB_SSL_SOCKET_BINDING), SocketBinding.class,
                orbService.getJacORBSSLSocketBindingInjector());

The JACORB_SOCKET_BINDING and JACORB_SSL_SOCKET_BINDING values should be coming from some configuration attributes, which perhaps have those constants as their default values. Users can name socket-binding configs whatever they want; the names we provide in our standard configs are just obvious defaults.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list