Skip to content

Instantly share code, notes, and snippets.

@guaxinim
Created May 14, 2013 17:03
Show Gist options
  • Save guaxinim/5577618 to your computer and use it in GitHub Desktop.
Save guaxinim/5577618 to your computer and use it in GitHub Desktop.
Dynamic JNDI Bindings on EAP 6
JNDI Bindings lookup dinamico:
<subsystem xmlns="urn:jboss:domain:naming:1.1" >
<bindings>
<simple name="java:global/a" value="100" type="int" />
<object-factory name="java:global/b" module="com.acme" class="org.acme.MyObjectFactory" />
<lookup name="java:global/c" lookup="java:global/b" />
</bindings>
</subsystem>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment