-
Notifications
You must be signed in to change notification settings - Fork 8
Defined type jboss::resourceadapter
This defined type can be used to add and remove JBoss resource adapters. A resource adapter is a deployable Java EE component that provides communication between a Java EE application and an Enterprise Information System (EIS) using the Java Connector Architecture (JCA) specification
See more info here: https://docs.oracle.com/javaee/6/tutorial/doc/bncjh.html
jboss::deploy { 'jca-filestore.rar':
jndi => 'jca-filestore.rar',
}
jboss::resourceadapter { 'jca-filestore.rar':
archive => 'jca-filestore.rar',
transactionsupport => 'LocalTransaction',
classname => 'org.example.jca.FileSystemConnectionFactory',
jndiname => 'java:/jboss/jca/photos',
require => JBoss::Deploy['jca-filestore.rar'],
}
Parameters for jboss::resourceadapter
:
This type uses JBoss module standard metaparameters
This is the namevar. The name/ID of resource adapter.
Required parameter. The resource adapter jndi name of connection definition.
Required parameter. The resource adapter archive.
Required parameter. The resource adapter transaction support type. Valid values are: NoTransation
, LocalTransaction
, XATransaction
Required parameter. The resource adapter connection definition class name.
Standard Puppet ensure parameter with values: present
and absent
Security type. By default it is set to application
value
Do use background validation feature. By default it is set to false
.