Class AbstractResourceAdapterDeploymentService.AbstractWildFlyRaDeployer

  • Enclosing class:
    AbstractResourceAdapterDeploymentService

    protected abstract class AbstractResourceAdapterDeploymentService.AbstractWildFlyRaDeployer
    extends org.jboss.jca.deployers.common.AbstractResourceAdapterDeployer
    • Field Detail

      • serviceTarget

        protected final org.jboss.msc.service.ServiceTarget serviceTarget
      • url

        protected final URL url
      • deploymentName

        protected final String deploymentName
      • root

        protected final File root
      • cmd

        protected final org.jboss.jca.common.api.metadata.spec.Connector cmd
      • deploymentServiceName

        protected final org.jboss.msc.service.ServiceName deploymentServiceName
    • Constructor Detail

      • AbstractWildFlyRaDeployer

        protected AbstractWildFlyRaDeployer​(org.jboss.msc.service.ServiceTarget serviceTarget,
                                            URL url,
                                            String deploymentName,
                                            File root,
                                            ClassLoader cl,
                                            org.jboss.jca.common.api.metadata.spec.Connector cmd,
                                            org.jboss.msc.service.ServiceName deploymentServiceName)
    • Method Detail

      • doDeploy

        public abstract org.jboss.jca.deployers.common.CommonDeployment doDeploy()
                                                                          throws Throwable
        Throws:
        Throwable
      • bindConnectionFactory

        public String[] bindConnectionFactory​(URL url,
                                              String deployment,
                                              Object cf)
                                       throws Throwable
        Specified by:
        bindConnectionFactory in class org.jboss.jca.deployers.common.AbstractResourceAdapterDeployer
        Throws:
        Throwable
      • bindConnectionFactory

        public String[] bindConnectionFactory​(URL url,
                                              String deployment,
                                              Object cf,
                                              String jndi)
                                       throws Throwable
        Specified by:
        bindConnectionFactory in class org.jboss.jca.deployers.common.AbstractResourceAdapterDeployer
        Throws:
        Throwable
      • bindAdminObject

        public String[] bindAdminObject​(URL url,
                                        String deployment,
                                        Object ao)
                                 throws Throwable
        Specified by:
        bindAdminObject in class org.jboss.jca.deployers.common.AbstractResourceAdapterDeployer
        Throws:
        Throwable
      • bindAdminObject

        public String[] bindAdminObject​(URL url,
                                        String deployment,
                                        Object ao,
                                        String jndi)
                                 throws Throwable
        Specified by:
        bindAdminObject in class org.jboss.jca.deployers.common.AbstractResourceAdapterDeployer
        Throws:
        Throwable
      • checkActivation

        protected abstract boolean checkActivation​(org.jboss.jca.common.api.metadata.spec.Connector cmd,
                                                   org.jboss.jca.common.api.metadata.resourceadapter.Activation activation)
        Specified by:
        checkActivation in class org.jboss.jca.deployers.common.AbstractResourceAdapterDeployer
      • checkConfigurationIsValid

        protected boolean checkConfigurationIsValid()
        Specified by:
        checkConfigurationIsValid in class org.jboss.jca.deployers.common.AbstractResourceAdapterDeployer
      • getLogPrintWriter

        protected PrintWriter getLogPrintWriter()
        Specified by:
        getLogPrintWriter in class org.jboss.jca.deployers.common.AbstractResourceAdapterDeployer
      • getReportDirectory

        protected File getReportDirectory()
        Specified by:
        getReportDirectory in class org.jboss.jca.deployers.common.AbstractResourceAdapterDeployer
      • getTransactionManager

        protected jakarta.transaction.TransactionManager getTransactionManager()
        Specified by:
        getTransactionManager in class org.jboss.jca.deployers.common.AbstractResourceAdapterDeployer
      • initAndInject

        public Object initAndInject​(String className,
                                    List<? extends org.jboss.jca.common.api.metadata.spec.ConfigProperty> configs,
                                    ClassLoader cl)
                             throws org.jboss.jca.deployers.common.DeployException
        Specified by:
        initAndInject in class org.jboss.jca.deployers.common.AbstractResourceAdapterDeployer
        Throws:
        org.jboss.jca.deployers.common.DeployException
      • registerResourceAdapterToMDR

        protected void registerResourceAdapterToMDR​(URL url,
                                                    File file,
                                                    org.jboss.jca.common.api.metadata.spec.Connector connector,
                                                    org.jboss.jca.common.api.metadata.resourceadapter.Activation ij)
                                             throws org.jboss.jca.core.spi.mdr.AlreadyExistsException
        Specified by:
        registerResourceAdapterToMDR in class org.jboss.jca.deployers.common.AbstractResourceAdapterDeployer
        Throws:
        org.jboss.jca.core.spi.mdr.AlreadyExistsException
      • registerResourceAdapterToResourceAdapterRepository

        protected String registerResourceAdapterToResourceAdapterRepository​(jakarta.resource.spi.ResourceAdapter instance)
        Specified by:
        registerResourceAdapterToResourceAdapterRepository in class org.jboss.jca.deployers.common.AbstractResourceAdapterDeployer
      • getSubjectFactory

        protected org.jboss.jca.core.spi.security.SubjectFactory getSubjectFactory​(org.jboss.jca.common.api.metadata.common.SecurityMetadata securityMetadata,
                                                                                   String jndiName)
                                                                            throws org.jboss.jca.deployers.common.DeployException
        Specified by:
        getSubjectFactory in class org.jboss.jca.deployers.common.AbstractResourceAdapterDeployer
        Throws:
        org.jboss.jca.deployers.common.DeployException
      • createCallback

        protected org.jboss.jca.core.spi.security.Callback createCallback​(org.jboss.jca.common.api.metadata.resourceadapter.WorkManagerSecurity workManagerSecurity)
        Overrides:
        createCallback in class org.jboss.jca.deployers.common.AbstractResourceAdapterDeployer
      • setCallbackSecurity

        protected void setCallbackSecurity​(org.jboss.jca.core.api.workmanager.WorkManager workManager,
                                           org.jboss.jca.core.spi.security.Callback cb)
        Overrides:
        setCallbackSecurity in class org.jboss.jca.deployers.common.AbstractResourceAdapterDeployer
      • getTransactionIntegration

        protected org.jboss.jca.core.spi.transaction.TransactionIntegration getTransactionIntegration()
        Specified by:
        getTransactionIntegration in class org.jboss.jca.deployers.common.AbstractResourceAdapterDeployer
      • getCachedConnectionManager

        protected org.jboss.jca.core.api.connectionmanager.ccm.CachedConnectionManager getCachedConnectionManager()
        Specified by:
        getCachedConnectionManager in class org.jboss.jca.deployers.common.AbstractResourceAdapterDeployer
      • buildJndiName

        protected String buildJndiName​(String rawJndiName,
                                       Boolean javaContext)
        Overrides:
        buildJndiName in class org.jboss.jca.deployers.common.AbstractResourceAdapterDeployer
      • getBeanValidation

        protected org.jboss.jca.deployers.common.BeanValidation getBeanValidation()
        Overrides:
        getBeanValidation in class org.jboss.jca.deployers.common.AbstractResourceAdapterDeployer