public abstract class AbstractFungalRADeployer extends AbstractResourceAdapterDeployer
| Modifier and Type | Field and Description |
|---|---|
protected com.github.fungal.api.Kernel |
kernel
The kernel
|
log, validateClasses| Constructor and Description |
|---|
AbstractFungalRADeployer(boolean validateClasses)
Create a new AbstractResourceAdapterDeployer.
|
| Modifier and Type | Method and Description |
|---|---|
String[] |
bindAdminObject(URL url,
String deployment,
Object ao) |
String[] |
bindAdminObject(URL url,
String deployment,
Object ao,
String jndi) |
String[] |
bindConnectionFactory(URL url,
String deployment,
Object cf) |
String[] |
bindConnectionFactory(URL url,
String deployment,
Object cf,
String jndi) |
protected boolean |
checkConfigurationIsValid() |
protected CachedConnectionManager |
getCachedConnectionManager() |
com.github.fungal.api.Kernel |
getKernel()
Get the kernel
|
protected PrintWriter |
getLogPrintWriter() |
protected File |
getReportDirectory() |
protected SubjectFactory |
getSubjectFactory(SecurityMetadata securityMetadata,
String jndiName) |
protected TransactionIntegration |
getTransactionIntegration() |
protected jakarta.transaction.TransactionManager |
getTransactionManager() |
protected URL[] |
getUrls(File directory)
Get the URLs for the directory and all libraries located in the directory
|
Object |
initAndInject(String className,
List<? extends ConfigProperty> configs,
ClassLoader cl)
Initialize and inject configuration properties
|
protected List<ObjectName> |
registerManagementView(Connector mgtConnector,
MBeanServer server,
String domain)
Register management view of a connector in JMX
|
protected void |
registerResourceAdapterToMDR(URL url,
File root,
Connector cmd,
Activation activation) |
protected String |
registerResourceAdapterToResourceAdapterRepository(jakarta.resource.spi.ResourceAdapter instance) |
void |
setKernel(com.github.fungal.api.Kernel kernel)
Set the kernel
|
protected void |
setRecoveryForResourceAdapterInResourceAdapterRepository(String key,
boolean isXA) |
void |
start()
Start
|
applyCapacity, associateResourceAdapter, buildJndiName, checkActivation, createCallback, createObjectsAndInjectValue, createPoolConfiguration, createSubject, findAdminObjects, findConnectionDefinitions, getBeanValidation, getConfiguration, getLogger, hasFailuresLevel, initActivationSpec, initAdminObject, printFailuresLog, requireExplicitJndiBindings, scanArchive, setCallbackSecurity, setConfiguration, startContext, validateArchivepublic AbstractFungalRADeployer(boolean validateClasses)
validateClasses - boolean to express if this instance will apply validation on classes structurepublic com.github.fungal.api.Kernel getKernel()
public void setKernel(com.github.fungal.api.Kernel kernel)
kernel - The kernelpublic void start()
start in class AbstractResourceAdapterDeployerpublic Object initAndInject(String className, List<? extends ConfigProperty> configs, ClassLoader cl) throws DeployException
initAndInject in class AbstractResourceAdapterDeployerclassName - The fully qualified class nameconfigs - The configuration propertiescl - The class loaderDeployException - Thrown if the object cant be initializedprotected URL[] getUrls(File directory) throws MalformedURLException, IOException
directory - The directoryMalformedURLException - MalformedURLExceptionIOException - IOExceptionpublic String[] bindConnectionFactory(URL url, String deployment, Object cf) throws Throwable
bindConnectionFactory in class AbstractResourceAdapterDeployerThrowablepublic String[] bindConnectionFactory(URL url, String deployment, Object cf, String jndi) throws Throwable
bindConnectionFactory in class AbstractResourceAdapterDeployerThrowablepublic String[] bindAdminObject(URL url, String deployment, Object ao) throws Throwable
bindAdminObject in class AbstractResourceAdapterDeployerThrowablepublic String[] bindAdminObject(URL url, String deployment, Object ao, String jndi) throws Throwable
bindAdminObject in class AbstractResourceAdapterDeployerThrowableprotected File getReportDirectory()
getReportDirectory in class AbstractResourceAdapterDeployerprotected boolean checkConfigurationIsValid()
checkConfigurationIsValid in class AbstractResourceAdapterDeployerprotected PrintWriter getLogPrintWriter()
getLogPrintWriter in class AbstractResourceAdapterDeployerprotected jakarta.transaction.TransactionManager getTransactionManager()
getTransactionManager in class AbstractResourceAdapterDeployerprotected TransactionIntegration getTransactionIntegration()
getTransactionIntegration in class AbstractResourceAdapterDeployerprotected void registerResourceAdapterToMDR(URL url, File root, Connector cmd, Activation activation) throws AlreadyExistsException
registerResourceAdapterToMDR in class AbstractResourceAdapterDeployerAlreadyExistsExceptionprotected String registerResourceAdapterToResourceAdapterRepository(jakarta.resource.spi.ResourceAdapter instance)
registerResourceAdapterToResourceAdapterRepository in class AbstractResourceAdapterDeployerprotected void setRecoveryForResourceAdapterInResourceAdapterRepository(String key, boolean isXA)
setRecoveryForResourceAdapterInResourceAdapterRepository in class AbstractResourceAdapterDeployerprotected List<ObjectName> registerManagementView(Connector mgtConnector, MBeanServer server, String domain) throws JMException
mgtConnector - The management view of the connectorserver - The MBeanServer instancedomain - The management domainJMException - Thrown in case of an errorprotected SubjectFactory getSubjectFactory(SecurityMetadata securityMetadata, String jndiName) throws DeployException
getSubjectFactory in class AbstractResourceAdapterDeployerDeployExceptionprotected CachedConnectionManager getCachedConnectionManager()
getCachedConnectionManager in class AbstractResourceAdapterDeployerCopyright © 2021 JBoss by Red Hat. All rights reserved.