com.bankframe.ei.jndi
Class ObjectLookup

java.lang.Object
  extended bycom.bankframe.ei.jndi.ObjectLookup

public class ObjectLookup
extends java.lang.Object


Method Summary
static javax.naming.InitialContext createBankFrameInitialContext()
          Deprecated. use com.bankframe.ejb.Server instead
static javax.naming.InitialContext createInitialContext()
          Deprecated. use com.bankframe.ejb.Server instead
static javax.naming.InitialContext createInitialContext(java.util.Hashtable props)
          Deprecated. use com.bankframe.ejb.Server instead
static javax.naming.InitialContext getBankFrameInitialContext()
          Deprecated. use com.bankframe.ejb.Server instead
static javax.naming.InitialContext getInitialContext()
          Deprecated. use com.bankframe.ejb.Server instead
static java.lang.Object lookup(java.lang.String jndiName, java.lang.Class objectClass)
          Deprecated. use com.bankframe.ejb.Server instead
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getBankFrameInitialContext

public static javax.naming.InitialContext getBankFrameInitialContext()
                                                              throws ProcessingErrorException
Deprecated. use com.bankframe.ejb.Server instead

This method will create an initial context using the settings specified in BankframeResource.properties Note: this method uses lazy initialization to return the same bankframe initial context each time. Therefore do not call releaseInitialContext on the returned instance

Throws:
ProcessingErrorException

getInitialContext

public static javax.naming.InitialContext getInitialContext()
                                                     throws ProcessingErrorException
Deprecated. use com.bankframe.ejb.Server instead

This method gets a default initial context. Note: this method uses lazy initialization to return the same bankframe initial context each time. Therefore do not call releaseInitialContext on the returned instance

Throws:
ProcessingErrorException

createBankFrameInitialContext

public static javax.naming.InitialContext createBankFrameInitialContext()
                                                                 throws ProcessingErrorException
Deprecated. use com.bankframe.ejb.Server instead

This method creates a new bankframe initial context

Throws:
ProcessingErrorException

createInitialContext

public static javax.naming.InitialContext createInitialContext()
                                                        throws ProcessingErrorException
Deprecated. use com.bankframe.ejb.Server instead

This method creates a new initial context

Throws:
ProcessingErrorException

createInitialContext

public static javax.naming.InitialContext createInitialContext(java.util.Hashtable props)
                                                        throws ProcessingErrorException
Deprecated. use com.bankframe.ejb.Server instead

This method will create an initial context using the specified properties

Throws:
ProcessingErrorException

lookup

public static java.lang.Object lookup(java.lang.String jndiName,
                                      java.lang.Class objectClass)
                               throws ProcessingErrorException
Deprecated. use com.bankframe.ejb.Server instead

This method will lookup the specified JNDI object and narrow it to the specified type. If the JNDI name is prefixed with 'java:' then getInitialContext() will be used to create the initial context Otherwise getBankFrameInitialContext() will be used to create the initial context

Throws:
ProcessingErrorException


Copyright © 2004 Siebel Systems, Inc. All rights reserved.