|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openmdx.compatibility.base.application.spi.JndiServiceLocator_1
org.openmdx.compatibility.base.application.spi.StandardServiceLocator_1
Standard JNDI access
public class StandardServiceLocator_1
This service locator allowas native registration and lookup as well as JNDI lookups.
| Constructor Summary | |
|---|---|
StandardServiceLocator_1()
Deprecated. Allow dynamic class loading |
|
| Method Summary | |
|---|---|
void |
bind(String registrationId,
Object object)
Deprecated. Bind a service to the registry |
static StandardServiceLocator_1 |
getInstance()
Deprecated. Get the most recently created StandardServiceLocator_1 instance. |
static boolean |
hasInstance()
Deprecated. Tells whether we are in an applicatioon server environment |
Enumeration |
listBindings(String registrationId)
Deprecated. |
Object |
lookup(String registrationId)
Deprecated. Lookup a service |
void |
unbind(String registrationId)
Deprecated. Removes a service from the registry |
| Methods inherited from class org.openmdx.compatibility.base.application.spi.JndiServiceLocator_1 |
|---|
activate, deactivate, initialContext |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StandardServiceLocator_1()
| Method Detail |
|---|
public static StandardServiceLocator_1 getInstance()
This method never returns null.
public static boolean hasInstance()
public Object lookup(String registrationId)
throws ServiceException
ServiceLocator_1_0
lookup in interface ServiceLocator_1_0lookup in class JndiServiceLocator_1registrationId - A colon-separated list of naming elements
ServiceException
public void bind(String registrationId,
Object object)
throws ServiceException
ServiceLocator_1_0
bind in interface ServiceLocator_1_0bind in class JndiServiceLocator_1registrationId - A colon-separated list of naming elementsobject - The object to be bound, usually the service's connection
factory
ServiceException
public void unbind(String registrationId)
throws ServiceException
ServiceLocator_1_0
unbind in interface ServiceLocator_1_0unbind in class JndiServiceLocator_1registrationId - A colon-separated list of naming elements
ServiceException
public Enumeration listBindings(String registrationId)
throws ServiceException
listBindings in interface ServiceLocator_1_0listBindings in class JndiServiceLocator_1ServiceException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||