Package org.jboss.jca.deployers.fungal
Class RAActivator
- java.lang.Object
-
- org.jboss.jca.deployers.common.AbstractResourceAdapterDeployer
-
- org.jboss.jca.deployers.fungal.AbstractFungalRADeployer
-
- 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
Constructors Constructor Description RAActivator()Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancheckActivation(org.jboss.jca.common.api.metadata.spec.Connector cmd, org.jboss.jca.common.api.metadata.resourceadapter.Activation activation)Set<String>getExcludeArchives()Get the exclude archivesprotected DeployersLoggergetLogger()booleanisEnabled()Is enabledvoidpostDeploy()Post deployvoidpostUndeploy()Post undeployvoidpreDeploy()Pre deployvoidpreUndeploy()Pre undeployprotected booleanrequireExplicitJndiBindings()voidsetEnabled(boolean value)Set the eanbled flagvoidsetExcludeArchives(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, setRecoveryForResourceAdapterInResourceAdapterRepository, start
-
Methods inherited from class org.jboss.jca.deployers.common.AbstractResourceAdapterDeployer
applyCapacity, associateResourceAdapter, buildJndiName, createCallback, createObjectsAndInjectValue, createPoolConfiguration, createSubject, findAdminObjects, findConnectionDefinitions, getBeanValidation, getConfiguration, hasFailuresLevel, initActivationSpec, initAdminObject, printFailuresLog, scanArchive, setCallbackSecurity, setConfiguration, startContext, validateArchive
-
-
-
-
Method Detail
-
getLogger
protected DeployersLogger getLogger()
- Specified by:
getLoggerin classAbstractResourceAdapterDeployer
-
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 ThrowablePre deploy- Specified by:
preDeployin interfacecom.github.fungal.spi.deployers.DeployerPhases- Throws:
Throwable- Thrown if an error occurs
-
postDeploy
public void postDeploy() throws ThrowablePost deploy- Specified by:
postDeployin interfacecom.github.fungal.spi.deployers.DeployerPhases- Throws:
Throwable- Thrown if an error occurs
-
preUndeploy
public void preUndeploy() throws ThrowablePre undeploy- Specified by:
preUndeployin interfacecom.github.fungal.spi.deployers.DeployerPhases- Throws:
Throwable- Thrown if an error occurs
-
postUndeploy
public void postUndeploy() throws ThrowablePost undeploy- Specified by:
postUndeployin interfacecom.github.fungal.spi.deployers.DeployerPhases- Throws:
Throwable- Thrown if an error occurs
-
requireExplicitJndiBindings
protected boolean requireExplicitJndiBindings()
- Overrides:
requireExplicitJndiBindingsin classAbstractResourceAdapterDeployer
-
checkActivation
protected boolean checkActivation(org.jboss.jca.common.api.metadata.spec.Connector cmd, org.jboss.jca.common.api.metadata.resourceadapter.Activation activation)- Specified by:
checkActivationin classAbstractResourceAdapterDeployer
-
-