|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectch.elca.el4j.core.config.JndiConfigurationHelper
public class JndiConfigurationHelper
This class simplifies the setup of JNDI.
Field Summary | |
---|---|
static String |
ENV_CONTEXT
The default JNDI context java:comp/env . |
Constructor Summary | |
---|---|
JndiConfigurationHelper()
|
Method Summary | |
---|---|
String |
buildJndiResourceName(String name)
Makes a context-relative JNDI resource name absolute. |
String |
getContext()
|
JndiTemplate |
getJndiTemplate()
|
void |
setContext(String context)
Sets the JNDI context. |
void |
setJndiTemplate(JndiTemplate jndiTemplate)
Sets the JNDI template. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String ENV_CONTEXT
java:comp/env
.
Constructor Detail |
---|
public JndiConfigurationHelper()
Method Detail |
---|
public String getContext()
public void setContext(String context)
java:comp/env
.
context
- The JNDI context.public JndiTemplate getJndiTemplate()
public void setJndiTemplate(JndiTemplate jndiTemplate)
JndiTemplate
.
jndiTemplate
- The JNDI template.public String buildJndiResourceName(String name)
name
- A relative JNDI resource name.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |