[jboss-user] [JNDI and Naming] - Binding a SessionFactory

Lulseged Zerfu do-not-reply at jboss.com
Tue Apr 13 03:31:53 EDT 2010


Lulseged Zerfu [http://community.jboss.org/people/lulseged] replied to the discussion

"Binding a SessionFactory"

To view the discussion, visit: http://community.jboss.org/message/537075#537075

--------------------------------------------------------------
Hi

 I have posted the stack trace earlier. I don't know if the format is correct. The code is not that much.

package com.ericsson.ims.pag.xdms.resource.list.session;

import java.util.Hashtable;

import javax.naming.Context;
import javax.naming.InitialContext;
import javax.naming.NamingException;
import javax.naming.spi.InitialContextFactory;

public class SessionFactoryContext implements InitialContextFactory
{

    public Context getInitialContext(Hashtable<?, ?> environment) throws NamingException
    {
        return new InitialContext(environment);
    }
}


Lulseged

--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/537075#537075]

Start a new discussion in JNDI and Naming at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2083]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100413/03d829ec/attachment.html 


More information about the jboss-user mailing list