@XmlElement(name = "managedconnectionfactory-class", required = true) public String getManagedConnectionFactoryClass() { return connectionDefinition.getManagedConnectionFactoryClass(); }
@XmlElement(name = "managedconnectionfactory-class", required = true) public String getManagedConnectionFactoryClass() { return connectionDefinition.getManagedConnectionFactoryClass(); }
@XmlElement(name = "managedconnectionfactory-class", required = true) public String getManagedConnectionFactoryClass() { return connectionDefinition.getManagedConnectionFactoryClass(); }
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; }
if (cd.getManagedConnectionFactoryClass().equals(cls.getName())) { definition = cd; break; if (definition.getManagedConnectionFactoryClass() == null) { definition.setManagedConnectionFactoryClass(cls.getName());
if (cd.getManagedConnectionFactoryClass().equals(cls.getName())) { definition = cd; break; if (definition.getManagedConnectionFactoryClass() == null) { definition.setManagedConnectionFactoryClass(cls.getName());
String className = connection.getManagedConnectionFactoryClass(); String type = connection.getConnectionFactoryInterface();
final String className = connection.getManagedConnectionFactoryClass(); final String type = connection.getConnectionFactoryInterface();
final String className = connection.getManagedConnectionFactoryClass(); final String type = connection.getConnectionFactoryInterface();
final List<org.apache.openejb.jee.ConnectionDefinition> connectionDefinitions = connector.getResourceAdapter().getOutboundResourceAdapter().getConnectionDefinition(); for (final org.apache.openejb.jee.ConnectionDefinition connectionDefinition : connectionDefinitions) { process(connectorModule.getClassLoader(), connectionDefinition.getManagedConnectionFactoryClass(), connectionDefinition);
final List<org.apache.openejb.jee.ConnectionDefinition> connectionDefinitions = connector.getResourceAdapter().getOutboundResourceAdapter().getConnectionDefinition(); for (final org.apache.openejb.jee.ConnectionDefinition connectionDefinition : connectionDefinitions) { process(connectorModule.getClassLoader(), connectionDefinition.getManagedConnectionFactoryClass(), connectionDefinition);