? input.connectionImplClass : this.connectionImplClass; return new ConnectionDefinitionImpl(newManagedconnectionfactoryClass, newConfigProperty, newConnectionfactoryInterface, newConnectionfactoryImplClass, newConnectionInterface, newConnectionImplClass, newId);
private static OutboundResourceAdapter createOutbound(List<ConfigProperty> outboundProperties) { List<org.jboss.jca.common.api.metadata.spec.ConnectionDefinition> definitions = new ArrayList(); List<ConfigProperty> props = new ArrayList(outboundProperties); props.add(simpleProperty15(SESSION_DEFAULT_TYPE, STRING_TYPE, JMS_QUEUE)); props.add(simpleProperty15(TRY_LOCK, INTEGER_TYPE, "0")); definitions.add(new org.jboss.jca.common.metadata.spec.ConnectionDefinitionImpl(str(RAMANAGED_CONN_FACTORY), props, str(RA_CONN_FACTORY), str(RA_CONN_FACTORY_IMPL), str(JMS_SESSION), str(ACTIVEMQ_RA_SESSION), null)); AuthenticationMechanism basicPassword = new AuthenticationMechanismImpl(Collections.<LocalizedXsdString>emptyList(), str(BASIC_PASS), CredentialInterfaceEnum.PasswordCredential, null, null); return new OutboundResourceAdapterImpl(definitions, TransactionSupportEnum.XATransaction, Collections.singletonList(basicPassword), false, null, null, null); }
private static OutboundResourceAdapter createOutbound(List<ConfigProperty> outboundProperties) { List<org.jboss.jca.common.api.metadata.spec.ConnectionDefinition> definitions = new ArrayList(); List<ConfigProperty> props = new ArrayList(outboundProperties); props.add(simpleProperty15(SESSION_DEFAULT_TYPE, STRING_TYPE, JMS_QUEUE)); props.add(simpleProperty15(TRY_LOCK, INTEGER_TYPE, "0")); definitions.add(new org.jboss.jca.common.metadata.spec.ConnectionDefinitionImpl(str(RAMANAGED_CONN_FACTORY), props, str(RA_CONN_FACTORY), str(RA_CONN_FACTORY_IMPL), str(JMS_SESSION), str(ACTIVEMQ_RA_SESSION), null)); AuthenticationMechanism basicPassword = new AuthenticationMechanismImpl(Collections.<LocalizedXsdString>emptyList(), str(BASIC_PASS), CredentialInterfaceEnum.PasswordCredential, null, null); return new OutboundResourceAdapterImpl(definitions, TransactionSupportEnum.XATransaction, Collections.singletonList(basicPassword), false, null, null, null); }
private static OutboundResourceAdapter createOutbound(List<ConfigProperty> outboundProperties) { List<org.jboss.jca.common.api.metadata.spec.ConnectionDefinition> definitions = new ArrayList<>(); List<ConfigProperty> props = new ArrayList<>(outboundProperties); props.add(simpleProperty15(SESSION_DEFAULT_TYPE, STRING_TYPE, JMS_QUEUE)); props.add(simpleProperty15(TRY_LOCK, INTEGER_TYPE, "0")); definitions.add(new org.jboss.jca.common.metadata.spec.ConnectionDefinitionImpl(str(RAMANAGED_CONN_FACTORY), props, str(RA_CONN_FACTORY), str(RA_CONN_FACTORY_IMPL), str(JMS_SESSION), str(ACTIVEMQ_RA_SESSION), null)); AuthenticationMechanism basicPassword = new AuthenticationMechanismImpl(Collections.<LocalizedXsdString>emptyList(), str(BASIC_PASS), CredentialInterfaceEnum.PasswordCredential, null, null); return new OutboundResourceAdapterImpl(definitions, TransactionSupportEnum.XATransaction, Collections.singletonList(basicPassword), false, null, null, null); }
private static OutboundResourceAdapter createOutbound(List<ConfigProperty> outboundProperties) { List<org.jboss.jca.common.api.metadata.spec.ConnectionDefinition> definitions = new ArrayList<>(); List<ConfigProperty> props = new ArrayList<>(outboundProperties); props.add(simpleProperty15(SESSION_DEFAULT_TYPE, STRING_TYPE, JMS_QUEUE)); props.add(simpleProperty15(TRY_LOCK, INTEGER_TYPE, "0")); definitions.add(new org.jboss.jca.common.metadata.spec.ConnectionDefinitionImpl(str(RAMANAGED_CONN_FACTORY), props, str(RA_CONN_FACTORY), str(RA_CONN_FACTORY_IMPL), str(JMS_SESSION), str(ACTIVEMQ_RA_SESSION), null)); AuthenticationMechanism basicPassword = new AuthenticationMechanismImpl(Collections.<LocalizedXsdString>emptyList(), str(BASIC_PASS), CredentialInterfaceEnum.PasswordCredential, null, null); return new OutboundResourceAdapterImpl(definitions, TransactionSupportEnum.XATransaction, Collections.singletonList(basicPassword), false, null, null, null); }
XsdString connectionfactoryImplClass = new XsdString(cd.connectionFactoryImpl().getName(), null); XsdString connectionInterface = new XsdString(cd.connection().getName(), null); return new ConnectionDefinitionImpl(managedconnectionfactoryClass, validProperties, connectionfactoryInterface, connectionfactoryImplClass, connectionInterface, connectionImplClass, null);
ConnectionDefinition cd = new ConnectionDefinitionImpl(managedConnectionFactoryClass, configProperties, connectionFactoryInterface,
return new ConnectionDefinitionImpl(managedconnectionfactoryClass, configProperty, connectionfactoryInterface, connectionfactoryImplClass, connectionInterface, connectionImplClass, id);
/** * {@inheritDoc} */ public CopyableMetaData copy() { return new ConnectionDefinitionImpl(CopyUtil.clone(managedconnectionfactoryClass), CopyUtil.cloneList(configProperties), CopyUtil.clone(connectionfactoryInterface), CopyUtil.clone(connectionfactoryImplClass), CopyUtil.clone(connectionInterface), CopyUtil.clone(connectionImplClass), CopyUtil.cloneString(id)); }
ConnectionDefinition cd = new ConnectionDefinitionImpl(managedconnectionfactoryClass, connectioDefProperties, connectionfactoryInterface, ConnectionDefinition connectionDefinition = new ConnectionDefinitionImpl(managedconnectionfactoryClass, connectioDefProperties, connectionfactoryInterface,