|
||||||||||
| 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.SimpleServiceLocator_1
public class SimpleServiceLocator_1
SimpleServiceLocator_1
| Constructor Summary | |
|---|---|
SimpleServiceLocator_1()
Deprecated. Constructor |
|
SimpleServiceLocator_1(Path containerInstance)
Deprecated. Constructor |
|
| Method Summary | |
|---|---|
void |
bind(String registrationId,
Object object)
Deprecated. Bind a service to the registry |
Context |
initialContext()
Deprecated. Gets or creates an initial context |
Enumeration |
listBindings(String registrationId)
Deprecated. |
Object |
lookup(String registrationId)
Deprecated. Lookup a service |
protected static String |
toJndiName(String registrationId)
Deprecated. Make the registration id JNDI compliant |
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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SimpleServiceLocator_1()
public SimpleServiceLocator_1(Path containerInstance)
containerInstance - | Method Detail |
|---|
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 Enumeration listBindings(String registrationId)
throws ServiceException
listBindings in interface ServiceLocator_1_0listBindings in class JndiServiceLocator_1ServiceException
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 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
ServiceExceptionprotected static String toJndiName(String registrationId)
public Context initialContext()
JndiServiceLocator_1
initialContext in class JndiServiceLocator_1
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||