|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jboss.jca.deployers.common.AbstractDsDeployer
org.jboss.jca.deployers.fungal.DsXmlDeployer
public final class DsXmlDeployer

The -ds.xml deployer for JCA/SJC
| Field Summary |
|---|
| Fields inherited from class org.jboss.jca.deployers.common.AbstractDsDeployer |
|---|
log, mdr, transactionIntegration, xaResourceRecoveryRegistry |
| Constructor Summary | |
|---|---|
DsXmlDeployer()
Constructor |
|
| Method Summary | |
|---|---|
protected String[] |
bindConnectionFactory(String deployment,
String jndi,
Object cf)
Bind connection factory into JNDI |
com.github.fungal.spi.deployers.Deployment |
deploy(URL url,
ClassLoader parent)
Deploy |
protected ClassLoader |
getDeploymentClassLoader(String uniqueId)
|
String |
getJDBCLocal()
Get the name for the JDBC Local resource adapter |
String |
getJDBCXA()
Get the name for the JDBC Xa resource adapter |
com.github.fungal.api.Kernel |
getKernel()
Get the kernel |
protected org.jboss.security.SubjectFactory |
getSubjectFactory(String securityDomain)
|
Object |
initAndInject(String className,
List<? extends org.jboss.jca.common.api.metadata.ra.ConfigProperty> configs,
ClassLoader cl)
Initialize and inject configuration properties |
void |
setJDBCLocal(String value)
Set the name for the JDBC Local resource adapter |
void |
setJDBCXA(String value)
Set the name for the JDBC XA resource adapter |
void |
setKernel(com.github.fungal.api.Kernel value)
Set the kernel |
void |
start()
Start |
| Methods inherited from class org.jboss.jca.deployers.common.AbstractDsDeployer |
|---|
createObjectsAndInjectValue, getManagementRepository, getMetadataRepository, getTransactionIntegration, getXAResourceRecoveryRegistry, initAndInjectClassLoaderPlugin, setManagementRepository, setMetadataRepository, setTransactionIntegration, setXAResourceRecoveryRegistry |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DsXmlDeployer()
| Method Detail |
|---|
public void setJDBCLocal(String value)
value - The valuepublic String getJDBCLocal()
public void setJDBCXA(String value)
value - The valuepublic String getJDBCXA()
public void setKernel(com.github.fungal.api.Kernel value)
value - The valuepublic com.github.fungal.api.Kernel getKernel()
public com.github.fungal.spi.deployers.Deployment deploy(URL url,
ClassLoader parent)
throws com.github.fungal.spi.deployers.DeployException
deploy in interface com.github.fungal.spi.deployers.Deployerurl - The urlparent - The parent classloader
com.github.fungal.spi.deployers.DeployException - Thrown if an error occurs during deployment
public Object initAndInject(String className,
List<? extends org.jboss.jca.common.api.metadata.ra.ConfigProperty> configs,
ClassLoader cl)
throws org.jboss.jca.deployers.common.DeployException
initAndInject in class org.jboss.jca.deployers.common.AbstractDsDeployerclassName - The fully qualified class nameconfigs - The configuration propertiescl - The class loader
org.jboss.jca.deployers.common.DeployException - Thrown if the object cant be initialized
protected String[] bindConnectionFactory(String deployment,
String jndi,
Object cf)
throws Throwable
bindConnectionFactory in class org.jboss.jca.deployers.common.AbstractDsDeployerdeployment - The deployment namejndi - The JNDI namecf - The connection factory
Throwable - thrown if an error occurspublic void start()
protected ClassLoader getDeploymentClassLoader(String uniqueId)
getDeploymentClassLoader in class org.jboss.jca.deployers.common.AbstractDsDeployer
protected org.jboss.security.SubjectFactory getSubjectFactory(String securityDomain)
throws org.jboss.jca.deployers.common.DeployException
getSubjectFactory in class org.jboss.jca.deployers.common.AbstractDsDeployerorg.jboss.jca.deployers.common.DeployException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||