|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.picocontainer.gems.jndi.JNDIObjectReference<T>
public class JNDIObjectReference<T>
object reference to store and retrieve objects from JNDI
Constructor Summary | |
---|---|
JNDIObjectReference(String jndiName)
|
|
JNDIObjectReference(String name,
Context ctx)
|
Method Summary | |
---|---|
T |
get()
retrieve object from JNDI if possible |
String |
getName()
name of this reference |
void |
set(T item)
store object in JNDI under specified name |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public JNDIObjectReference(String name, Context ctx)
public JNDIObjectReference(String jndiName) throws NamingException
NamingException
Method Detail |
---|
public T get()
get
in interface ObjectReference<T>
public void set(T item)
set
in interface ObjectReference<T>
public String getName()
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |