org.jboss.jca.deployers.fungal
Class RaXmlDeployment

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

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

A -ra.xml deployment for JCA/SJC

Author:
Jesper Pedersen

Constructor Summary
RaXmlDeployment(URL deployment, URL raDeployment, String deploymentName, 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, 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

RaXmlDeployment

public RaXmlDeployment(URL deployment,
                       URL raDeployment,
                       String deploymentName,
                       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,
                       ClassLoader cl,
                       org.jboss.logging.Logger log)
Constructor

Parameters:
deployment - The deployment
raDeployment - The resource adapter deployment
deploymentName - The deployment name
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
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/)