<?xml version="1.0" ?>
<!--
  ~ Copyright The WildFly Authors
  ~ SPDX-License-Identifier: Apache-2.0
  -->

<layer-spec xmlns="urn:jboss:galleon:layer-spec:2.0" name="iiop-openjdk">
    <props>
        <prop name="org.wildfly.rule.add-on" value="rpc,iiop" />
        <prop name="org.wildfly.rule.add-on-depends-on" value="none" />
        <prop name="org.wildfly.rule.add-on-description" value="Support for IIOP."/>
    </props>
    <dependencies>
        <layer name="base-server"/> 
        <layer name="naming"/>
    </dependencies>

    <feature spec="interface">
        <param name="interface" value="unsecure"/>
        <param name="inet-address" value="${jboss.bind.address.unsecure:127.0.0.1}"/>
    </feature>
    <feature spec="socket-binding-group">
        <param name="socket-binding-group" value="standard-sockets" />
        <param name="port-offset" value="${jboss.socket.binding.port-offset:0}"/>
        <param name="default-interface" value="public"/>
        <feature-group name="iiop-sockets"/>
    </feature>

    <feature-group name="iiop-openjdk"/>
</layer-spec>