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

A simple JNDI strategy that bind a single connection factory under the name of "java:/eis/<deployment>" by default. A single admin object is bound under "java:/eis/ao/<deployment>" by default.
| Constructor Summary | |
|---|---|
SimpleJndiStrategy()
Constructor |
|
| Method Summary | |
|---|---|
String[] |
bindAdminObjects(String deployment,
Object[] aos)
|
String[] |
bindAdminObjects(String deployment,
Object[] aos,
String[] jndis)
|
String[] |
bindConnectionFactories(String deployment,
Object[] cfs)
|
String[] |
bindConnectionFactories(String deployment,
Object[] cfs,
String[] jndis)
|
org.jboss.jca.core.spi.naming.JndiStrategy |
clone()
Clone the JNDI strategy implementation |
Object |
getObjectInstance(Object obj,
Name name,
Context nameCtx,
Hashtable<?,?> environment)
Obtain the connection factory |
void |
unbindAdminObjects(String deployment,
Object[] aos)
|
void |
unbindAdminObjects(String deployment,
Object[] aos,
String[] jndis)
|
void |
unbindConnectionFactories(String deployment,
Object[] cfs)
|
void |
unbindConnectionFactories(String deployment,
Object[] cfs,
String[] jndis)
|
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SimpleJndiStrategy()
| Method Detail |
|---|
public Object getObjectInstance(Object obj,
Name name,
Context nameCtx,
Hashtable<?,?> environment)
throws Exception
getObjectInstance in interface ObjectFactoryException
public String[] bindConnectionFactories(String deployment,
Object[] cfs)
throws Throwable
bindConnectionFactories in interface org.jboss.jca.core.spi.naming.JndiStrategyThrowable
public String[] bindConnectionFactories(String deployment,
Object[] cfs,
String[] jndis)
throws Throwable
bindConnectionFactories in interface org.jboss.jca.core.spi.naming.JndiStrategyThrowable
public void unbindConnectionFactories(String deployment,
Object[] cfs)
throws Throwable
unbindConnectionFactories in interface org.jboss.jca.core.spi.naming.JndiStrategyThrowable
public void unbindConnectionFactories(String deployment,
Object[] cfs,
String[] jndis)
throws Throwable
unbindConnectionFactories in interface org.jboss.jca.core.spi.naming.JndiStrategyThrowable
public String[] bindAdminObjects(String deployment,
Object[] aos)
throws Throwable
bindAdminObjects in interface org.jboss.jca.core.spi.naming.JndiStrategyThrowable
public String[] bindAdminObjects(String deployment,
Object[] aos,
String[] jndis)
throws Throwable
bindAdminObjects in interface org.jboss.jca.core.spi.naming.JndiStrategyThrowable
public void unbindAdminObjects(String deployment,
Object[] aos)
throws Throwable
unbindAdminObjects in interface org.jboss.jca.core.spi.naming.JndiStrategyThrowable
public void unbindAdminObjects(String deployment,
Object[] aos,
String[] jndis)
throws Throwable
unbindAdminObjects in interface org.jboss.jca.core.spi.naming.JndiStrategyThrowable
public org.jboss.jca.core.spi.naming.JndiStrategy clone()
throws CloneNotSupportedException
clone in interface org.jboss.jca.core.spi.naming.JndiStrategyclone in class ObjectCloneNotSupportedException - Thrown if the copy operation isn't supported
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||