Package com.sun.ts.lib.util

# Class TSNamingContext

java.lang.Object
com.sun.ts.lib.util.TSNamingContext

All Implemented Interfaces:
  `TSNamingContextInterface`, `Serializable`

public class TSNamingContext extends Object implements TSNamingContextInterface, Serializable
TSNamingContext provides a wrapper for all lookups.

See Also:
  - Serialized Form

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `TSNamingContext()`
  `TSNamingContext(Properties pp)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Object`
  `lookup(String s)`
  Provides lookup of an object.
  `Object`
  `lookup(String s, Class c)`
  Provides lookup of an object.

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### TSNamingContext

    public TSNamingContext() throws Exception
    Throws:
      `Exception`

  - ### TSNamingContext

    public TSNamingContext(Properties pp) throws Exception
    Throws:
      `Exception`

- ## Method Details

  - ### lookup

    public Object lookup(String s, Class c) throws Exception
    Provides lookup of an object.
    Specified by:
      `lookup` in interface `TSNamingContextInterface`
    Parameters:
      `s` - object name to lookup
      `c` - object class to narrow to if remote object if null no narrow is performed.
    Throws:
      `Exception`

  - ### lookup

    public Object lookup(String s) throws Exception
    Provides lookup of an object.
    Specified by:
      `lookup` in interface `TSNamingContextInterface`
    Parameters:
      `s` - object name to lookup
    Throws:
      `Exception`