public class ServiceLocator extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static org.apache.commons.logging.Log |
log |
| Modifier and Type | Method and Description |
|---|---|
static ServiceLocator |
getInstance() |
Object |
getStub(Class ejbInterfaceClass)
Get an ejb stub found with the supplied interface class in the local JNDI
tree
|
Object |
getStub(String ejbName)
Get an ejb stub found with the supplied name
|
Object |
getStub(String ejbName,
Class ejbInterfaceClass)
Deprecated.
use getStub(Class ejbInterfaceClass) or getStub(String ejbName)
instead
|
public static ServiceLocator getInstance() throws NamingException
NamingExceptionpublic Object getStub(String ejbName, Class ejbInterfaceClass) throws NamingException
ejbName - ejbInterfaceClass - NamingExceptionpublic Object getStub(Class ejbInterfaceClass) throws NamingException
ejbInterfaceClass - NamingExceptionpublic Object getStub(String ejbName) throws NamingException
ejbName - NamingExceptionCopyright © 2021. All rights reserved.