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, javax.resource.spi.ResourceAdapter ra, org.jboss.jca.core.spi.naming.JndiStrategy jndiStrategy, Object[] cfs, File tmpDirectory, ClassLoader cl)
          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,
                    javax.resource.spi.ResourceAdapter ra,
                    org.jboss.jca.core.spi.naming.JndiStrategy jndiStrategy,
                    Object[] cfs,
                    File tmpDirectory,
                    ClassLoader cl)
Constructor

Parameters:
deployment - The deployment
deploymentName - The deployment name
ra - The resource adapter instance if present
jndiStrategy - The JNDI strategy
cfs - The connection factories
tmpDirectory - The temporary directory
cl - The classloader for the deployment
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/)