[jboss-cvs] JBossAS SVN: r72153 - in projects/integration/trunk: build and 8 other directories.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Mon Apr 14 04:59:53 EDT 2008
Author: jesper.pedersen
Date: 2008-04-14 04:59:53 -0400 (Mon, 14 Apr 2008)
New Revision: 72153
Added:
projects/integration/trunk/jboss-jca-spi/
projects/integration/trunk/jboss-jca-spi/.classpath
projects/integration/trunk/jboss-jca-spi/.project
projects/integration/trunk/jboss-jca-spi/.settings/
projects/integration/trunk/jboss-jca-spi/.settings/org.eclipse.jdt.core.prefs
projects/integration/trunk/jboss-jca-spi/pom.xml
projects/integration/trunk/jboss-jca-spi/src/
projects/integration/trunk/jboss-jca-spi/src/main/
projects/integration/trunk/jboss-jca-spi/src/main/org/
projects/integration/trunk/jboss-jca-spi/src/main/org/jboss/
projects/integration/trunk/jboss-jca-spi/src/main/org/jboss/jca/
projects/integration/trunk/jboss-jca-spi/src/main/org/jboss/jca/spi/
projects/integration/trunk/jboss-jca-spi/src/main/org/jboss/jca/spi/AOPEndpoint.java
projects/integration/trunk/jboss-jca-spi/src/main/org/jboss/jca/spi/ActivationConfigProperty.java
projects/integration/trunk/jboss-jca-spi/src/main/org/jboss/jca/spi/Endpoint.java
projects/integration/trunk/jboss-jca-spi/src/main/org/jboss/jca/spi/EndpointActivation.java
projects/integration/trunk/jboss-jca-spi/src/main/org/jboss/jca/spi/EndpointActivationBus.java
projects/integration/trunk/jboss-jca-spi/src/main/org/jboss/jca/spi/EndpointActivationBusLocator.java
projects/integration/trunk/jboss-jca-spi/src/main/org/jboss/jca/spi/RarSelection.java
Modified:
projects/integration/trunk/build/pom.xml
projects/integration/trunk/pom.xml
Log:
[JBAS-5426] JCA SPI
Modified: projects/integration/trunk/build/pom.xml
===================================================================
--- projects/integration/trunk/build/pom.xml 2008-04-14 08:56:17 UTC (rev 72152)
+++ projects/integration/trunk/build/pom.xml 2008-04-14 08:59:53 UTC (rev 72153)
@@ -78,6 +78,11 @@
<version>2.0.4.GA</version>
</dependency>
<dependency>
+ <groupId>jboss.aop</groupId>
+ <artifactId>jboss-aop-jdk50-client</artifactId>
+ <version>2.0.0.CR8</version>
+ </dependency>
+ <dependency>
<groupId>org.jboss</groupId>
<artifactId>jboss-common-core</artifactId>
<version>2.2.1.GA</version>
Added: projects/integration/trunk/jboss-jca-spi/.classpath
===================================================================
--- projects/integration/trunk/jboss-jca-spi/.classpath (rev 0)
+++ projects/integration/trunk/jboss-jca-spi/.classpath 2008-04-14 08:59:53 UTC (rev 72153)
@@ -0,0 +1,7 @@
+<classpath>
+ <classpathentry kind="src" path="src/main"/>
+ <classpathentry kind="output" path="target/classes"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+ <classpathentry kind="var" path="M2_REPO/jboss/jboss-common-logging-spi/2.0.4.GA/jboss-common-logging-spi-2.0.4.GA.jar" sourcepath="M2_REPO/jboss/jboss-common-logging-spi/2.0.4.GA/jboss-common-logging-spi-2.0.4.GA-sources.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/jboss/javaee/jboss-jca-api/1.5.0-SNAPSHOT/jboss-jca-api-1.5.0-SNAPSHOT.jar" sourcepath="M2_REPO/org/jboss/javaee/jboss-jca-api/1.5.0-SNAPSHOT/jboss-jca-api-1.5.0-SNAPSHOT-sources.jar"/>
+</classpath>
\ No newline at end of file
Added: projects/integration/trunk/jboss-jca-spi/.project
===================================================================
--- projects/integration/trunk/jboss-jca-spi/.project (rev 0)
+++ projects/integration/trunk/jboss-jca-spi/.project 2008-04-14 08:59:53 UTC (rev 72153)
@@ -0,0 +1,13 @@
+<projectDescription>
+ <name>jboss-jca-spi</name>
+ <comment>The JBoss JCA 5.0.0 SPI classes</comment>
+ <projects/>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.jdt.core.javabuilder</name>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ </natures>
+</projectDescription>
Added: projects/integration/trunk/jboss-jca-spi/.settings/org.eclipse.jdt.core.prefs
===================================================================
--- projects/integration/trunk/jboss-jca-spi/.settings/org.eclipse.jdt.core.prefs (rev 0)
+++ projects/integration/trunk/jboss-jca-spi/.settings/org.eclipse.jdt.core.prefs 2008-04-14 08:59:53 UTC (rev 72153)
@@ -0,0 +1,5 @@
+#Wed Jul 04 03:05:53 CEST 2007
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.source=1.5
+org.eclipse.jdt.core.compiler.compliance=1.5
Added: projects/integration/trunk/jboss-jca-spi/pom.xml
===================================================================
--- projects/integration/trunk/jboss-jca-spi/pom.xml (rev 0)
+++ projects/integration/trunk/jboss-jca-spi/pom.xml 2008-04-14 08:59:53 UTC (rev 72153)
@@ -0,0 +1,36 @@
+<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">
+ <parent>
+ <groupId>org.jboss</groupId>
+ <artifactId>jboss-integration-parent</artifactId>
+ <version>5.0.0-SNAPSHOT</version>
+ <relativePath>../build/pom.xml</relativePath>
+ </parent>
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>org.jboss</groupId>
+ <artifactId>jboss-jca-spi</artifactId>
+ <version>5.0.0-SNAPSHOT</version>
+ <packaging>jar</packaging>
+ <name>JBoss JCA 5.0.0 SPI</name>
+ <url>http://www.jboss.org</url>
+ <description>The JBoss JCA 5.0.0 SPI classes</description>
+ <dependencies>
+ <dependency>
+ <groupId>jboss</groupId>
+ <artifactId>jboss-common-logging-spi</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>jboss.aop</groupId>
+ <artifactId>jboss-aop-jdk50-client</artifactId>
+ <exclusions>
+ <exclusion>
+ <groupId>jboss</groupId>
+ <artifactId>jboss-common-core</artifactId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.javaee</groupId>
+ <artifactId>jboss-jca-api</artifactId>
+ </dependency>
+ </dependencies>
+</project>
\ No newline at end of file
Added: projects/integration/trunk/jboss-jca-spi/src/main/org/jboss/jca/spi/AOPEndpoint.java
===================================================================
--- projects/integration/trunk/jboss-jca-spi/src/main/org/jboss/jca/spi/AOPEndpoint.java (rev 0)
+++ projects/integration/trunk/jboss-jca-spi/src/main/org/jboss/jca/spi/AOPEndpoint.java 2008-04-14 08:59:53 UTC (rev 72153)
@@ -0,0 +1,35 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.jca.spi;
+
+import org.jboss.aop.advice.Interceptor;
+
+/**
+ * Define an AOP endpoint.
+ *
+ * @author <a href="mailto:adrian at jboss.org">Adrian Brock</a>
+ * @author <a href="mailto:jesper.pedersen at jboss.org">Jesper Pedersen</a>
+ * @version $Revision: $
+ */
+public interface AOPEndpoint extends Interceptor
+{
+}
Added: projects/integration/trunk/jboss-jca-spi/src/main/org/jboss/jca/spi/ActivationConfigProperty.java
===================================================================
--- projects/integration/trunk/jboss-jca-spi/src/main/org/jboss/jca/spi/ActivationConfigProperty.java (rev 0)
+++ projects/integration/trunk/jboss-jca-spi/src/main/org/jboss/jca/spi/ActivationConfigProperty.java 2008-04-14 08:59:53 UTC (rev 72153)
@@ -0,0 +1,109 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.jca.spi;
+
+import java.io.Serializable;
+
+/**
+ * The ActivationConfigProperty - similar to the javax.ejb annotation
+ *
+ * @author <a href="mailto:adrian at jboss.org">Adrian Brock</a>
+ * @author <a href="mailto:jesper.pedersen at jboss.org">Jesper Pedersen</a>
+ * @version $Revision: $
+ */
+public class ActivationConfigProperty implements Serializable
+{
+ /** The name */
+ private String name;
+
+ /** The value */
+ private String value;
+
+ /**
+ * Constructor
+ */
+ public ActivationConfigProperty()
+ {
+ }
+
+ /**
+ * Constructor
+ * @param name The name
+ * @param value The value
+ */
+ public ActivationConfigProperty(String name, String value)
+ {
+ setName(name);
+ setValue(value);
+ }
+
+ /**
+ * Get the name
+ * @return The name
+ */
+ public String getName()
+ {
+ return name;
+ }
+
+ /**
+ * Set the name
+ * @param name The name
+ */
+ public void setName(String name)
+ {
+ this.name = name;
+ }
+
+ /**
+ * Get the value
+ * @return The value
+ */
+ public String getValue()
+ {
+ return value;
+ }
+
+ /**
+ * Set the value
+ * @param value The value
+ */
+ public void setValue(String value)
+ {
+ this.value = value;
+ }
+
+ /**
+ * String representation
+ * @return The representation
+ */
+ public String toString()
+ {
+ StringBuffer sb = new StringBuffer(ActivationConfigProperty.class.getName());
+ sb = sb.append("{");
+ sb = sb.append("name=" + name);
+ sb = sb.append(", ");
+ sb = sb.append("value=" + value);
+ sb = sb.append("}");
+ return sb.toString();
+ }
+}
Added: projects/integration/trunk/jboss-jca-spi/src/main/org/jboss/jca/spi/Endpoint.java
===================================================================
--- projects/integration/trunk/jboss-jca-spi/src/main/org/jboss/jca/spi/Endpoint.java (rev 0)
+++ projects/integration/trunk/jboss-jca-spi/src/main/org/jboss/jca/spi/Endpoint.java 2008-04-14 08:59:53 UTC (rev 72153)
@@ -0,0 +1,48 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.jca.spi;
+
+import java.lang.reflect.Method;
+
+/**
+ * The endpoint.
+ *
+ * @author <a href="mailto:adrian at jboss.org">Adrian Brock</a>
+ * @author <a href="mailto:jesper.pedersen at jboss.org">Jesper Pedersen</a>
+ * @version $Revision: $
+ */
+public interface Endpoint
+{
+ /**
+ * Should the delivery by transacted for the method
+ * @param method The method
+ * @return True if transacted otherwise false
+ */
+ boolean isDeliveryTransacted(Method method);
+
+ /**
+ * Get the transaction timeout for the method
+ * @param method The method
+ * @return The transaction timeout in seconds
+ */
+ int getTransactionTimeout(Method method);
+}
Added: projects/integration/trunk/jboss-jca-spi/src/main/org/jboss/jca/spi/EndpointActivation.java
===================================================================
--- projects/integration/trunk/jboss-jca-spi/src/main/org/jboss/jca/spi/EndpointActivation.java (rev 0)
+++ projects/integration/trunk/jboss-jca-spi/src/main/org/jboss/jca/spi/EndpointActivation.java 2008-04-14 08:59:53 UTC (rev 72153)
@@ -0,0 +1,37 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.jca.spi;
+
+/**
+ * The EndpointActivation.
+ *
+ * @author <a href="mailto:adrian at jboss.org">Adrian Brock</a>
+ * @author <a href="mailto:jesper.pedersen at jboss.org">Jesper Pedersen</a>
+ * @version $Revision: $
+ */
+public interface EndpointActivation
+{
+ /**
+ * Deactivate an endpoint
+ */
+ void deactivate();
+}
Added: projects/integration/trunk/jboss-jca-spi/src/main/org/jboss/jca/spi/EndpointActivationBus.java
===================================================================
--- projects/integration/trunk/jboss-jca-spi/src/main/org/jboss/jca/spi/EndpointActivationBus.java (rev 0)
+++ projects/integration/trunk/jboss-jca-spi/src/main/org/jboss/jca/spi/EndpointActivationBus.java 2008-04-14 08:59:53 UTC (rev 72153)
@@ -0,0 +1,53 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.jca.spi;
+
+import java.util.Set;
+
+import javax.resource.spi.ActivationSpec;
+
+/**
+ * The EndpointActivationBus.
+ *
+ * @author <a href="mailto:adrian at jboss.org">Adrian Brock</a>
+ * @author <a href="mailto:jesper.pedersen at jboss.org">Jesper Pedersen</a>
+ * @version $Revision: $
+ */
+public interface EndpointActivationBus
+{
+ /**
+ * Activate an Endpoint
+ * @param endpoint The endpoint
+ * @param spec The activation spec
+ * @return The endpoint activation
+ */
+ EndpointActivation activate(Endpoint endpoint, ActivationSpec spec);
+
+ /**
+ * Activate an Endpoint
+ * @param endpoint The endpoint
+ * @param properties Activation configuration properties
+ * @param selection The resource adaptor selection
+ * @return The endpoint activation
+ */
+ EndpointActivation activate(Endpoint endpoint, Set<ActivationConfigProperty> properties, RarSelection selection);
+}
Added: projects/integration/trunk/jboss-jca-spi/src/main/org/jboss/jca/spi/EndpointActivationBusLocator.java
===================================================================
--- projects/integration/trunk/jboss-jca-spi/src/main/org/jboss/jca/spi/EndpointActivationBusLocator.java (rev 0)
+++ projects/integration/trunk/jboss-jca-spi/src/main/org/jboss/jca/spi/EndpointActivationBusLocator.java 2008-04-14 08:59:53 UTC (rev 72153)
@@ -0,0 +1,161 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.jca.spi;
+
+import java.lang.reflect.Method;
+
+import javax.naming.InitialContext;
+import javax.naming.NamingException;
+
+import org.jboss.logging.Logger;
+
+/**
+ * Locates the EndpointActivation bus.
+ *
+ * @author <a href="adrian at jboss.org">Adrian Brock</a>
+ * @author <a href="jesper.pedersen at jboss.org">Jesper Pedersen</a>
+ * @version $Revision: $
+ */
+public class EndpointActivationBusLocator
+{
+ /** Logger */
+ private static final Logger log = Logger.getLogger(EndpointActivationBusLocator.class);
+
+ /** The JNDI Name */
+ private static final String JNDI_NAME = "java:/EndpointActivationBus";
+
+ /** The instance */
+ private static EndpointActivationBusLocator instance = new EndpointActivationBusLocator();
+
+ /** The endpoint activation bus */
+ private EndpointActivationBus eab;
+
+ /**
+ * No external construction
+ */
+ private EndpointActivationBusLocator()
+ {
+ }
+
+ /**
+ * Get the locator
+ * @return the locator
+ */
+ public static EndpointActivationBusLocator getInstance()
+ {
+ return instance;
+ }
+
+ /**
+ * Locate the transaction manager
+ * @return the transaction manager
+ */
+ public static EndpointActivationBus locateEndpointActivationBus()
+ {
+ return getInstance().locate();
+ }
+
+ /**
+ * Get the transaction manager
+ * @return the transaction manager
+ */
+ public EndpointActivationBus getEndpointActivationBus()
+ {
+ return locate();
+ }
+
+ /**
+ * Locate the transaction manager
+ * @return the transaction manager
+ */
+ public EndpointActivationBus locate()
+ {
+ if (eab != null)
+ return eab;
+
+ EndpointActivationBus result = tryJNDI();
+ if (result == null)
+ result = usePrivateAPI();
+ if (result == null)
+ throw new RuntimeException("Unable to locate the endpoint activation bus");
+
+ return result;
+ }
+
+ /**
+ * Locate the endpoint activation bus in the well known jndi binding for JBoss
+ * @return The endpoint activation bus from jndi
+ */
+ protected EndpointActivationBus tryJNDI()
+ {
+ InitialContext ctx = null;
+ try
+ {
+ ctx = new InitialContext();
+ eab = (EndpointActivationBus) ctx.lookup(JNDI_NAME);
+ if (log.isTraceEnabled())
+ log.trace("Got a endpoint activation bus from jndi " + eab);
+ }
+ catch (NamingException e)
+ {
+ log.debug("Unable to lookup: " + JNDI_NAME, e);
+ }
+ finally
+ {
+ if (ctx != null)
+ {
+ try
+ {
+ ctx.close();
+ }
+ catch (NamingException ne)
+ {
+ // Ignore
+ }
+ }
+ }
+ return eab;
+ }
+
+ /**
+ * Use the private api
+ * <p/>
+ * This is a fallback method for non JBossAS use.
+ * @return The endpoint activation bus from API
+ */
+ protected EndpointActivationBus usePrivateAPI()
+ {
+ EndpointActivationBus result = null;
+ try
+ {
+ Class<?> clazz = Class.forName("org.jboss.jca.EndpointActivationBusManager");
+ Method method = clazz.getMethod("getInstance");
+
+ result = (EndpointActivationBus) method.invoke((Object)null, (Object)null);
+ }
+ catch (Exception e)
+ {
+ log.debug("Unable to instantiate legacy transaction manager", e);
+ }
+ return result;
+ }
+}
Added: projects/integration/trunk/jboss-jca-spi/src/main/org/jboss/jca/spi/RarSelection.java
===================================================================
--- projects/integration/trunk/jboss-jca-spi/src/main/org/jboss/jca/spi/RarSelection.java (rev 0)
+++ projects/integration/trunk/jboss-jca-spi/src/main/org/jboss/jca/spi/RarSelection.java 2008-04-14 08:59:53 UTC (rev 72153)
@@ -0,0 +1,52 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.jca.spi;
+
+import java.util.Map;
+
+/**
+ * The RAR selection.
+ *
+ * @author <a href="mailto:adrian at jboss.org">Adrian Brock</a>
+ * @author <a href="mailto:jesper.pedersen at jboss.org">Jesper Pedersen</a>
+ * @version $Revision: $
+ */
+public interface RarSelection
+{
+ /**
+ * Get the name
+ * @return The name
+ */
+ String getName();
+
+ /**
+ * Get the listener type
+ * @return The listener type
+ */
+ Class<?> getListenerType();
+
+ /**
+ * Get the properties
+ * @return The properties
+ */
+ Map<String, String> getProperties();
+}
Modified: projects/integration/trunk/pom.xml
===================================================================
--- projects/integration/trunk/pom.xml 2008-04-14 08:56:17 UTC (rev 72152)
+++ projects/integration/trunk/pom.xml 2008-04-14 08:59:53 UTC (rev 72153)
@@ -27,6 +27,7 @@
<module>jboss-deployment-spi</module>
<module>jboss-transaction-spi</module>
<module>jboss-corba-ots-spi</module>
+ <module>jboss-jca-spi</module>
</modules>
<profiles>
More information about the jboss-cvs-commits
mailing list