Created
October 12, 2011 13:46
-
-
Save solo-seven/1281256 to your computer and use it in GitHub Desktop.
Additional port bindings
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<deployment xmlns="urn:jboss:bean-deployer:2.0"> | |
<!-- Provides management tools with a ProfileService ManagementView | |
interface to the SBM and its components --> | |
<bean name="ServiceBindingManagementObject" | |
class="org.jboss.services.binding.managed.ServiceBindingManagementObject"> | |
<constructor> | |
<!-- The name of the set of bindings to use for this server --> | |
<parameter>${jboss.service.binding.set:ports-08}</parameter> | |
<!-- The binding sets --> | |
<parameter> | |
<set> | |
<inject bean="PortsDefaultBindings"/> | |
<inject bean="Ports01Bindings"/> | |
<inject bean="Ports02Bindings"/> | |
<inject bean="Ports03Bindings"/> | |
<inject bean="Ports08Bindings"/> | |
</set> | |
</parameter> | |
<!-- Base binding metadata that is used to create bindings for each set --> | |
<parameter><inject bean="StandardBindings"/></parameter> | |
</constructor> | |
</bean> | |
<!-- The ports-01 bindings are obtained by taking the base bindings and adding 100 to each port value --> | |
<bean name="Ports08Bindings" class="org.jboss.services.binding.impl.ServiceBindingSet"> | |
<constructor> | |
<!-- The name of the set --> | |
<parameter>ports-08</parameter> | |
<!-- Default host name --> | |
<parameter>${jboss.bind.address}</parameter> | |
<!-- The port offset --> | |
<parameter>800</parameter> | |
<!-- Set of bindings to which the "offset by X" approach can't be applied --> | |
<parameter><null/></parameter> | |
</constructor> | |
</bean> | |
</deployment> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment