blob: 5959ba79518d0ebd08bbae37c7a4511a5f0623b2 [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (c) 2017, 2018 Oracle and/or its affiliates. All rights reserved.
This program and the accompanying materials are made available under the
terms of the Eclipse Public License v. 2.0, which is available at
http://www.eclipse.org/legal/epl-2.0.
This Source Code may also be made available under the following Secondary
Licenses when the conditions for such availability set forth in the
Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
version 2 with the GNU Classpath Exception, which is available at
https://www.gnu.org/software/classpath/license.html.
SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
-->
<connector xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee/connector_1_5.xsd"
version="1.5">
<description>1.5 validation test</description>
<display-name>Simple Resource Adapter</display-name>
<icon>
<small-icon>employee-service-icon16x16.jpg</small-icon>
<large-icon>employee-service-icon32x32.jpg</large-icon>
</icon>
<vendor-name>Java Software</vendor-name>
<eis-type>Generic Type</eis-type>
<resourceadapter-version>1.0Alpha</resourceadapter-version>
<license>
<description>license description</description>
<license-required>false</license-required>
</license>
<resourceadapter>
<resourceadapter-class>
connector.SimpleResourceAdapterImpl
</resourceadapter-class>
<config-property>
<description>ra config prop</description>
<config-property-name>
TestName
</config-property-name>
<config-property-type>
java.lang.String
</config-property-type>
<config-property-value>
ConfigPropertyForRA
</config-property-value>
</config-property>
<outbound-resourceadapter>
<connection-definition>
<managedconnectionfactory-class>
com.sun.connector.cciblackbox.CciLocalTxManagedConnectionFactory
</managedconnectionfactory-class>
<config-property>
<description>outbound ra config prop</description>
<config-property-name>ConnectionURL</config-property-name>
<config-property-type>java.lang.String</config-property-type>
<config-property-value>DBURL</config-property-value>
</config-property>
<connectionfactory-interface>
jakarta.resource.cci.ConnectionFactory
</connectionfactory-interface>
<connectionfactory-impl-class>
com.sun.connector.cciblackbox.CciConnectionFactory
</connectionfactory-impl-class>
<connection-interface>
jakarta.resource.cci.Connection
</connection-interface>
<connection-impl-class>
com.sun.connector.cciblackbox.CciConnection
</connection-impl-class>
</connection-definition>
<transaction-support>LocalTransaction</transaction-support>
<authentication-mechanism>
<description>auto mechanism</description>
<authentication-mechanism-type>
BasicPassword
</authentication-mechanism-type>
<credential-interface>
jakarta.resource.spi.security.PasswordCredential
</credential-interface>
</authentication-mechanism>
<reauthentication-support>false</reauthentication-support>
</outbound-resourceadapter>
<adminobject>
<adminobject-interface>connector.MyAdminObject</adminobject-interface>
<adminobject-class>connector.MyAdminObject</adminobject-class>
<config-property>
<config-property-name>ResetControl</config-property-name>
<config-property-type>java.lang.String</config-property-type>
<config-property-value>NORESET</config-property-value>
</config-property>
<config-property>
<config-property-name>ExpectedResult</config-property-name>
<config-property-type>java.lang.Integer</config-property-type>
<config-property-value>88</config-property-value>
</config-property>
</adminobject>
<security-permission>
<description>security permission</description>
<security-permission-spec>sec perm1</security-permission-spec>
</security-permission>
<security-permission>
<description>security permission</description>
<security-permission-spec>sec perm2</security-permission-spec>
</security-permission>
</resourceadapter>
</connector>