org.jboss.jca.deployers.fungal
Class RADeployer

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.RADeployer
All Implemented Interfaces:
com.github.fungal.spi.deployers.Deployer, com.github.fungal.spi.deployers.DeployerOrder, com.github.fungal.spi.deployers.MultiStageDeployer

public final class RADeployer
extends AbstractFungalRADeployer
implements com.github.fungal.spi.deployers.Deployer, com.github.fungal.spi.deployers.MultiStageDeployer, com.github.fungal.spi.deployers.DeployerOrder

The RA deployer for JCA/SJC

Author:
Jesper Pedersen, Jeff Zhang, Stefano Maestri

Field Summary
 
Fields inherited from class org.jboss.jca.deployers.fungal.AbstractFungalRADeployer
kernel
 
Fields inherited from class org.jboss.jca.deployers.common.AbstractResourceAdapterDeployer
trace, validateClasses
 
Constructor Summary
RADeployer()
          Constructor
 
Method Summary
protected  boolean checkActivation(org.jboss.jca.common.api.metadata.ra.Connector cmd, org.jboss.jca.common.api.metadata.ironjacamar.IronJacamar ijmd)
          Check if the resource adapter should be activated based on the ironjacamar.xml input
 com.github.fungal.spi.deployers.Deployment deploy(URL url, ClassLoader parent)
          Deploy
protected  org.jboss.jca.deployers.DeployersLogger getLogger()
          
 int getOrder()
          Deployer order
 
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, requireExplicitJndiBindings, setConfiguration, startContext, validateArchive
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RADeployer

public RADeployer()
Constructor

Method Detail

getLogger

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

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

getOrder

public int getOrder()
Deployer order

Specified by:
getOrder in interface com.github.fungal.spi.deployers.DeployerOrder
Returns:
The deployment

deploy

public com.github.fungal.spi.deployers.Deployment deploy(URL url,
                                                         ClassLoader parent)
                                                  throws com.github.fungal.spi.deployers.DeployException
Deploy

Specified by:
deploy in interface com.github.fungal.spi.deployers.Deployer
Parameters:
url - The url
parent - The parent classloader
Returns:
The deployment
Throws:
com.github.fungal.spi.deployers.DeployException - Thrown if an error occurs during deployment

checkActivation

protected boolean checkActivation(org.jboss.jca.common.api.metadata.ra.Connector cmd,
                                  org.jboss.jca.common.api.metadata.ironjacamar.IronJacamar ijmd)
Check if the resource adapter should be activated based on the ironjacamar.xml input

Specified by:
checkActivation in class org.jboss.jca.deployers.common.AbstractResourceAdapterDeployer
Parameters:
cmd - The connector metadata
ijmd - The IronJacamar metadata
Returns:
True if the deployment should be activated; otherwise false


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