|
|
|
|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.torweg.pulse.configuration.JNDILookupConfiguration
public class JNDILookupConfiguration
defines the configuration for a named object in JNDI.
| Constructor Summary | |
|---|---|
JNDILookupConfiguration()
default constructor. |
|
| Method Summary | |
|---|---|
java.lang.String |
getContext()
returns the context for lookups. |
java.lang.String |
getNamedObject()
returns the name of the Object. |
java.lang.Object |
lookup()
returns the Object from JNDI. |
void |
setContext(java.lang.String ctx)
sets the context for lookups. |
void |
setNamedObject(java.lang.String name)
sets the name of the named Object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JNDILookupConfiguration()
| Method Detail |
|---|
public final java.lang.String getContext()
public final void setContext(java.lang.String ctx)
ctx - the context to setpublic final java.lang.String getNamedObject()
Object.
Object.public final void setNamedObject(java.lang.String name)
Object.
name - the name to set
public final java.lang.Object lookup()
throws javax.naming.NamingException
Object from JNDI.
Object
javax.naming.NamingException - on errors during the lookup
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||