Sounds good.
On 3/26/11 3:11 PM, Scott Stark wrote:
See
https://issues.jboss.org/browse/JBAS-9151. Unless there are
objections I'll knock it out by Tuesday.
On 3/26/11 1:03 PM, Scott Stark wrote:
> So this is not working as I want, and cannot based on the current
> NetworkInterfaceService because it returns the address of the interface
> that matches as bind address. What I need is for the bind address to be
> taken from the criteria because the interface does not list all of the
> allowed bind addresses it supports. This is for a rhel instance where
> the loopback interface allows any 127.0.* address to be bound against
> it. So, what I need is an
>
> public interface InterfaceCriteriaWithAddress extends InterfaceCriteria {
>
> /**
> * Gets the InetAddress to use if the criteria matches a network
> interface
> *
> * @return<code>true</code> if the given interface/address
meets
> this object's
> * criteria
> *
> * @throws SocketException
> */
> InetAddress getAddress();
> }
>
> and then a LoopbackInterfaceCriteriaWithAddress so that I can specify
> the default interface as:
>
> <interfaces>
> <interface name="default">
> <loopback value="127.0.0.1"/>
> </interface>
>
_______________________________________________
jboss-as7-dev mailing list
jboss-as7-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
--
Brian Stansberry
Principal Software Engineer
JBoss by Red Hat