org.jboss.ejb3
Class InitialContextFactory

java.lang.Object
  extended by org.jboss.ejb3.InitialContextFactory

public class InitialContextFactory
extends Object

Version:
$Revision: 70338 $
Author:
William DeCoste

Constructor Summary
InitialContextFactory()
           
 
Method Summary
static void close(Context context, Hashtable properties)
           
static Context getHAContext(Context ctx)
           
static InitialContext getInitialContext()
           
static InitialContext getInitialContext(Hashtable props)
           
static void setProperties(Properties properties)
           
static void setSecurity(String user, String password)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InitialContextFactory

public InitialContextFactory()
Method Detail

close

public static void close(Context context,
                         Hashtable properties)
                  throws NamingException
Throws:
NamingException

getInitialContext

public static InitialContext getInitialContext()
                                        throws NamingException
Throws:
NamingException

getInitialContext

public static InitialContext getInitialContext(Hashtable props)
                                        throws NamingException
Throws:
NamingException

getHAContext

public static Context getHAContext(Context ctx)
                            throws NamingException
Throws:
NamingException

setProperties

public static void setProperties(Properties properties)

setSecurity

public static void setSecurity(String user,
                               String password)


Copyright © 2009 JBoss, a division of Red Hat, Inc.. All Rights Reserved.