<?xml version="1.0" encoding="UTF-8"?>
<!--
  Licensed to the Apache Software Foundation (ASF) under one
  or more contributor license agreements. See the NOTICE file
  distributed with this work for additional information
  regarding copyright ownership. The ASF licenses this file
  to you under the Apache License, Version 2.0 (the
  "License"); you may not use this file except in compliance
  with the License. You may obtain a copy of the License at

  http://www.apache.org/licenses/LICENSE-2.0

  Unless required by applicable law or agreed to in writing,
  software distributed under the License is distributed on an
  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  KIND, either express or implied. See the License for the
  specific language governing permissions and limitations
  under the License.
-->

<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">
  <display-name>CXFConnector</display-name>
  <vendor-name>Apache</vendor-name>
  <eis-type>CXF</eis-type>
  <resourceadapter-version>1.0</resourceadapter-version>
  <license>
    <license-required>false</license-required>
  </license>
  <resourceadapter>
    <!--
    <connectionfactory-interface>org.apache.cxf.connector.CXFConnectionFactory</connectionfactory-interface>
    <connection-interface>org.apache.cxf.connector.Connection</connection-interface>
    -->
    <resourceadapter-class>org.apache.cxf.jca.cxf.ResourceAdapterImpl</resourceadapter-class>
    <outbound-resourceadapter>
      <connection-definition>
        <managedconnectionfactory-class>org.apache.cxf.jca.cxf.AssociatedManagedConnectionFactoryImpl</managedconnectionfactory-class>
        <config-property>
          <!-- 
              LogLevel deprecated.  Please use log management provided by application server. 
          -->
          <config-property-name>LogLevel</config-property-name> 
          <config-property-type>java.lang.String</config-property-type> 
          <config-property-value>INFO</config-property-value> 
        </config-property> 
        <config-property>
          <config-property-name>EJBServicePropertiesURL</config-property-name> 
          <config-property-type>java.lang.String</config-property-type> 
          <config-property-value>file:CXF_HOME/etc/ejb_servants.properties</config-property-value> 
        </config-property>
        <config-property>
          <config-property-name>MonitorEJBServiceProperties</config-property-name>
          <config-property-type>java.lang.Boolean</config-property-type>
          <config-property-value>TRUE</config-property-value>
        </config-property>
        <config-property>
          <config-property-name>EJBServicePropertiesPollInterval</config-property-name>
          <config-property-type>java.lang.Integer</config-property-type>
          <config-property-value>30</config-property-value>
        </config-property>
        <config-property>
          <config-property-name>EJBServantBaseURL</config-property-name>
          <config-property-type>java.lang.String</config-property-type>
          <config-property-value>http://localhost:9999</config-property-value>
        </config-property>
        <connectionfactory-interface>org.apache.cxf.connector.CXFConnectionFactory</connectionfactory-interface>
        <connectionfactory-impl-class>org.apache.cxf.jca.cxf.ConnectionFactoryImpl</connectionfactory-impl-class>
        <connection-interface>org.apache.cxf.connector.Connection</connection-interface>
        <connection-impl-class>org.apache.cxf.jca.cxf.ManagedConnectionImpl</connection-impl-class>
      </connection-definition>
      <transaction-support>NoTransaction</transaction-support>
      <authentication-mechanism>
        <authentication-mechanism-type>BasicPassword</authentication-mechanism-type>
        <credential-interface>javax.resource.spi.security.PasswordCredential</credential-interface>
      </authentication-mechanism>
      <reauthentication-support>false</reauthentication-support>
    </outbound-resourceadapter>
  </resourceadapter>
</connector>


