{
"operation-name" : "add",
"description" : "Add a connection definition.",
"request-properties" : {
"allocation-retry" : {
"type" : {
"TYPE_MODEL_VALUE" : "INT"
},
"description" : "The allocation retry element indicates the number of times that allocating a connection should be tried before throwing an exception.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"stability" : "default"
},
"allocation-retry-wait-millis" : {
"type" : {
"TYPE_MODEL_VALUE" : "LONG"
},
"description" : "The allocation retry wait millis element specifies the amount of time, in milliseconds, to wait between retrying to allocate a connection.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"stability" : "default"
},
"authentication-context" : {
"type" : {
"TYPE_MODEL_VALUE" : "STRING"
},
"description" : "The Elytron authentication context which defines the javax.security.auth.Subject that is used to distinguish connections in the pool.",
"expressions-allowed" : false,
"required" : false,
"nillable" : true,
"alternatives" : [
"security-domain",
"security-domain-and-application",
"security-application",
"authentication-context-and-application"
],
"min-length" : 1,
"max-length" : 2147483647,
"stability" : "default"
},
"authentication-context-and-application" : {
"type" : {
"TYPE_MODEL_VALUE" : "STRING"
},
"description" : "Indicates that either application-supplied parameters, such as from getConnection(user, pw), or Subject (provided by Elytron after authenticating using configured authentication-context), are used to distinguish connections in the pool.",
"expressions-allowed" : false,
"required" : false,
"nillable" : true,
"alternatives" : [
"security-domain",
"security-domain-and-application",
"security-application",
"authentication-context"
],
"min-length" : 1,
"max-length" : 2147483647,
"stability" : "default"
},
"background-validation" : {
"type" : {
"TYPE_MODEL_VALUE" : "BOOLEAN"
},
"description" : "An element to specify that connections should be validated on a background thread versus being validated prior to use. Changing this value requires a server restart.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"stability" : "default"
},
"background-validation-millis" : {
"type" : {
"TYPE_MODEL_VALUE" : "LONG"
},
"description" : "The background-validation-millis element specifies the amount of time, in milliseconds, that background validation will run. Changing this value requires a server restart.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"unit" : "MILLISECONDS",
"min" : 1,
"max" : 2147483647,
"stability" : "default"
},
"blocking-timeout-wait-millis" : {
"type" : {
"TYPE_MODEL_VALUE" : "LONG"
},
"description" : "The blocking-timeout-millis element specifies the maximum time, in milliseconds, to block while waiting for a connection before throwing an exception. Note that this blocks only while waiting for locking a connection, and will never throw an exception if creating a new connection takes an inordinately long time.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"unit" : "MILLISECONDS",
"stability" : "default"
},
"capacity-decrementer-class" : {
"type" : {
"TYPE_MODEL_VALUE" : "STRING"
},
"description" : "Class defining the policy for decrementing connections in the pool.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"min-length" : 1,
"max-length" : 2147483647,
"stability" : "default"
},
"capacity-decrementer-properties" : {
"type" : {
"TYPE_MODEL_VALUE" : "OBJECT"
},
"description" : "Properties to inject in class defining the policy for decrementing connections in the pool.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"stability" : "default",
"value-type" : {
"TYPE_MODEL_VALUE" : "STRING"
}
},
"capacity-incrementer-class" : {
"type" : {
"TYPE_MODEL_VALUE" : "STRING"
},
"description" : "Class defining the policy for incrementing connections in the pool.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"min-length" : 1,
"max-length" : 2147483647,
"stability" : "default"
},
"capacity-incrementer-properties" : {
"type" : {
"TYPE_MODEL_VALUE" : "OBJECT"
},
"description" : "Properties to inject in class defining the policy for incrementing connections in the pool.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"stability" : "default",
"value-type" : {
"TYPE_MODEL_VALUE" : "STRING"
}
},
"class-name" : {
"type" : {
"TYPE_MODEL_VALUE" : "STRING"
},
"description" : "Specifies the fully qualified class name of a managed connection factory or admin object.",
"expressions-allowed" : true,
"required" : true,
"nillable" : false,
"min-length" : 1,
"max-length" : 2147483647,
"stability" : "default"
},
"connectable" : {
"type" : {
"TYPE_MODEL_VALUE" : "BOOLEAN"
},
"description" : "Enable the use of CMR. This feature means that a local resource can reliably participate in an XA transaction.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"default" : false,
"stability" : "default"
},
"elytron-enabled" : {
"type" : {
"TYPE_MODEL_VALUE" : "BOOLEAN"
},
"description" : "Enables Elytron security for handling authentication of connections. The Elytron authentication-context to be used will be current context if no context is specified (see authentication-context).",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"default" : false,
"stability" : "default",
"deprecated" : {
"since" : "6.1.0",
"reason" : "Elytron is enabled by default and this field is ignored."
}
},
"enabled" : {
"type" : {
"TYPE_MODEL_VALUE" : "BOOLEAN"
},
"description" : "Specifies if the resource adapter should be enabled.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"default" : true,
"stability" : "default"
},
"enlistment" : {
"type" : {
"TYPE_MODEL_VALUE" : "BOOLEAN"
},
"description" : "Defines if lazy enlistment should be used if supported by the resource adapter.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"default" : true,
"stability" : "default"
},
"enlistment-trace" : {
"type" : {
"TYPE_MODEL_VALUE" : "BOOLEAN"
},
"description" : "Defines if WildFly/IronJacamar should record enlistment traces.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"default" : false,
"stability" : "default"
},
"flush-strategy" : {
"type" : {
"TYPE_MODEL_VALUE" : "STRING"
},
"description" : "Specifies how the pool should be flushed in case of an error.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"default" : "FailingConnectionOnly",
"allowed" : [
"FailingConnectionOnly",
"InvalidIdleConnections",
"IdleConnections",
"Gracefully",
"EntirePool",
"AllInvalidIdleConnections",
"AllIdleConnections",
"AllGracefully",
"AllConnections"
],
"stability" : "default"
},
"idle-timeout-minutes" : {
"type" : {
"TYPE_MODEL_VALUE" : "LONG"
},
"description" : "Specifies the maximum time, in minutes, a connection may be idle before being closed. The actual maximum time depends also on the IdleRemover scan time, which is half of the smallest idle-timeout-minutes value of any pool. Changing this value requires a server restart.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"unit" : "MINUTES",
"min" : 0,
"max" : 2147483647,
"stability" : "default"
},
"initial-pool-size" : {
"type" : {
"TYPE_MODEL_VALUE" : "INT"
},
"description" : "Specifies the initial number of connections a pool should hold.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"stability" : "default"
},
"interleaving" : {
"type" : {
"TYPE_MODEL_VALUE" : "BOOLEAN"
},
"description" : "An element to enable interleaving for XA connections.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"default" : false,
"stability" : "default"
},
"jndi-name" : {
"type" : {
"TYPE_MODEL_VALUE" : "STRING"
},
"description" : "Specifies the JNDI name for the connection factory.",
"expressions-allowed" : true,
"required" : true,
"nillable" : false,
"stability" : "default"
},
"max-pool-size" : {
"type" : {
"TYPE_MODEL_VALUE" : "INT"
},
"description" : "Specifies the maximum number of connections for a pool. No more connections will be created in each sub-pool.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"default" : 20,
"stability" : "default"
},
"mcp" : {
"type" : {
"TYPE_MODEL_VALUE" : "STRING"
},
"description" : "Defines the ManagedConnectionPool implementation. For example: org.jboss.jca.core.connectionmanager.pool.mcp.SemaphoreArrayListManagedConnectionPool.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"min-length" : 1,
"max-length" : 2147483647,
"stability" : "default"
},
"min-pool-size" : {
"type" : {
"TYPE_MODEL_VALUE" : "INT"
},
"description" : "Specifies the minimum number of connections for a pool.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"default" : 0,
"stability" : "default"
},
"no-recovery" : {
"type" : {
"TYPE_MODEL_VALUE" : "BOOLEAN"
},
"description" : "Specifies if the connection pool should be excluded from recovery.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"default" : false,
"stability" : "default"
},
"no-tx-separate-pool" : {
"type" : {
"TYPE_MODEL_VALUE" : "BOOLEAN"
},
"description" : "Oracle does not like XA connections getting used both inside and outside a JTA transaction. To workaround the problem you can create separate sub-pools for the different contexts.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"default" : false,
"stability" : "default"
},
"pad-xid" : {
"type" : {
"TYPE_MODEL_VALUE" : "BOOLEAN"
},
"description" : "Specifies whether the Xid should be padded.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"default" : false,
"stability" : "default"
},
"pool-fair" : {
"type" : {
"TYPE_MODEL_VALUE" : "BOOLEAN"
},
"description" : "Defines if pool use should be fair.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"default" : true,
"stability" : "default"
},
"pool-prefill" : {
"type" : {
"TYPE_MODEL_VALUE" : "BOOLEAN"
},
"description" : "Specifies if the pool should be prefilled. Changing this value requires a server restart.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"default" : false,
"stability" : "default"
},
"pool-use-strict-min" : {
"type" : {
"TYPE_MODEL_VALUE" : "BOOLEAN"
},
"description" : "Specifies if the min-pool-size should be considered strict.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"default" : false,
"stability" : "default"
},
"recovery-authentication-context" : {
"type" : {
"TYPE_MODEL_VALUE" : "STRING"
},
"description" : "The Elytron authentication context used for recovery (current authentication-context will be used if unspecified).",
"expressions-allowed" : false,
"required" : false,
"nillable" : true,
"alternatives" : ["recovery-security-domain"],
"min-length" : 1,
"max-length" : 2147483647,
"stability" : "default"
},
"recovery-credential-reference" : {
"type" : {
"TYPE_MODEL_VALUE" : "OBJECT"
},
"description" : "Credential (from Credential Store) to authenticate on recovery connection",
"expressions-allowed" : false,
"required" : false,
"nillable" : true,
"alternatives" : ["recovery-password"],
"stability" : "default",
"value-type" : {
"store" : {
"type" : {
"TYPE_MODEL_VALUE" : "STRING"
},
"description" : "The name of the credential store holding the alias to credential",
"expressions-allowed" : false,
"required" : false,
"nillable" : true,
"min-length" : 1,
"max-length" : 2147483647,
"stability" : "default"
},
"alias" : {
"type" : {
"TYPE_MODEL_VALUE" : "STRING"
},
"description" : "The alias which denotes stored secret or credential in the store",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"requires" : ["store"],
"min-length" : 1,
"max-length" : 2147483647,
"stability" : "default"
},
"type" : {
"type" : {
"TYPE_MODEL_VALUE" : "STRING"
},
"description" : "The type of credential this reference is denoting",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"min-length" : 1,
"max-length" : 2147483647,
"stability" : "default"
},
"clear-text" : {
"type" : {
"TYPE_MODEL_VALUE" : "STRING"
},
"description" : "Secret specified using clear text (check credential store way of supplying credential/secrets to services)",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"min-length" : 1,
"max-length" : 2147483647,
"stability" : "default"
}
}
},
"recovery-elytron-enabled" : {
"type" : {
"TYPE_MODEL_VALUE" : "BOOLEAN"
},
"description" : "Indicates that an Elytron authentication context will be used for recovery.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"default" : false,
"stability" : "default",
"deprecated" : {
"since" : "6.1.0",
"reason" : "Elytron is enabled by default and this field is ignored."
}
},
"recovery-password" : {
"type" : {
"TYPE_MODEL_VALUE" : "STRING"
},
"description" : "The password used for recovery.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"alternatives" : ["recovery-credential-reference"],
"min-length" : 1,
"max-length" : 2147483647,
"stability" : "default"
},
"recovery-plugin-class-name" : {
"type" : {
"TYPE_MODEL_VALUE" : "STRING"
},
"description" : "The fully qualified class name of the recovery plugin implementation.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"min-length" : 1,
"max-length" : 2147483647,
"stability" : "default"
},
"recovery-plugin-properties" : {
"type" : {
"TYPE_MODEL_VALUE" : "OBJECT"
},
"description" : "The properties for the recovery plugin.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"stability" : "default",
"value-type" : {
"TYPE_MODEL_VALUE" : "STRING"
}
},
"recovery-security-domain" : {
"type" : {
"TYPE_MODEL_VALUE" : "STRING"
},
"description" : "The PicketBox security domain used for recovery.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"alternatives" : ["recovery-authentication-context"],
"min-length" : 1,
"max-length" : 2147483647,
"stability" : "default",
"deprecated" : {
"since" : "6.1.0",
"reason" : "PicketBox security domains are not supported in servers running the current version of the datasources subsystem. Use 'authentication-context' to configure Elytron security."
}
},
"recovery-username" : {
"type" : {
"TYPE_MODEL_VALUE" : "STRING"
},
"description" : "The user name used for recovery.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"min-length" : 1,
"max-length" : 2147483647,
"stability" : "default"
},
"same-rm-override" : {
"type" : {
"TYPE_MODEL_VALUE" : "BOOLEAN"
},
"description" : "Using this attribute, you can unconditionally set whether javax.transaction.xa.XAResource.isSameRM(XAResource) returns true or false.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"stability" : "default"
},
"security-application" : {
"type" : {
"TYPE_MODEL_VALUE" : "BOOLEAN"
},
"description" : "Indicates that application-supplied parameters, such as from getConnection(user, pw), are used to distinguish connections in the pool.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"default" : false,
"alternatives" : [
"security-domain",
"security-domain-and-application",
"authentication-context",
"authentication-context-and-application"
],
"stability" : "default"
},
"security-domain" : {
"type" : {
"TYPE_MODEL_VALUE" : "STRING"
},
"description" : "Specifies the PicketBox security domain which defines the javax.security.auth.Subject that is used to distinguish connections in the pool.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"alternatives" : [
"security-domain-and-application",
"security-application",
"authentication-context",
"authentication-context-and-application"
],
"min-length" : 1,
"max-length" : 2147483647,
"stability" : "default",
"deprecated" : {
"since" : "6.1.0",
"reason" : "PicketBox security domains are not supported in servers running the current version of the datasources subsystem. Use 'authentication-context' to configure Elytron security."
}
},
"security-domain-and-application" : {
"type" : {
"TYPE_MODEL_VALUE" : "STRING"
},
"description" : "Indicates that either application-supplied parameters, such as from getConnection(user, pw) are used to distinguish connections in the pool.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"alternatives" : [
"security-domain",
"security-application",
"authentication-context",
"authentication-context-and-application"
],
"min-length" : 1,
"max-length" : 2147483647,
"stability" : "default",
"deprecated" : {
"since" : "6.1.0",
"reason" : "PicketBox is no longer supported. Use Elytron configuration instead."
}
},
"sharable" : {
"type" : {
"TYPE_MODEL_VALUE" : "BOOLEAN"
},
"description" : "Enable the use of sharable connections, which allows lazy association to be enabled if supported.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"default" : true,
"stability" : "default"
},
"tracking" : {
"type" : {
"TYPE_MODEL_VALUE" : "BOOLEAN"
},
"description" : "Defines if IronJacamar should track connection handles across transaction boundaries.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"stability" : "default"
},
"use-ccm" : {
"type" : {
"TYPE_MODEL_VALUE" : "BOOLEAN"
},
"description" : "Enable the use of a cached connection manager.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"default" : true,
"stability" : "default"
},
"use-fast-fail" : {
"type" : {
"TYPE_MODEL_VALUE" : "BOOLEAN"
},
"description" : "Whether to fail a connection allocation on the first try if it is invalid (true) or keep trying until the pool is exhausted of all potential connections (false).",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"default" : false,
"stability" : "default"
},
"use-java-context" : {
"type" : {
"TYPE_MODEL_VALUE" : "BOOLEAN"
},
"description" : "Setting this to false will bind the object into global JNDI.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"default" : true,
"stability" : "default"
},
"validate-on-match" : {
"type" : {
"TYPE_MODEL_VALUE" : "BOOLEAN"
},
"description" : "This specifies if connection validation should be done when a connection factory attempts to match a managed connection. This is typically exclusive to the use of background validation.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"stability" : "default"
},
"wrap-xa-resource" : {
"type" : {
"TYPE_MODEL_VALUE" : "BOOLEAN"
},
"description" : "Specifies whether XAResource instances should be wrapped in an org.jboss.tm.XAResourceWrapper instance.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"default" : true,
"stability" : "default"
},
"xa-resource-timeout" : {
"type" : {
"TYPE_MODEL_VALUE" : "INT"
},
"description" : "The value is passed to XAResource.setTransactionTimeout(), in seconds.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"stability" : "default"
}
},
"reply-properties" : {},
"stability" : "default",
"read-only" : false,
"runtime-only" : false
}