[jboss-jira] [JBoss JIRA] Resolved: (JBAS-8825) Default interface for a socket binding should come via SocketBindingManagerService
Brian Stansberry (JIRA)
jira-events at lists.jboss.org
Sun Mar 20 22:24:45 EDT 2011
[ https://issues.jboss.org/browse/JBAS-8825?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brian Stansberry resolved JBAS-8825.
------------------------------------
Fix Version/s: 7.0.0.Beta1
(was: 7.0.0.CR1)
Resolution: Done
> Default interface for a socket binding should come via SocketBindingManagerService
> ----------------------------------------------------------------------------------
>
> Key: JBAS-8825
> URL: https://issues.jboss.org/browse/JBAS-8825
> Project: JBoss Application Server
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Domain Management
> Affects Versions: 7.0.0.Alpha1
> Reporter: Brian Stansberry
> Assignee: Brian Stansberry
> Fix For: 7.0.0.Beta1
>
>
> The default interface used for socket bindings comes from an attribute on the socket-binding-group element. The XML parser tracks the value and then adds it to the operation to create a socket-binding if the <socket-binding> element doesn't declare an interface.
> This parser-based approach isn't sufficient as it only works for the parsing use case. Applying it elsewhere forces operations on child model resources (socket-bindings) to find out information stored in parent resources, which we want to avoid.
> Better IMO is to make the "interface" field on the model representation of a socket binding nullable; the parser should just pass through what the XML says. The SocketBindingManagerService should store the default interface, like it currently stores the port offset. SocketBinding.getAddress() can then ask for the default address from SocketBindingManagerService if its own networkInterface field is null.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list