public class RaXmlDeployer extends AbstractFungalRADeployer implements com.github.fungal.spi.deployers.Deployer, com.github.fungal.spi.deployers.DeployerPhases
kernel
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
|
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 xml resource
|
protected java.lang.String |
getIronJacamarHome()
Get IronJacamar Home directory
|
protected org.jboss.jca.deployers.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, 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 void preDeploy() throws java.lang.Throwable
preDeploy
in interface com.github.fungal.spi.deployers.DeployerPhases
java.lang.Throwable
- Thrown if an error occurspublic void postDeploy() throws java.lang.Throwable
postDeploy
in interface com.github.fungal.spi.deployers.DeployerPhases
java.lang.Throwable
- Thrown if an error occurspublic void preUndeploy() throws java.lang.Throwable
preUndeploy
in interface com.github.fungal.spi.deployers.DeployerPhases
java.lang.Throwable
- Thrown if an error occurspublic void postUndeploy() throws java.lang.Throwable
postUndeploy
in interface com.github.fungal.spi.deployers.DeployerPhases
java.lang.Throwable
- Thrown if an error occurspublic 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)
org.jboss.jca.deployers.common.AbstractResourceAdapterDeployer
checkActivation
in class org.jboss.jca.deployers.common.AbstractResourceAdapterDeployer
cmd
- cmd cmd The connector metadataactivation
- The activation metadataCopyright © 2014 IronJacamar (http://www.ironjacamar.org)