2012-04-25 54 views

回答

5

接口地址接受表达式。默认值如下所示:

<interfaces> 
    <interface name="management"> 
     <inet-address value="${jboss.bind.address.management:127.0.0.1}"/> 
    </interface> 
    <interface name="public"> 
     <inet-address value="${jboss.bind.address:127.0.0.1}"/> 
    </interface> 
    <!-- TODO - only show this if the jacorb subsystem is added --> 
    <interface name="unsecure"> 
     <!-- Used for IIOP sockets in the standard configuration. 
      To secure JacORB you need to setup SSL --> 
     <inet-address value="${jboss.bind.address.unsecure:127.0.0.1}"/> 
    </interface> 
</interfaces> 

因为他们表达他们可以很容易地改变使用相同的属性值,像这样:

<interfaces> 
    <interface name="management"> 
     <inet-address value="${jboss.bind.address:127.0.0.1}"/> 
    </interface> 
    <interface name="public"> 
     <inet-address value="${jboss.bind.address:127.0.0.1}"/> 
    </interface> 
    <!-- TODO - only show this if the jacorb subsystem is added --> 
    <interface name="unsecure"> 
     <!-- Used for IIOP sockets in the standard configuration. 
      To secure JacORB you need to setup SSL --> 
     <inet-address value="${jboss.bind.address:127.0.0.1}"/> 
    </interface> 
</interfaces> 
+0

我不喜欢JBoss使用的语言。它应该是“子网接口”或“IP地址”,而不是该术语的混合体。调用一个接口“地址”真的很混乱。 – djangofan 2013-05-06 19:14:28

相关问题