public class Merger extends Object
Modifier and Type | Class and Description |
---|---|
protected static class |
Merger.ConfigPropertyFactory
A ConfigPropertyFactory.
|
Constructor and Description |
---|
Merger() |
Modifier and Type | Method and Description |
---|---|
List<ConfigProperty> |
mergeConfigProperties(Map<String,String> ijProperties,
List<ConfigProperty> original)
Merge ironJacamar's properties with connector's one returning a List of COnnector's properties
|
Connector |
mergeConnectorAndDs(CommonDataSource cds,
Connector connector)
Merge a connector with a DataSource metadata
|
Connector |
mergeConnectorWithCommonIronJacamar(Activation ij,
Connector conn)
Merge a
Connector and a Activation passing also Matcher to identify AdminObject
and ConnectionDefinition to merge inside the passed objects |
public List<ConfigProperty> mergeConfigProperties(Map<String,String> ijProperties, List<ConfigProperty> original)
ijProperties
- ironjacamar's extension style propertiesoriginal
- standard connector's propertiespublic Connector mergeConnectorWithCommonIronJacamar(Activation ij, Connector conn)
Connector
and a Activation
passing also Matcher to identify AdminObject
and ConnectionDefinition
to merge inside the passed objectsij
- the Activation
objectconn
- Connector
objectConnector
public Connector mergeConnectorAndDs(CommonDataSource cds, Connector connector) throws IllegalArgumentException, Exception
cds
- the datasource it is one of interface extending CommonDataSource
.
IOW it can be both DataSource
or XaDataSource
connector
- the connector to mergeIllegalArgumentException
- if version is't 1.0, 1.5 or 1.6Exception
- in case of errorCopyright © 2021 JBoss by Red Hat. All rights reserved.