created resource archieve export format for j2ee servers
This commit is contained in:
parent
67c1816793
commit
6ece52ac9e
14 changed files with 93 additions and 0 deletions
10
foei-ee-jca-ra/.classpath
Normal file
10
foei-ee-jca-ra/.classpath
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<classpath>
|
||||
<classpathentry kind="src" output="target/classes" path="src/main/java"/>
|
||||
<classpathentry excluding="**" kind="src" output="target/classes" path="src/main/resources"/>
|
||||
<classpathentry kind="src" output="target/test-classes" path="src/test/java"/>
|
||||
<classpathentry excluding="**" kind="src" output="target/test-classes" path="src/test/resources"/>
|
||||
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"/>
|
||||
<classpathentry kind="con" path="org.maven.ide.eclipse.MAVEN2_CLASSPATH_CONTAINER"/>
|
||||
<classpathentry kind="output" path="target/classes"/>
|
||||
</classpath>
|
||||
23
foei-ee-jca-ra/.project
Normal file
23
foei-ee-jca-ra/.project
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<projectDescription>
|
||||
<name>foei-ee-jca-ra</name>
|
||||
<comment></comment>
|
||||
<projects>
|
||||
</projects>
|
||||
<buildSpec>
|
||||
<buildCommand>
|
||||
<name>org.eclipse.jdt.core.javabuilder</name>
|
||||
<arguments>
|
||||
</arguments>
|
||||
</buildCommand>
|
||||
<buildCommand>
|
||||
<name>org.maven.ide.eclipse.maven2Builder</name>
|
||||
<arguments>
|
||||
</arguments>
|
||||
</buildCommand>
|
||||
</buildSpec>
|
||||
<natures>
|
||||
<nature>org.eclipse.jdt.core.javanature</nature>
|
||||
<nature>org.maven.ide.eclipse.maven2Nature</nature>
|
||||
</natures>
|
||||
</projectDescription>
|
||||
6
foei-ee-jca-ra/.settings/org.eclipse.jdt.core.prefs
Normal file
6
foei-ee-jca-ra/.settings/org.eclipse.jdt.core.prefs
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
#Mon Mar 14 23:12:39 CET 2011
|
||||
eclipse.preferences.version=1
|
||||
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
|
||||
org.eclipse.jdt.core.compiler.compliance=1.6
|
||||
org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning
|
||||
org.eclipse.jdt.core.compiler.source=1.6
|
||||
9
foei-ee-jca-ra/.settings/org.maven.ide.eclipse.prefs
Normal file
9
foei-ee-jca-ra/.settings/org.maven.ide.eclipse.prefs
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
#Mon Mar 14 23:12:38 CET 2011
|
||||
activeProfiles=
|
||||
eclipse.preferences.version=1
|
||||
fullBuildGoals=process-test-resources
|
||||
includeModules=false
|
||||
resolveWorkspaceProjects=true
|
||||
resourceFilterGoals=process-resources resources\:testResources
|
||||
skipCompilerPlugin=true
|
||||
version=1
|
||||
43
foei-ee-jca-ra/pom.xml
Normal file
43
foei-ee-jca-ra/pom.xml
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<parent>
|
||||
<artifactId>foei-base</artifactId>
|
||||
<groupId>com.idcanet.foei</groupId>
|
||||
<version>0.8.2-SNAPSHOT</version>
|
||||
</parent>
|
||||
<groupId>com.idcanet.foei</groupId>
|
||||
<artifactId>foei-ee-jca-ra</artifactId>
|
||||
<version>0.8.2-SNAPSHOT</version>
|
||||
<packaging>rar</packaging>
|
||||
<name>foei-ee-jca-ra</name>
|
||||
<description>foei-ee-jca-ra</description>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-rar-plugin</artifactId>
|
||||
<version>2.0</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>test</id>
|
||||
<goals>
|
||||
<goal>rar</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>com.idcanet.foei</groupId>
|
||||
<artifactId>foei-core</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.idcanet.foei</groupId>
|
||||
<artifactId>foei-ee-jca</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</project>
|
||||
0
foei-ee-jca-ra/src/main/java/.empty
Normal file
0
foei-ee-jca-ra/src/main/java/.empty
Normal file
78
foei-ee-jca-ra/src/main/rar/META-INF/ra.xml
Normal file
78
foei-ee-jca-ra/src/main/rar/META-INF/ra.xml
Normal file
|
|
@ -0,0 +1,78 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<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>FoeiJCA</display-name>
|
||||
<vendor-name>IDCA</vendor-name>
|
||||
<eis-type>Foei Adapter</eis-type>
|
||||
<resourceadapter-version>1.0</resourceadapter-version>
|
||||
<license>
|
||||
<description>
|
||||
Copyright 2004-2006 IDCA. All rights reserved.
|
||||
|
||||
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the
|
||||
following conditions are met:
|
||||
|
||||
1. Redistributions of source code must retain the above copyright notice, this list of conditions and
|
||||
the following disclaimer.
|
||||
2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions
|
||||
and the following disclaimer in the documentation and/or other materials provided with the
|
||||
distribution.
|
||||
|
||||
THIS SOFTWARE IS PROVIDED BY IDCA AND CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED
|
||||
WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
|
||||
FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL IDCA OR
|
||||
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
||||
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
|
||||
OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||
POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
The views and conclusions contained in the software and documentation are those of the authors and
|
||||
should not be interpreted as representing official policies, either expressed or implied, of IDCA.
|
||||
</description>
|
||||
<license-required>true</license-required>
|
||||
</license>
|
||||
|
||||
<resourceadapter>
|
||||
<resourceadapter-class>com.idcanet.foei.ee.jca.spi.FoeiResourceAdapter</resourceadapter-class>
|
||||
|
||||
<outbound-resourceadapter>
|
||||
<connection-definition>
|
||||
<managedconnectionfactory-class>com.idcanet.foei.ee.jca.cci.FoeiManagedConnectionFactory</managedconnectionfactory-class>
|
||||
<config-property>
|
||||
<description>The foei context name.</description>
|
||||
<config-property-name>foeiContextName</config-property-name>
|
||||
<config-property-type>java.lang.String</config-property-type>
|
||||
</config-property>
|
||||
<connectionfactory-interface>com.idcanet.foei.ee.jca.cci.FoeiConnectionFactory</connectionfactory-interface>
|
||||
<connectionfactory-impl-class>com.idcanet.foei.ee.jca.cci.FoeiConnectionFactoryImpl</connectionfactory-impl-class>
|
||||
<connection-interface>com.idcanet.foei.ee.jca.cci.FoeiConnection</connection-interface>
|
||||
<connection-impl-class>com.idcanet.foei.ee.jca.cci.FoeiConnectionImpl</connection-impl-class>
|
||||
</connection-definition>
|
||||
<transaction-support>NoTransaction</transaction-support>
|
||||
<reauthentication-support>false</reauthentication-support>
|
||||
</outbound-resourceadapter>
|
||||
|
||||
<inbound-resourceadapter>
|
||||
<messageadapter>
|
||||
<messagelistener>
|
||||
<messagelistener-type>com.idcanet.foei.ee.jca.spi.EJBFoeiBean</messagelistener-type>
|
||||
<activationspec>
|
||||
<activationspec-class>com.idcanet.foei.ee.jca.spi.FoeiActivationSpec</activationspec-class>
|
||||
<required-config-property>
|
||||
<config-property-name>foeiBeanName</config-property-name>
|
||||
</required-config-property>
|
||||
</activationspec>
|
||||
</messagelistener>
|
||||
</messageadapter>
|
||||
</inbound-resourceadapter>
|
||||
|
||||
</resourceadapter>
|
||||
|
||||
</connector>
|
||||
0
foei-ee-jca-ra/src/main/resources/.empty
Normal file
0
foei-ee-jca-ra/src/main/resources/.empty
Normal file
0
foei-ee-jca-ra/src/test/java/.empty
Normal file
0
foei-ee-jca-ra/src/test/java/.empty
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<!-- This is Geronimo-specific descriptor -->
|
||||
|
||||
<connector xmlns="http://geronimo.apache.org/xml/ns/j2ee/connector" version="1.5"
|
||||
configId="com/ibm/j2g/jca.rar"
|
||||
parentId="org/apache/geronimo/Server">
|
||||
|
||||
|
||||
<resourceadapter>
|
||||
<outbound-resourceadapter>
|
||||
<connection-definition>
|
||||
<connectionfactory-interface>com.idcanet.foei.ee.jca.cci.FoeiConnectionFactory</connectionfactory-interface>
|
||||
<connectiondefinition-instance>
|
||||
<name>foei/datafeeds</name>
|
||||
<config-property-setting name="foeiContextName">datafeeds</config-property-setting>
|
||||
<connectionmanager>
|
||||
<no-transaction/>
|
||||
<no-pool/>
|
||||
</connectionmanager>
|
||||
</connectiondefinition-instance>
|
||||
</connection-definition>
|
||||
</outbound-resourceadapter>
|
||||
</resourceadapter>
|
||||
|
||||
</connector>
|
||||
38
foei-ee-jca-ra/src/test/resources/deploy/jboss/foei-ds.xml
Normal file
38
foei-ee-jca-ra/src/test/resources/deploy/jboss/foei-ds.xml
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE connection-factories PUBLIC "-//JBoss//DTD JBOSS JCA Config 1.5//EN" "http://www.jboss.org/j2ee/dtd/jboss-ds_1_5.dtd">
|
||||
|
||||
<!--
|
||||
This is JBoss-specific descriptor.
|
||||
It should be placed in the "deploy" directory of desired server configuration.
|
||||
-->
|
||||
|
||||
<connection-factories>
|
||||
|
||||
<no-tx-connection-factory>
|
||||
<jndi-name>foei/datafeeds</jndi-name>
|
||||
<rar-name>foei-ra.rar</rar-name>
|
||||
<connection-definition>com.idcanet.foei.ee.jca.cci.FoeiConnectionFactory</connection-definition>
|
||||
<config-property name="foeiContextName" type="java.lang.String">datafeeds</config-property>
|
||||
|
||||
<min-pool-size>2</min-pool-size>
|
||||
<max-pool-size>200</max-pool-size>
|
||||
<blocking-timeout-millis>32123</blocking-timeout-millis>
|
||||
<idle-timeout-minutes>1</idle-timeout-minutes>
|
||||
|
||||
</no-tx-connection-factory>
|
||||
|
||||
<no-tx-connection-factory>
|
||||
<jndi-name>foei/m4n</jndi-name>
|
||||
<rar-name>foei-ra.rar</rar-name>
|
||||
<connection-definition>com.idcanet.foei.ee.jca.cci.FoeiConnectionFactory</connection-definition>
|
||||
<config-property name="foeiContextName" type="java.lang.String">m4n</config-property>
|
||||
|
||||
|
||||
<min-pool-size>2</min-pool-size>
|
||||
<max-pool-size>200</max-pool-size>
|
||||
<blocking-timeout-millis>32888</blocking-timeout-millis>
|
||||
<idle-timeout-minutes>1</idle-timeout-minutes>
|
||||
|
||||
</no-tx-connection-factory>
|
||||
|
||||
</connection-factories>
|
||||
Loading…
Add table
Add a link
Reference in a new issue