|
|||||||||
| 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 |
|---|
transactionIntegration, xaResourceRecoveryRegistry |
| Constructor Summary | |
|---|---|
DsXmlDeployer()
Constructor |
|
| Method Summary | |
|---|---|
protected String[] |
bindConnectionFactory(String deployment,
String jndi,
Object cf)
Bind connection factory into JNDI |
protected javax.resource.spi.ManagedConnectionFactory |
createMcf(org.jboss.jca.common.api.metadata.ds.DataSource ds,
String uniqueId,
ClassLoader cl)
|
protected javax.resource.spi.ManagedConnectionFactory |
createMcf(org.jboss.jca.common.api.metadata.ds.XaDataSource ds,
String uniqueId,
ClassLoader cl)
|
com.github.fungal.spi.deployers.Deployment |
deploy(URL url,
ClassLoader parent)
Deploy |
protected ClassLoader |
getDeploymentClassLoader(String uniqueId)
|
protected String |
getDriver(String driverName,
String moduleId)
Get the driver |
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.jca.deployers.DeployersLogger |
getLogger()
|
org.jboss.jca.core.spi.mdr.MetadataRepository |
getMetadataRepository()
Get the metadata repository |
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 |
setDriverRegistry(DriverRegistry value)
Set the driver registry |
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 |
setMetadataRepository(org.jboss.jca.core.spi.mdr.MetadataRepository value)
Set the metadata repository |
void |
start()
Start |
| Methods inherited from class org.jboss.jca.deployers.common.AbstractDsDeployer |
|---|
buildJndiName, createObjectsAndInjectValue, createSubject, getCachedConnectionManager, getManagementRepository, getTransactionIntegration, getXAResourceRecoveryRegistry, initAndInjectClassLoaderPlugin, setCachedConnectionManager, setManagementRepository, 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()
protected org.jboss.jca.deployers.DeployersLogger getLogger()
getLogger in class org.jboss.jca.deployers.common.AbstractDsDeployerpublic void setDriverRegistry(DriverRegistry value)
value - The value
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 occurs
protected String getDriver(String driverName,
String moduleId)
getDriver in class org.jboss.jca.deployers.common.AbstractDsDeployerdriverName - The name of the drivermoduleId - The id of the module
null if not foundpublic 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
protected javax.resource.spi.ManagedConnectionFactory createMcf(org.jboss.jca.common.api.metadata.ds.XaDataSource ds,
String uniqueId,
ClassLoader cl)
throws org.jboss.jca.core.spi.mdr.NotFoundException,
Exception,
com.github.fungal.spi.deployers.DeployException
createMcf in class org.jboss.jca.deployers.common.AbstractDsDeployerorg.jboss.jca.core.spi.mdr.NotFoundException
Exception
com.github.fungal.spi.deployers.DeployException
protected javax.resource.spi.ManagedConnectionFactory createMcf(org.jboss.jca.common.api.metadata.ds.DataSource ds,
String uniqueId,
ClassLoader cl)
throws org.jboss.jca.core.spi.mdr.NotFoundException,
Exception,
com.github.fungal.spi.deployers.DeployException
createMcf in class org.jboss.jca.deployers.common.AbstractDsDeployerorg.jboss.jca.core.spi.mdr.NotFoundException
Exception
com.github.fungal.spi.deployers.DeployExceptionpublic void setMetadataRepository(org.jboss.jca.core.spi.mdr.MetadataRepository value)
value - The valuepublic org.jboss.jca.core.spi.mdr.MetadataRepository getMetadataRepository()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||