[jboss-jira] [JBoss JIRA] Resolved: (JBNAME-11) Create an InitialContextFactoryBean
Scott M Stark (JIRA)
jira-events at lists.jboss.org
Fri Sep 26 20:53:20 EDT 2008
[ https://jira.jboss.org/jira/browse/JBNAME-11?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Scott M Stark resolved JBNAME-11.
---------------------------------
Fix Version/s: 5.0.0.GA
Resolution: Done
The org.jboss.naming.InitialContextFactoryBean supports the InitialContext creation. The following bean from the test
org.jnp.test.NamingMCUnitTest deployment illustrates its usage:
<?xml version="1.0" encoding="UTF-8"?>
<deployment xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="urn:jboss:bean-deployer bean-deployer_2_0.xsd"
xmlns="urn:jboss:bean-deployer:2.0">
<bean name="InitialContextFactory" class="org.jboss.naming.InitialContextFactoryBean">
<property name="env">
<map class="java.util.Properties" keyClass="java.lang.String" valueClass="java.lang.String">
<entry>
<key>java.naming.factory.initial</key>
<value>org.jnp.interfaces.LocalOnlyContextFactory</value>
</entry>
<entry>
<key>java.naming.factory.url</key>
<value>org.jboss.naming:org.jnp.interfaces</value>
</entry>
</map>
</property>
<depends>testSingletonNamingServer</depends>
</bean>
</deployment>
> Create an InitialContextFactoryBean
> -----------------------------------
>
> Key: JBNAME-11
> URL: https://jira.jboss.org/jira/browse/JBNAME-11
> Project: JBoss Naming
> Issue Type: Sub-task
> Components: naming
> Reporter: Scott M Stark
> Assignee: Scott M Stark
> Fix For: 5.0.0.GA
>
>
> We need an InitialContextFactoryBean that creates an InitialContext from the bean naming environment properties
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list