BEA Systems, Inc.

WebLogic Server 5.1.0 API Reference

weblogic.common
Interface NameServicesDef


public interface NameServicesDef

The NameServicesDef interface defines name services for the WebLogic Server.

Author:
Copyright (c) 1996-1998 by WebLogic, Inc. All Rights Reserved., Copyright (c) 1998-1999 by BEA Systems, Inc. All Rights Reserved.
Copyright © 2000 BEA Systems, Inc. All Rights Reserved.
See Also:
TengahInitialContextFactory

Method Summary
 javax.naming.Context getInitialContext()
          Returns the initial naming context.
 javax.naming.Context getInitialContext(java.util.Hashtable properties)
          Returns the initial naming context.
 

Method Detail

getInitialContext

public javax.naming.Context getInitialContext()
                                       throws javax.naming.NamingException
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
Returns the initial naming context.

Parameters:
properties - Hashtable containing initial properties
Returns:
Context of a naming system
Throws:
javax.naming.NamingException - if there is an error

Documentation is available at
http://www.weblogic.com/docs51