org.jboss.jca.deployers.fungal
Class RADeployer

java.lang.Object
  extended by org.jboss.jca.deployers.fungal.RADeployer
All Implemented Interfaces:
com.github.fungal.spi.deployers.CloneableDeployer, com.github.fungal.spi.deployers.Deployer, Cloneable

public final class RADeployer
extends Object
implements com.github.fungal.spi.deployers.CloneableDeployer

The RA deployer for JCA/SJC

Author:
Jesper Pedersen, Jeff Zhang, Stefano Maestri

Constructor Summary
RADeployer()
          Constructor
 
Method Summary
 com.github.fungal.spi.deployers.Deployer clone()
          Clone
 com.github.fungal.spi.deployers.Deployment deploy(URL url, ClassLoader parent)
          Deploy
 boolean getArchiveValidation()
          Should archive validation be performed
 boolean getArchiveValidationFailOnError()
          Does a failed archive validation error report fail the deployment
 boolean getArchiveValidationFailOnWarn()
          Does a failed archive validation warning report fail the deployment
 boolean getBeanValidation()
          Should bean validation be performed
 Map<String,org.jboss.jca.core.api.CloneableBootstrapContext> getBootstrapContexts()
          Get the bootstrap context map
 org.jboss.jca.core.api.CloneableBootstrapContext getDefaultBootstrapContext()
          Get the default bootstrap context
 org.jboss.jca.core.spi.naming.JndiStrategy getJndiStrategy()
          Get the JNDI strategy
 PrintStream getPrintStream()
          Get the print stream
 boolean getScopeDeployment()
          Are the deployments scoped
 TransactionManager getTransactionManager()
          Get the transaction manager
 void setArchiveValidation(boolean value)
          Set if archive validation should be performed
 void setArchiveValidationFailOnError(boolean value)
          Set if a failed error archive validation report should fail the deployment
 void setArchiveValidationFailOnWarn(boolean value)
          Set if a failed warning archive validation report should fail the deployment
 void setBeanValidation(boolean value)
          Set if bean validation should be performed
 void setBootstrapContexts(Map<String,org.jboss.jca.core.api.CloneableBootstrapContext> value)
          Set the bootstrap context map
 void setDefaultBootstrapContext(org.jboss.jca.core.api.CloneableBootstrapContext value)
          Set the default bootstrap context
 void setJndiStrategy(org.jboss.jca.core.spi.naming.JndiStrategy value)
          Set the JNDI strategy
 void setPrintStream(PrintStream value)
          Set the print stream
 void setScopeDeployment(boolean value)
          Set if deployments should be scoped
 void setTransactionManager(TransactionManager value)
          Set the transaction manager
 void start()
          Start
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RADeployer

public RADeployer()
Constructor

Method Detail

setTransactionManager

public void setTransactionManager(TransactionManager value)
Set the transaction manager

Parameters:
value - The value

getTransactionManager

public TransactionManager getTransactionManager()
Get the transaction manager

Returns:
The value

setBeanValidation

public void setBeanValidation(boolean value)
Set if bean validation should be performed

Parameters:
value - The value

getBeanValidation

public boolean getBeanValidation()
Should bean validation be performed

Returns:
True if validation; otherwise false

setArchiveValidation

public void setArchiveValidation(boolean value)
Set if archive validation should be performed

Parameters:
value - The value

getArchiveValidation

public boolean getArchiveValidation()
Should archive validation be performed

Returns:
True if validation; otherwise false

setArchiveValidationFailOnWarn

public void setArchiveValidationFailOnWarn(boolean value)
Set if a failed warning archive validation report should fail the deployment

Parameters:
value - The value

getArchiveValidationFailOnWarn

public boolean getArchiveValidationFailOnWarn()
Does a failed archive validation warning report fail the deployment

Returns:
True if failing; otherwise false

setArchiveValidationFailOnError

public void setArchiveValidationFailOnError(boolean value)
Set if a failed error archive validation report should fail the deployment

Parameters:
value - The value

getArchiveValidationFailOnError

public boolean getArchiveValidationFailOnError()
Does a failed archive validation error report fail the deployment

Returns:
True if failing; otherwise false

setPrintStream

public void setPrintStream(PrintStream value)
Set the print stream

Parameters:
value - The value

getPrintStream

public PrintStream getPrintStream()
Get the print stream

Returns:
The handle

setDefaultBootstrapContext

public void setDefaultBootstrapContext(org.jboss.jca.core.api.CloneableBootstrapContext value)
Set the default bootstrap context

Parameters:
value - The value

getDefaultBootstrapContext

public org.jboss.jca.core.api.CloneableBootstrapContext getDefaultBootstrapContext()
Get the default bootstrap context

Returns:
The handle

setBootstrapContexts

public void setBootstrapContexts(Map<String,org.jboss.jca.core.api.CloneableBootstrapContext> value)
Set the bootstrap context map

Parameters:
value - The value

getBootstrapContexts

public Map<String,org.jboss.jca.core.api.CloneableBootstrapContext> getBootstrapContexts()
Get the bootstrap context map

Returns:
The handle

setScopeDeployment

public void setScopeDeployment(boolean value)
Set if deployments should be scoped

Parameters:
value - The value

getScopeDeployment

public boolean getScopeDeployment()
Are the deployments scoped

Returns:
True if scoped; otherwise false

setJndiStrategy

public void setJndiStrategy(org.jboss.jca.core.spi.naming.JndiStrategy value)
Set the JNDI strategy

Parameters:
value - The value

getJndiStrategy

public org.jboss.jca.core.spi.naming.JndiStrategy getJndiStrategy()
Get the JNDI strategy

Returns:
The handle

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

start

public void start()
Start


clone

public com.github.fungal.spi.deployers.Deployer clone()
                                               throws CloneNotSupportedException
Clone

Specified by:
clone in interface com.github.fungal.spi.deployers.CloneableDeployer
Overrides:
clone in class Object
Returns:
The copy of the object
Throws:
CloneNotSupportedException - Thrown if a copy can't be created


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