
public class RaXmlDeployer extends AbstractFungalRADeployer
kernelvalidateClasses| Constructor and Description |
|---|
RaXmlDeployer()
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
|
Deployment |
deploy(java.net.URL url,
Context context,
java.lang.ClassLoader parent) |
protected java.io.File |
getFileFromUrl(java.net.URL url)
Get File object of URL who locate xml resource
|
protected java.lang.String |
getIronJacamarHome()
Get IronJacamar Home directory
|
protected DeployersLogger |
getLogger()
Get the logger
|
int |
getOrder() |
void |
postDeploy()
Post deploy
|
void |
postUndeploy()
Post undeploy
|
void |
preDeploy()
Pre deploy
|
void |
preUndeploy()
Pre undeploy
|
bindAdminObject, bindAdminObject, bindConnectionFactory, bindConnectionFactory, checkConfigurationIsValid, getCachedConnectionManager, getKernel, getLogPrintWriter, getReportDirectory, getSubjectFactory, getTransactionIntegration, getTransactionManager, getUrls, initAndInject, registerManagementView, registerResourceAdapterToMDR, registerResourceAdapterToResourceAdapterRepository, setKernel, setRecoveryForResourceAdapterInResourceAdapterRepository, startapplyCapacity, associateResourceAdapter, buildJndiName, createObjectsAndInjectValue, createPoolConfiguration, createSubject, findAdminObjects, findConnectionDefinitions, getBeanValidation, getConfiguration, hasFailuresLevel, initActivationSpec, initAdminObject, printFailuresLog, requireExplicitJndiBindings, scanArchive, setConfiguration, startContext, validateArchiveprotected DeployersLogger getLogger()
getLogger in class AbstractResourceAdapterDeployerpublic boolean accepts(java.net.URL url)
public int getOrder()
public void preDeploy()
throws java.lang.Throwable
java.lang.Throwable - Thrown if an error occurspublic void postDeploy()
throws java.lang.Throwable
java.lang.Throwable - Thrown if an error occurspublic void preUndeploy()
throws java.lang.Throwable
java.lang.Throwable - Thrown if an error occurspublic void postUndeploy()
throws java.lang.Throwable
java.lang.Throwable - Thrown if an error occurspublic Deployment deploy(java.net.URL url,
Context context,
java.lang.ClassLoader parent)
throws DeployException
DeployExceptionprotected 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 DeployException
url - url of the archiveDeployException - 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)
AbstractResourceAdapterDeployercheckActivation in class AbstractResourceAdapterDeployercmd - cmd cmd The connector metadataactivation - The activation metadataCopyright © 2014 IronJacamar (http://www.ironjacamar.org)