BEA Systems, Inc.

com.beasys.util.helper
Class JNDIHelper

java.lang.Object
  |
  +--com.beasys.util.helper.JNDIHelper

public class JNDIHelper
extends java.lang.Object
implements ToolkitConstants

Single point of access to the application server. This should make it easy to swap out servers, and processes.


Fields inherited from interface com.beasys.util.ToolkitConstants
DEFAULT_ID_CACHE, DEFAULT_ID_PROCEDURE, DEFAULT_JDBC_POOL_NAME, DEFAULT_LOGGING_LEVEL, DEFAULT_WEBLOGIC_HOST, DEFAULT_WEBLOGIC_PORT, ID_CACHE, ID_PROCEDURE, JDBC_POOL_NAME, LOG_DEBUG, LOG_ERROR, LOG_FATAL, LOG_INFO, LOG_SECURITY, LOG_WARNING, LOGGING_LEVEL, WEBLOGIC_HOST, WEBLOGIC_PORT
 
Constructor Summary
JNDIHelper()
           
 
Method Summary
static java.lang.Object getService(java.lang.String aLookupName)
          Connect to a reference in JNDI referred to by the lookup name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JNDIHelper

public JNDIHelper()
Method Detail

getService

public static java.lang.Object getService(java.lang.String aLookupName)
                                   throws ToolkitException
Connect to a reference in JNDI referred to by the lookup name.
Parameters:
String - the lookup name.
Returns:
Object the object referenced by the name. Use this to get handles to Home interfaces, RMI objects, etc.
Throws:
ToolkitException - holder for any exception

BEA Systems, Inc.

Copyright © 2000 BEA Systems, Inc. All Rights Reserved