org.jboss.jca.deployers.fungal
Class RAActivator

java.lang.Object
  extended by org.jboss.jca.deployers.common.AbstractResourceAdapterDeployer
      extended by org.jboss.jca.deployers.fungal.AbstractFungalRADeployer
          extended by org.jboss.jca.deployers.fungal.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

Field Summary
 
Fields inherited from class org.jboss.jca.deployers.fungal.AbstractFungalRADeployer
kernel
 
Fields inherited from class org.jboss.jca.deployers.common.AbstractResourceAdapterDeployer
validateClasses
 
Constructor Summary
RAActivator()
          Constructor
 
Method Summary
protected  boolean checkActivation(org.jboss.jca.common.api.metadata.ra.Connector cmd, org.jboss.jca.common.api.metadata.ironjacamar.IronJacamar ijmd)
           
 Set<String> getExcludeArchives()
          Get the exclude archives
protected  org.jboss.jca.deployers.DeployersLogger getLogger()
          
 boolean isEnabled()
          Is enabled
 void postDeploy()
          Post deploy
 void postUndeploy()
          Post undeploy
 void preDeploy()
          Pre deploy
 void preUndeploy()
          Pre undeploy
protected  boolean requireExplicitJndiBindings()
           
 void setEnabled(boolean value)
          Set the eanbled flag
 void setExcludeArchives(Set<String> archives)
          Set the exclude archives
 
Methods inherited from class org.jboss.jca.deployers.fungal.AbstractFungalRADeployer
bindAdminObject, bindAdminObject, bindConnectionFactory, bindConnectionFactory, checkConfigurationIsValid, getCachedConnectionManager, getKernel, getLogPrintWriter, getReportDirectory, getSubjectFactory, getTransactionIntegration, getTransactionManager, getUrls, initAndInject, registerManagementView, registerResourceAdapterToMDR, registerResourceAdapterToResourceAdapterRepository, setKernel, start
 
Methods inherited from class org.jboss.jca.deployers.common.AbstractResourceAdapterDeployer
associateResourceAdapter, buildJndiName, createObjectsAndInjectValue, createObjectsAndInjectValue, createPoolConfiguration, createSubject, findAdminObjects, findConnectionDefinitions, getBeanValidation, getConfiguration, hasFailuresLevel, initActivationSpec, initAdminObject, printFailuresLog, setConfiguration, startContext, validateArchive
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RAActivator

public RAActivator()
Constructor

Method Detail

getLogger

protected org.jboss.jca.deployers.DeployersLogger getLogger()

Specified by:
getLogger in class org.jboss.jca.deployers.common.AbstractResourceAdapterDeployer

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

requireExplicitJndiBindings

protected boolean requireExplicitJndiBindings()
Overrides:
requireExplicitJndiBindings in class org.jboss.jca.deployers.common.AbstractResourceAdapterDeployer

checkActivation

protected boolean checkActivation(org.jboss.jca.common.api.metadata.ra.Connector cmd,
                                  org.jboss.jca.common.api.metadata.ironjacamar.IronJacamar ijmd)
Specified by:
checkActivation in class org.jboss.jca.deployers.common.AbstractResourceAdapterDeployer


Copyright © 2012 JBoss, by Red Hat (http://www.jboss.org/ironjacamar)