|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ow2.jasmine.monitoring.eos.common.jndilocator.ServiceLocator
public class ServiceLocator
| Method Summary | |
|---|---|
Context |
getInitialContext()
Get initial context - Carol JNDI |
Context |
getInitialContext(String url)
Get initial context - Carol JNDI |
static ServiceLocator |
getInstance()
|
Object |
getRemoteObject(String jndiName)
Gets the remote object, adds it to the cache and returns it. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static ServiceLocator getInstance()
public Context getInitialContext()
throws ServiceLocatorException
NamingException, - ServiceLocatorException
ServiceLocatorException
public Context getInitialContext(String url)
throws ServiceLocatorException
url - Accepts a string that represents the Context.PROVIDER_URL parameter.
NamingException, - ServiceLocatorException
ServiceLocatorException
public Object getRemoteObject(String jndiName)
throws ServiceLocatorException
jndiName -
ServiceLocatorException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||