Class RAActivator

  • All Implemented Interfaces:
    com.github.fungal.spi.deployers.DeployerPhases

    public final class RAActivator
    extends AbstractFungalRADeployer
    implements com.github.fungal.spi.deployers.DeployerPhases
    The RA activator for JCA/SJC
    Author:
    Jesper Pedersen
    • Constructor Detail

      • RAActivator

        public RAActivator()
        Constructor
    • Method Detail

      • getExcludeArchives

        public Set<String> getExcludeArchives()
        Get the exclude archives
        Returns:
        The archives
      • setExcludeArchives

        public void setExcludeArchives​(Set<String> archives)
        Set the exclude archives
        Parameters:
        archives - The archives
      • isEnabled

        public boolean isEnabled()
        Is enabled
        Returns:
        True if enabled; otherwise false
      • setEnabled

        public void setEnabled​(boolean value)
        Set the eanbled flag
        Parameters:
        value - The value
      • preDeploy

        public void preDeploy()
                       throws Throwable
        Pre deploy
        Specified by:
        preDeploy in interface com.github.fungal.spi.deployers.DeployerPhases
        Throws:
        Throwable - Thrown if an error occurs
      • postDeploy

        public void postDeploy()
                        throws Throwable
        Post deploy
        Specified by:
        postDeploy in interface com.github.fungal.spi.deployers.DeployerPhases
        Throws:
        Throwable - Thrown if an error occurs
      • preUndeploy

        public void preUndeploy()
                         throws Throwable
        Pre undeploy
        Specified by:
        preUndeploy in interface com.github.fungal.spi.deployers.DeployerPhases
        Throws:
        Throwable - Thrown if an error occurs
      • postUndeploy

        public void postUndeploy()
                          throws Throwable
        Post undeploy
        Specified by:
        postUndeploy in interface com.github.fungal.spi.deployers.DeployerPhases
        Throws:
        Throwable - Thrown if an error occurs
      • checkActivation

        protected 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 AbstractResourceAdapterDeployer