|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.jca.core.naming.JndiBinder
public class JndiBinder

Helper class to create JNDI bindings
| Constructor Summary | |
|---|---|
JndiBinder()
Constructor |
|
| Method Summary | |
|---|---|
void |
bind()
Bind |
Object |
getObjectInstance(Object obj,
Name name,
Context nameCtx,
Hashtable<?,?> environment)
Obtain the connection factory |
void |
setName(String v)
Set the name |
void |
setObject(Object v)
Set the object |
void |
unbind()
Unbind |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JndiBinder()
| Method Detail |
|---|
public void setName(String v)
v - The valuepublic void setObject(Object v)
v - The value
public Object getObjectInstance(Object obj,
Name name,
Context nameCtx,
Hashtable<?,?> environment)
throws Exception
getObjectInstance in interface ObjectFactoryException
public void bind()
throws Throwable
Throwable - Thrown in case of an error
public void unbind()
throws Throwable
Throwable - Thrown in case of an error
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||