@XmlElement(name = "config-property") public List<ConfigProperty> getConfigProperty() { return connectionDefinition.getConfigProperty(); }
@XmlElement(name = "config-property") public List<ConfigProperty> getConfigProperty() { return connectionDefinition.getConfigProperty(); }
@XmlElement(name = "config-property") public List<ConfigProperty> getConfigProperty() { return connectionDefinition.getConfigProperty(); }
private void buildConnectionDefinition(Class<? extends ManagedConnectionFactory> mcfClass, javax.resource.spi.ConnectionDefinition connectionDefinitionAnnotation, OutboundResourceAdapter outboundResourceAdapter) throws DeploymentException { ConnectionDefinition connectionDefinition = getConnectionDefinition(connectionDefinitionAnnotation, outboundResourceAdapter); if (connectionDefinition.getManagedConnectionFactoryClass() == null) { connectionDefinition.setManagedConnectionFactoryClass(mcfClass.getName()); } if (mcfClass.getName().equals(connectionDefinition.getManagedConnectionFactoryClass())) { connectionDefinition.setConnectionFactoryImplClass(connectionDefinitionAnnotation.connectionFactoryImpl().getName()); connectionDefinition.setConnectionInterface(connectionDefinitionAnnotation.connection().getName()); connectionDefinition.setConnectionImplClass(connectionDefinitionAnnotation.connectionImpl().getName()); setConfigProperties(connectionDefinition.getConfigProperty(), mcfClass); } }
private Map getManagedConnectionFactoryInfoMap(AbstractName validatorName, List<ConnectionDefinition> connectionDefinitions, Bundle bundle) throws DeploymentException { Map<String, GBeanData> managedConnectionFactoryInfos = new HashMap<String, GBeanData>(); for (ConnectionDefinition connectionDefinition : connectionDefinitions) { GBeanInfoBuilder managedConnectionFactoryInfoBuilder = new GBeanInfoBuilder(ManagedConnectionFactoryWrapper.class, ManagedConnectionFactoryWrapperGBean.GBEAN_INFO); String managedConnectionfactoryClassName = connectionDefinition.getManagedConnectionFactoryClass(); Set<String> ignore = new HashSet<String>(); ignore.add("ResourceAdapter"); ignore.add("LogWriter"); GBeanData managedConnectionFactoryGBeanData = setUpDynamicGBeanWithProperties(managedConnectionfactoryClassName, managedConnectionFactoryInfoBuilder, connectionDefinition.getConfigProperty(), bundle, ignore); // set the standard properties String connectionfactoryInterface = connectionDefinition.getConnectionFactoryInterface(); managedConnectionFactoryGBeanData.setAttribute("managedConnectionFactoryClass", managedConnectionfactoryClassName); managedConnectionFactoryGBeanData.setAttribute("connectionFactoryInterface", connectionfactoryInterface); managedConnectionFactoryGBeanData.setAttribute("connectionFactoryImplClass", connectionDefinition.getConnectionFactoryImplClass()); managedConnectionFactoryGBeanData.setAttribute("connectionInterface", connectionDefinition.getConnectionInterface()); managedConnectionFactoryGBeanData.setAttribute("connectionImplClass", connectionDefinition.getConnectionImplClass()); managedConnectionFactoryGBeanData.setReferencePattern("ValidatorFactory", validatorName); managedConnectionFactoryInfos.put(connectionfactoryInterface, managedConnectionFactoryGBeanData); } return managedConnectionFactoryInfos; }
for (ConfigProperty property : connection.getConfigProperty()) { String name = property.getConfigPropertyName(); String value = property.getConfigPropertyValue();
for (final ConfigProperty property : connection.getConfigProperty()) { final String name = property.getConfigPropertyName(); final String value = property.getConfigPropertyValue();
for (final ConfigProperty property : connection.getConfigProperty()) { final String name = property.getConfigPropertyName(); final String value = property.getConfigPropertyValue();