public class ContainerJNDIManager extends java.lang.Object implements JNDIManager
Modifier and Type | Field and Description |
---|---|
static WinstoneResourceBundle |
JNDI_RESOURCES |
protected java.util.Map |
objectsToCreate |
Constructor and Description |
---|
ContainerJNDIManager(java.util.Map args,
java.util.List webXmlNodes,
java.lang.ClassLoader loader)
Gets the relevant list of objects from the args, validating against the
web.xml nodes supplied.
|
Modifier and Type | Method and Description |
---|---|
protected java.lang.Object |
createObject(java.lang.String name,
java.lang.String className,
java.lang.String value,
java.util.Map args,
java.lang.ClassLoader loader)
Build an object to insert into the jndi space
|
void |
setup()
Add the objects passed to the constructor to the JNDI Context addresses
specified
|
void |
tearDown()
Remove the objects under administration from the JNDI Context, and then
destroy the objects
|
public static final WinstoneResourceBundle JNDI_RESOURCES
protected java.util.Map objectsToCreate
public ContainerJNDIManager(java.util.Map args, java.util.List webXmlNodes, java.lang.ClassLoader loader)
public void setup()
setup
in interface JNDIManager
public void tearDown()
tearDown
in interface JNDIManager
protected java.lang.Object createObject(java.lang.String name, java.lang.String className, java.lang.String value, java.util.Map args, java.lang.ClassLoader loader)
Copyright © 2013. All Rights Reserved.