BEA Systems, Inc.

WebLogic Server 8.1 API Reference

weblogic.common
Interface NameServicesDef


Deprecated. Deprecated in WebLogic Server 6.1.

public interface NameServicesDef

The NameServicesDef interface defines name services for the WebLogic Server.

Author:
Copyright © 2004 BEA Systems, Inc. All Rights Reserved.
See Also:
TengahInitialContextFactory

Method Summary
 javax.naming.Context getInitialContext()
          Deprecated. Deprecated in WebLogic Server 6.1.
 javax.naming.Context getInitialContext(java.util.Hashtable properties)
          Deprecated. Deprecated in WebLogic Server 6.1.
 

Method Detail

getInitialContext

public javax.naming.Context getInitialContext()
                                       throws javax.naming.NamingException
Deprecated. Deprecated in WebLogic Server 6.1.
Returns the initial naming context.

Returns:
Context of a naming system
Throws:
javax.naming.NamingException - if there is an error

getInitialContext

public javax.naming.Context getInitialContext(java.util.Hashtable properties)
                                       throws javax.naming.NamingException
Deprecated. Deprecated in WebLogic Server 6.1.
Returns the initial naming context.

Parameters:
properties - Hashtable containing initial properties.
Usage example:
 properties.put(Context.SECURITY_PRINCIPAL,"system");
 properties.put(Context.SECURITY_CREDENTIALS,"gumby1234");
 javax.naming.Context.getInitialContext(properties);
 
Returns:
Context of a naming system
Throws:
javax.naming.NamingException - if there is an error

Documentation is available at
http://download.oracle.com/docs/cd/E13222_01/wls/docs81