public class LocatorFactory
extends java.lang.Object
Locator| Constructor and Description | 
|---|
LocatorFactory()  | 
| Modifier and Type | Method and Description | 
|---|---|
static Locator | 
createLocator()
Default locator factory method, assumes the client to run within an already established initial context. 
 | 
static Locator | 
createLocator(java.util.Hashtable pContextProps)
Factory method to create an ejb based locator instance 
 | 
public static Locator createLocator() throws java.lang.Exception
java.lang.Exception - in case the locator could not be createdpublic static Locator createLocator(java.util.Hashtable pContextProps) throws java.lang.Exception
pContextProps - standard java.naming.InitialContext paramsjava.lang.Exception - in case the locator could not be created