org.jboss.jca.deployers.fungal
Class RaXmlDeployer

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

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

The -ra.xml deployer 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
trace, validateClasses
 
Constructor Summary
RaXmlDeployer()
          Constructor
 
Method Summary
protected  boolean checkActivation(org.jboss.jca.common.api.metadata.ra.Connector cmd, org.jboss.jca.common.api.metadata.ironjacamar.IronJacamar ijmd)
           
 com.github.fungal.spi.deployers.Deployment deploy(URL url, ClassLoader parent)
          Deploy
 int getOrder()
          Deployer order
 void postDeploy()
          Post deploy
 void postUndeploy()
          Post undeploy
 void preDeploy()
          Pre deploy
 void preUndeploy()
          Pre undeploy
 
Methods inherited from class org.jboss.jca.deployers.fungal.AbstractFungalRADeployer
bindAdminObject, bindAdminObject, bindConnectionFactory, bindConnectionFactory, checkConfigurationIsValid, getKernel, getLogPrintWriter, getReportDirectory, getSubjectFactory, getTransactionIntegration, getTransactionManager, getUrls, initAndInject, registerManagementView, registerResourceAdapterToMDR, registerResourceAdapterToResourceAdapterRepository, setKernel, start
 
Methods inherited from class org.jboss.jca.deployers.common.AbstractResourceAdapterDeployer
associateResourceAdapter, createObjectsAndInjectValue, createObjectsAndInjectValue, createPoolConfiguration, findAdminObject, findConnectionDefinition, 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

RaXmlDeployer

public RaXmlDeployer()
Constructor

Method Detail

getOrder

public int getOrder()
Deployer order

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

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

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)
Specified by:
checkActivation in class org.jboss.jca.deployers.common.AbstractResourceAdapterDeployer


Copyright © 2008 Red Hat Middleware LLC (http://www.jboss.com/)