org.jboss.jca.deployers.fungal
Class RADeployment

java.lang.Object
  extended by org.jboss.jca.deployers.fungal.RADeployment
All Implemented Interfaces:
com.github.fungal.spi.deployers.Deployment

public class RADeployment
extends Object
implements com.github.fungal.spi.deployers.Deployment

A resource adapter deployment for JCA/SJC

Author:
Jesper Pedersen

Constructor Summary
RADeployment(URL deployment, String deploymentName, boolean activator, javax.resource.spi.ResourceAdapter ra, org.jboss.jca.core.spi.naming.JndiStrategy jndiStrategy, org.jboss.jca.core.spi.mdr.MetadataRepository metadataRepository, Object[] cfs, String[] jndis, File tmpDirectory, ClassLoader cl, org.jboss.logging.Logger log)
          Constructor
 
Method Summary
 void destroy()
          Destroy
 ClassLoader getClassLoader()
          Get the classloader
 URL getURL()
          Get the unique URL for the deployment
 void stop()
          Stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RADeployment

public RADeployment(URL deployment,
                    String deploymentName,
                    boolean activator,
                    javax.resource.spi.ResourceAdapter ra,
                    org.jboss.jca.core.spi.naming.JndiStrategy jndiStrategy,
                    org.jboss.jca.core.spi.mdr.MetadataRepository metadataRepository,
                    Object[] cfs,
                    String[] jndis,
                    File tmpDirectory,
                    ClassLoader cl,
                    org.jboss.logging.Logger log)
Constructor

Parameters:
deployment - The deployment
deploymentName - The deployment name
activator - Is this the activator of the deployment
ra - The resource adapter instance if present
jndiStrategy - The JNDI strategy
metadataRepository - The metadata repository
cfs - The connection factories
jndis - The JNDI names of the connection factories
tmpDirectory - The temporary directory
cl - The classloader for the deployment
log - The logger
Method Detail

getURL

public URL getURL()
Get the unique URL for the deployment

Specified by:
getURL in interface com.github.fungal.spi.deployers.Deployment
Returns:
The URL

getClassLoader

public ClassLoader getClassLoader()
Get the classloader

Specified by:
getClassLoader in interface com.github.fungal.spi.deployers.Deployment
Returns:
The classloader

stop

public void stop()
Stop


destroy

public void destroy()
Destroy



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