[ 
https://issues.apache.org/jira/browse/GERONIMO-5874?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13009574#comment-13009574
 ] 

viola.lu commented on GERONIMO-5874:
------------------------------------

Now only org.apache.geronimo.configs.transaction-1_6 module uses jca namespace
 <gbean name="ResourceBindings" 
class="org.apache.geronimo.gjndi.binding.ResourceBinding">
        <attribute 
name="format">{groupId}/{artifactId}/{j2eeType}/{name}</attribute>
        <attribute name="nameInNamespace">jca:</attribute>
        <attribute 
name="abstractNameQuery">?#org.apache.geronimo.naming.ResourceSource</attribute>
    </gbean>

if drop jca, i will change transaction-1.6 nameInNamespace attribute to another 
one, may ger. But still have to update KernelContextGBean, which extends 
writablecontext, which created its own context instance, not the ones(jca, ger, 
java) declared in naming-provider.xml of rmi-naming module. 

> Merge global context(jca) in KernelContextGbean into blueprint service 
> jcaContextProvider
> -----------------------------------------------------------------------------------------
>
>                 Key: GERONIMO-5874
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-5874
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: naming
>    Affects Versions: 3.0
>            Reporter: viola.lu
>            Assignee: viola.lu
>            Priority: Minor
>             Fix For: 3.0
>
>
> Before 3.0, all resource are bound to global context with jca prefix. But in 
> 3.0, now jca is exposed as blueprint service for use:
> <service id="jcaContextProvider"
>              interface="javax.naming.spi.ObjectFactory">
>         <service-properties>
>             <entry key="osgi.jndi.url.scheme" value="jca"/>
>         </service-properties>
>         <bean class="org.apache.geronimo.naming.WritableURLContextFactory">
>             <argument>
>                 <value>jca</value>
>             </argument>
>         </bean>
>     </service>
> So have to update KernelContextGBean, bind all gbeans implemented 
> resourcesource interface to jcaContextProvider 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to