org.wildfly.extras.creaper.commands.ra
Class AddConnectionFactoryToRA.Builder
java.lang.Object
org.wildfly.extras.creaper.commands.ra.AddConnectionFactoryToRA.Builder
- Enclosing class:
- AddConnectionFactoryToRA
public static final class AddConnectionFactoryToRA.Builder
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AddConnectionFactoryToRA.Builder
public AddConnectionFactoryToRA.Builder(String poolName,
String localJndiName,
String resourceAdapterId)
- Parameters:
poolName - unique id for connection factory (not used for jndi lookup)localJndiName - jndi name for connection factory used for jndi lookup from appsresourceAdapterId - id of the resource adapter where this connection factory will be added
addXARecovery
public AddConnectionFactoryToRA.Builder addXARecovery(String userName,
String password)
- XA recovery credentials
- Parameters:
userName - user namepassword - password
setApplicationSecurity
public AddConnectionFactoryToRA.Builder setApplicationSecurity(boolean applicationSecurity)
- Parameters:
applicationSecurity - sets security element if true
addProperty
public AddConnectionFactoryToRA.Builder addProperty(String name,
String value)
- Other properties depending on particular resource adapter requirements
- Parameters:
name - name of propertyvalue - value
setTracking
public AddConnectionFactoryToRA.Builder setTracking(boolean tracking)
- Defines whether IronJacamar should track connection handles across transaction boundaries
- Parameters:
tracking - default is true
build
public AddConnectionFactoryToRA build()
Copyright © 2020. All rights reserved.