public class RADeployer extends AbstractFungalRADeployer implements com.github.fungal.spi.deployers.Deployer
kernel
Constructor and Description |
---|
RADeployer()
Constructor
|
Modifier and Type | Method and Description |
---|---|
boolean |
accepts(java.net.URL url) |
protected boolean |
checkActivation(org.jboss.jca.common.api.metadata.spec.Connector cmd,
org.jboss.jca.common.api.metadata.resourceadapter.Activation activation)
Check if the resource adapter should be activated based on the ironjacamar.xml input
|
protected void |
cleanTemporaryFiles(java.net.URL url)
Clean all potential temporary files
|
com.github.fungal.spi.deployers.Deployment |
deploy(java.net.URL url,
com.github.fungal.spi.deployers.Context context,
java.lang.ClassLoader parent) |
protected java.io.File |
getFileFromUrl(java.net.URL url)
Get File object of URL who locate a rar resource
|
protected java.lang.String |
getIronJacamarHome()
Get IronJacamar Home directory
|
protected org.jboss.jca.deployers.DeployersLogger |
getLogger()
Get the logger
|
int |
getOrder() |
bindAdminObject, bindAdminObject, bindConnectionFactory, bindConnectionFactory, checkConfigurationIsValid, getCachedConnectionManager, getKernel, getLogPrintWriter, getReportDirectory, getSubjectFactory, getTransactionIntegration, getTransactionManager, getUrls, initAndInject, registerManagementView, registerResourceAdapterToMDR, registerResourceAdapterToResourceAdapterRepository, setKernel, setRecoveryForResourceAdapterInResourceAdapterRepository, start
applyCapacity, associateResourceAdapter, buildJndiName, createCallback, createObjectsAndInjectValue, createPoolConfiguration, createSubject, findAdminObjects, findConnectionDefinitions, getBeanValidation, getConfiguration, hasFailuresLevel, initActivationSpec, initAdminObject, printFailuresLog, requireExplicitJndiBindings, scanArchive, setCallbackSecurity, setConfiguration, startContext, validateArchive
protected org.jboss.jca.deployers.DeployersLogger getLogger()
getLogger
in class org.jboss.jca.deployers.common.AbstractResourceAdapterDeployer
public boolean accepts(java.net.URL url)
accepts
in interface com.github.fungal.spi.deployers.Deployer
public int getOrder()
getOrder
in interface com.github.fungal.spi.deployers.Deployer
public com.github.fungal.spi.deployers.Deployment deploy(java.net.URL url, com.github.fungal.spi.deployers.Context context, java.lang.ClassLoader parent) throws com.github.fungal.spi.deployers.DeployException
deploy
in interface com.github.fungal.spi.deployers.Deployer
com.github.fungal.spi.deployers.DeployException
protected java.io.File getFileFromUrl(java.net.URL url) throws java.net.URISyntaxException, java.io.IOException
url
- url of the archivejava.net.URISyntaxException
- Thrown if the resource adapter cant be foundjava.io.IOException
- Thrown if the resource adapter cant be accessibleprotected java.lang.String getIronJacamarHome()
protected void cleanTemporaryFiles(java.net.URL url) throws com.github.fungal.spi.deployers.DeployException
url
- url of the archivecom.github.fungal.spi.deployers.DeployException
- Thrown if the resource cant be cleanedprotected boolean checkActivation(org.jboss.jca.common.api.metadata.spec.Connector cmd, org.jboss.jca.common.api.metadata.resourceadapter.Activation activation)
checkActivation
in class org.jboss.jca.deployers.common.AbstractResourceAdapterDeployer
cmd
- The connector metadataactivation
- The activation metadataCopyright © 2014 IronJacamar (http://www.ironjacamar.org)