public interface JNDIService
Modifier and Type | Field and Description |
---|---|
static String |
JMS_CONNECTION_FACTORY_JNDI_DEFAULT_VALUE
Default value
|
static String |
JMS_CONNECTION_FACTORY_JNDI_KEY
JMS Connection Factory JNDI Name
|
Modifier and Type | Method and Description |
---|---|
void |
bind(String name,
Object object)
Bind the object with the given name to the JNDI environment
|
<T> T |
lookup(String name,
Class<? extends T> expectedClass)
Get the object bound to the given name from the JNDI context.
|
void |
unbind(String name)
Unbind and free the object with the given name from the JNDI environment
|
static final String JMS_CONNECTION_FACTORY_JNDI_KEY
static final String JMS_CONNECTION_FACTORY_JNDI_DEFAULT_VALUE
void bind(String name, Object object)
name
- object
- WebBeansException
- on any internal errorvoid unbind(String name)
name
- WebBeansException
- on any internal errorCopyright © 2008–2016 The Apache Software Foundation. All rights reserved.