2004.04.29


com.jdc.naming
Class JNDI

java.lang.Object
  |
  +--com.jdc.lang.Object
        |
        +--com.jdc.naming.JNDI

public class JNDI
extends Object

JNDI represents the Java Naming and Directory Interface™ (JNDI). Use this class to create Global or Local JNDI naming references.

Version:
1.0
Author:
Jay Damon

Nested Class Summary
 class JNDI.DataSource
          DataSource represents a Java Naming and Directory Interface™ (JNDI) DataSource name.
 class JNDI.Global
          Global represents a global Java Naming and Directory Interface™ (JNDI) name.
 class JNDI.Local
          Local represents a local Java Naming and Directory Interface™ (JNDI) name.
 
Field Summary
static String SEPARATOR
          The Java Naming and Directory Interface™ (JNDI) separator.
 
Fields inherited from class com.jdc.lang.Object
string
 
Method Summary
static JNDI.Global getGlobal()
          Returns a Global JNDI naming object.
static JNDI.Local getLocal()
          Returns a Local JNDI naming object.
static String getLocalEnterpriseJavaBean(String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SEPARATOR

public static final String SEPARATOR
The Java Naming and Directory Interface™ (JNDI) separator.

See Also:
Constant Field Values
Method Detail

getGlobal

public static JNDI.Global getGlobal()
Returns a Global JNDI naming object.

Returns:
A Global JNDI naming object.

getLocal

public static JNDI.Local getLocal()
Returns a Local JNDI naming object.

Returns:
A Local JNDI naming object.

getLocalEnterpriseJavaBean

public static String getLocalEnterpriseJavaBean(String name)
                                         throws IllegalArgumentException
Returns:
IllegalArgumentException

2004.04.29



Copyright © 2004 J. Damon & Co.; All Rights Reserved WorldWide.