net.sf.webphotos.locator
Class BasicEJBLocator

java.lang.Object
  extended by net.sf.webphotos.locator.BasicEJBLocator
Direct Known Subclasses:
EJBDAOLocator

public class BasicEJBLocator
extends Object

Author:
Guilherme

Field Summary
protected  InitialContext cachedContext
           
static String EJB_CONTEXT_FACTORY
           
static String EJB_SERVER
           
static String EJB_URL_PREFIXES
           
 
Constructor Summary
BasicEJBLocator()
           
 
Method Summary
 InitialContext getEJBContext()
           
 Context getRemoteEJBsInitialContext()
           
 void initEJBContext()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

cachedContext

protected InitialContext cachedContext

EJB_URL_PREFIXES

public static String EJB_URL_PREFIXES

EJB_CONTEXT_FACTORY

public static String EJB_CONTEXT_FACTORY

EJB_SERVER

public static String EJB_SERVER
Constructor Detail

BasicEJBLocator

public BasicEJBLocator()
Method Detail

initEJBContext

public void initEJBContext()

getEJBContext

public InitialContext getEJBContext()
Returns:

getRemoteEJBsInitialContext

public Context getRemoteEJBsInitialContext()
                                    throws NamingException
Returns:
Throws:
NamingException


Copyright © 2008-2012. All Rights Reserved.