org.jboss.jca.deployers.fungal
Class DsXmlDeployment

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

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

A datasource deployment for JCA/SJC

Author:
Jesper Pedersen

Constructor Summary
DsXmlDeployment(URL deployment, String deploymentName, Object[] cfs, String[] jndis, 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

DsXmlDeployment

public DsXmlDeployment(URL deployment,
                       String deploymentName,
                       Object[] cfs,
                       String[] jndis,
                       ClassLoader cl)
Constructor

Parameters:
deployment - The deployment
deploymentName - The unique deployment name
cfs - The connection factories
jndis - The JNDI names for the factories
cl - The classloader
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/)