BEA Systems, Inc.

theory.smart.foundation
Class SmartContextHome

java.lang.Object
  |
  +--theory.smart.foundation.SmartContextHome

public class SmartContextHome
extends java.lang.Object


Field Summary
static int INITIAL_CONTEXT_CACHE_SIZE
           
 
Constructor Summary
SmartContextHome()
           
 
Method Summary
static javax.naming.Context create()
          Creates a new InitialContext.
static javax.naming.Context create(java.util.Hashtable environment)
          Creates a new InitialContext with a given environment.
static javax.naming.Context create(java.lang.Object client)
          Creates a new InitialContext.
static javax.naming.Context create(java.lang.Object client, java.util.Hashtable environment)
          Creates a new InitialContext with a given environment.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INITIAL_CONTEXT_CACHE_SIZE

public static final int INITIAL_CONTEXT_CACHE_SIZE
Constructor Detail

SmartContextHome

public SmartContextHome()
Method Detail

create

public static final javax.naming.Context create()
                                         throws javax.naming.NamingException
Creates a new InitialContext.

create

public static final javax.naming.Context create(java.util.Hashtable environment)
                                         throws javax.naming.NamingException
Creates a new InitialContext with a given environment.

create

public static final javax.naming.Context create(java.lang.Object client)
                                         throws javax.naming.NamingException
Creates a new InitialContext. If possible, this factory will return a cached context, using the supplied client Object as a key.
Parameters:
client - The client of the returned context object.

create

public static final javax.naming.Context create(java.lang.Object client,
                                                java.util.Hashtable environment)
                                         throws javax.naming.NamingException
Creates a new InitialContext with a given environment. If possible, this factory will return a cached context, using the supplied client Object as a key.
Parameters:
client - The client of the returned context object.

BEA Systems, Inc.

Copyright © 2000 BEA Systems, Inc. All Rights Reserved