|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectwinstone.jndi.ContainerJNDIManager
public class ContainerJNDIManager
Implements a simple web.xml + command line arguments style jndi manager
| Field Summary | |
|---|---|
static WinstoneResourceBundle |
JNDI_RESOURCES
|
protected java.util.Map |
objectsToCreate
|
| Constructor Summary | |
|---|---|
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. |
|
| Method Summary | |
|---|---|
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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final WinstoneResourceBundle JNDI_RESOURCES
protected java.util.Map objectsToCreate
| Constructor Detail |
|---|
public ContainerJNDIManager(java.util.Map args,
java.util.List webXmlNodes,
java.lang.ClassLoader loader)
| Method Detail |
|---|
public void setup()
setup in interface JNDIManagerpublic 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)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||