public interface JndiStrategy extends Cloneable, ObjectFactory
Modifier and Type | Method and Description |
---|---|
String[] |
bindAdminObjects(String deployment,
Object[] aos)
Bind admin objects for a deployment
|
String[] |
bindAdminObjects(String deployment,
Object[] aos,
String[] jndis)
Bind admin objects for a deployment
|
String[] |
bindConnectionFactories(String deployment,
Object[] cfs)
Bind connection factories for a deployment
|
String[] |
bindConnectionFactories(String deployment,
Object[] cfs,
String[] jndis)
Bind connection factories for a deployment
|
JndiStrategy |
clone()
Clone the JNDI strategy implementation
|
void |
unbindAdminObjects(String deployment,
Object[] aos)
Unbind admin objects for a deployment
|
void |
unbindAdminObjects(String deployment,
Object[] aos,
String[] jndis)
Unbind admin objects for a deployment
|
void |
unbindConnectionFactories(String deployment,
Object[] cfs)
Unbind connection factories for a deployment
|
void |
unbindConnectionFactories(String deployment,
Object[] cfs,
String[] jndis)
Unbind connection factories for a deployment
|
getObjectInstance
String[] bindConnectionFactories(String deployment, Object[] cfs) throws Throwable
deployment
- The deployment namecfs
- The connection factoriesThrowable
- Thrown if an error occursString[] bindConnectionFactories(String deployment, Object[] cfs, String[] jndis) throws Throwable
deployment
- The deployment namecfs
- The connection factoriesjndis
- The JNDI names for the connection factoriesThrowable
- Thrown if an error occursvoid unbindConnectionFactories(String deployment, Object[] cfs) throws Throwable
deployment
- The deployment namecfs
- The connection factoriesThrowable
- Thrown if an error occursvoid unbindConnectionFactories(String deployment, Object[] cfs, String[] jndis) throws Throwable
deployment
- The deployment namecfs
- The connection factoriesjndis
- The JNDI names for the connection factoriesThrowable
- Thrown if an error occursString[] bindAdminObjects(String deployment, Object[] aos) throws Throwable
deployment
- The deployment nameaos
- The admin objectsThrowable
- Thrown if an error occursString[] bindAdminObjects(String deployment, Object[] aos, String[] jndis) throws Throwable
deployment
- The deployment nameaos
- The admin objectsjndis
- The JNDI names for the admin objectsThrowable
- Thrown if an error occursvoid unbindAdminObjects(String deployment, Object[] aos) throws Throwable
deployment
- The deployment nameaos
- The admin objectsThrowable
- Thrown if an error occursvoid unbindAdminObjects(String deployment, Object[] aos, String[] jndis) throws Throwable
deployment
- The deployment nameaos
- The admin objectsjndis
- The JNDI names for the admin objectsThrowable
- Thrown if an error occursJndiStrategy clone() throws CloneNotSupportedException
CloneNotSupportedException
- Thrown if the copy operation isn't supportedCopyright © 2021 JBoss by Red Hat. All rights reserved.