[jboss-cvs] JBossAS SVN: r85786 - in projects/jboss-jca/trunk: api and 17 other directories.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Thu Mar 12 10:27:08 EDT 2009
Author: jesper.pedersen
Date: 2009-03-12 10:27:07 -0400 (Thu, 12 Mar 2009)
New Revision: 85786
Added:
projects/jboss-jca/trunk/tools/
projects/jboss-jca/trunk/tools/checkstyle/
projects/jboss-jca/trunk/tools/checkstyle/HEADER
projects/jboss-jca/trunk/tools/checkstyle/checkstyle.xml
Modified:
projects/jboss-jca/trunk/api/build.xml
projects/jboss-jca/trunk/api/src/main/java/javax/resource/NotSupportedException.java
projects/jboss-jca/trunk/api/src/main/java/javax/resource/Referenceable.java
projects/jboss-jca/trunk/api/src/main/java/javax/resource/ResourceException.java
projects/jboss-jca/trunk/api/src/main/java/javax/resource/cci/Connection.java
projects/jboss-jca/trunk/api/src/main/java/javax/resource/cci/ConnectionFactory.java
projects/jboss-jca/trunk/api/src/main/java/javax/resource/cci/ConnectionMetaData.java
projects/jboss-jca/trunk/api/src/main/java/javax/resource/cci/ConnectionSpec.java
projects/jboss-jca/trunk/api/src/main/java/javax/resource/cci/IndexedRecord.java
projects/jboss-jca/trunk/api/src/main/java/javax/resource/cci/Interaction.java
projects/jboss-jca/trunk/api/src/main/java/javax/resource/cci/InteractionSpec.java
projects/jboss-jca/trunk/api/src/main/java/javax/resource/cci/LocalTransaction.java
projects/jboss-jca/trunk/api/src/main/java/javax/resource/cci/MappedRecord.java
projects/jboss-jca/trunk/api/src/main/java/javax/resource/cci/MessageListener.java
projects/jboss-jca/trunk/api/src/main/java/javax/resource/cci/Record.java
projects/jboss-jca/trunk/api/src/main/java/javax/resource/cci/RecordFactory.java
projects/jboss-jca/trunk/api/src/main/java/javax/resource/cci/ResourceAdapterMetaData.java
projects/jboss-jca/trunk/api/src/main/java/javax/resource/cci/ResourceWarning.java
projects/jboss-jca/trunk/api/src/main/java/javax/resource/cci/ResultSet.java
projects/jboss-jca/trunk/api/src/main/java/javax/resource/cci/ResultSetInfo.java
projects/jboss-jca/trunk/api/src/main/java/javax/resource/cci/Streamable.java
projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/Activation.java
projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/ActivationSpec.java
projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/AdministeredObject.java
projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/ApplicationServerInternalException.java
projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/AuthenticationMechanism.java
projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/BootstrapContext.java
projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/CommException.java
projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/ConfigProperty.java
projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/ConnectionDefinition.java
projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/ConnectionDefinitions.java
projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/ConnectionEvent.java
projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/ConnectionEventListener.java
projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/ConnectionManager.java
projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/ConnectionRequestInfo.java
projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/Connector.java
projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/DissociatableManagedConnection.java
projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/EISSystemException.java
projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/IllegalStateException.java
projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/InvalidPropertyException.java
projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/LazyAssociatableConnectionManager.java
projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/LazyEnlistableConnectionManager.java
projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/LazyEnlistableManagedConnection.java
projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/LocalTransaction.java
projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/LocalTransactionException.java
projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/ManagedConnection.java
projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/ManagedConnectionFactory.java
projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/ManagedConnectionMetaData.java
projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/ResourceAdapter.java
projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/ResourceAdapterAssociation.java
projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/ResourceAdapterInternalException.java
projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/ResourceAllocationException.java
projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/RetryableException.java
projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/RetryableUnavailableException.java
projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/SecurityException.java
projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/SecurityPermission.java
projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/SharingViolationException.java
projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/TransactionSupport.java
projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/UnavailableException.java
projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/ValidatingManagedConnectionFactory.java
projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/XATerminator.java
projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/endpoint/MessageEndpoint.java
projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/endpoint/MessageEndpointFactory.java
projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/security/GenericCredential.java
projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/security/PasswordCredential.java
projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/work/DistributableWork.java
projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/work/DistributableWorkManager.java
projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/work/ExecutionContext.java
projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/work/HintsContext.java
projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/work/RetryableWorkRejectedException.java
projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/work/SecurityContext.java
projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/work/TransactionContext.java
projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/work/Work.java
projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/work/WorkAdapter.java
projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/work/WorkCompletedException.java
projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/work/WorkContext.java
projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/work/WorkContextErrorCodes.java
projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/work/WorkContextLifecycleListener.java
projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/work/WorkContextProvider.java
projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/work/WorkEvent.java
projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/work/WorkException.java
projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/work/WorkListener.java
projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/work/WorkManager.java
projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/work/WorkRejectedException.java
projects/jboss-jca/trunk/build.xml
projects/jboss-jca/trunk/common/build.xml
projects/jboss-jca/trunk/common/src/main/java/org/jboss/jca/common/api/JBossResourceException.java
projects/jboss-jca/trunk/common/src/main/java/org/jboss/jca/common/api/ThreadPool.java
projects/jboss-jca/trunk/common/src/main/java/org/jboss/jca/common/threadpool/ThreadPoolImpl.java
projects/jboss-jca/trunk/core/build.xml
projects/jboss-jca/trunk/core/src/main/java/org/jboss/jca/core/api/ConnectionManager.java
projects/jboss-jca/trunk/core/src/main/java/org/jboss/jca/core/api/WorkManager.java
projects/jboss-jca/trunk/core/src/main/java/org/jboss/jca/core/api/WorkWrapper.java
projects/jboss-jca/trunk/core/src/main/java/org/jboss/jca/core/connectionmanager/ConnectionManagerImpl.java
projects/jboss-jca/trunk/core/src/main/java/org/jboss/jca/core/workmanager/WorkManagerImpl.java
projects/jboss-jca/trunk/core/src/test/java/org/jboss/jca/test/core/common/JMX.java
projects/jboss-jca/trunk/core/src/test/java/org/jboss/jca/test/core/common/JavaCompInitializer.java
projects/jboss-jca/trunk/ivy.xml
projects/jboss-jca/trunk/lib/
Log:
[JBJCA-45] Integrate checkstyle
Modified: projects/jboss-jca/trunk/api/build.xml
===================================================================
--- projects/jboss-jca/trunk/api/build.xml 2009-03-12 14:24:16 UTC (rev 85785)
+++ projects/jboss-jca/trunk/api/build.xml 2009-03-12 14:27:07 UTC (rev 85786)
@@ -36,7 +36,7 @@
<javac srcdir="src"
destdir="${build.api.dir}"
- classpathref="lib.path.id"
+ classpathref="standalone.lib.path.id"
debug="${javac.debug}">
<!-- <compilerarg value="-Xlint"/> -->
</javac>
@@ -66,7 +66,7 @@
windowtitle="JCA 1.6 specification"
doctitle="JCA 1.6 specification"
use="true"
- classpathref="lib.path.id"
+ classpathref="standalone.lib.path.id"
bottom="Copyright © 2008 Red Hat Middleware LLC (http://www.jboss.com/)">
<link offline="true" href="http://java.sun.com/j2se/5/docs/api/" packagelistLoc="${java.home}/../docs/api"/>
</javadoc>
Modified: projects/jboss-jca/trunk/api/src/main/java/javax/resource/NotSupportedException.java
===================================================================
--- projects/jboss-jca/trunk/api/src/main/java/javax/resource/NotSupportedException.java 2009-03-12 14:24:16 UTC (rev 85785)
+++ projects/jboss-jca/trunk/api/src/main/java/javax/resource/NotSupportedException.java 2009-03-12 14:27:07 UTC (rev 85786)
@@ -1,8 +1,8 @@
/*
- * JBoss, Home of Professional Open Source
- * Copyright 2008, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008-2009, 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
@@ -20,7 +20,6 @@
* 02110-1301 USA, or see the FSF site: http://www.fsf.org.
*/
-
package javax.resource;
/**
Modified: projects/jboss-jca/trunk/api/src/main/java/javax/resource/Referenceable.java
===================================================================
--- projects/jboss-jca/trunk/api/src/main/java/javax/resource/Referenceable.java 2009-03-12 14:24:16 UTC (rev 85785)
+++ projects/jboss-jca/trunk/api/src/main/java/javax/resource/Referenceable.java 2009-03-12 14:27:07 UTC (rev 85786)
@@ -1,8 +1,8 @@
/*
- * JBoss, Home of Professional Open Source
- * Copyright 2008, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008-2009, 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
Modified: projects/jboss-jca/trunk/api/src/main/java/javax/resource/ResourceException.java
===================================================================
--- projects/jboss-jca/trunk/api/src/main/java/javax/resource/ResourceException.java 2009-03-12 14:24:16 UTC (rev 85785)
+++ projects/jboss-jca/trunk/api/src/main/java/javax/resource/ResourceException.java 2009-03-12 14:27:07 UTC (rev 85786)
@@ -1,8 +1,8 @@
/*
- * JBoss, Home of Professional Open Source
- * Copyright 2008, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008-2009, 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
Modified: projects/jboss-jca/trunk/api/src/main/java/javax/resource/cci/Connection.java
===================================================================
--- projects/jboss-jca/trunk/api/src/main/java/javax/resource/cci/Connection.java 2009-03-12 14:24:16 UTC (rev 85785)
+++ projects/jboss-jca/trunk/api/src/main/java/javax/resource/cci/Connection.java 2009-03-12 14:27:07 UTC (rev 85786)
@@ -1,8 +1,8 @@
/*
- * JBoss, Home of Professional Open Source
- * Copyright 2008, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008-2009, 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
@@ -22,8 +22,8 @@
package javax.resource.cci;
+import javax.resource.NotSupportedException;
import javax.resource.ResourceException;
-import javax.resource.NotSupportedException;
/** A Connection represents an application-level handle that is used
Modified: projects/jboss-jca/trunk/api/src/main/java/javax/resource/cci/ConnectionFactory.java
===================================================================
--- projects/jboss-jca/trunk/api/src/main/java/javax/resource/cci/ConnectionFactory.java 2009-03-12 14:24:16 UTC (rev 85785)
+++ projects/jboss-jca/trunk/api/src/main/java/javax/resource/cci/ConnectionFactory.java 2009-03-12 14:27:07 UTC (rev 85786)
@@ -1,8 +1,8 @@
/*
- * JBoss, Home of Professional Open Source
- * Copyright 2008, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008-2009, 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
@@ -23,8 +23,9 @@
package javax.resource.cci;
import java.io.PrintWriter;
+
+import javax.resource.NotSupportedException;
import javax.resource.ResourceException;
-import javax.resource.NotSupportedException;
/** <code>ConnectionFactory</code> provides an interface for getting
* connection to an EIS instance. An implementation of ConnectionFactory
Modified: projects/jboss-jca/trunk/api/src/main/java/javax/resource/cci/ConnectionMetaData.java
===================================================================
--- projects/jboss-jca/trunk/api/src/main/java/javax/resource/cci/ConnectionMetaData.java 2009-03-12 14:24:16 UTC (rev 85785)
+++ projects/jboss-jca/trunk/api/src/main/java/javax/resource/cci/ConnectionMetaData.java 2009-03-12 14:27:07 UTC (rev 85786)
@@ -1,8 +1,8 @@
/*
- * JBoss, Home of Professional Open Source
- * Copyright 2008, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008-2009, 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
Modified: projects/jboss-jca/trunk/api/src/main/java/javax/resource/cci/ConnectionSpec.java
===================================================================
--- projects/jboss-jca/trunk/api/src/main/java/javax/resource/cci/ConnectionSpec.java 2009-03-12 14:24:16 UTC (rev 85785)
+++ projects/jboss-jca/trunk/api/src/main/java/javax/resource/cci/ConnectionSpec.java 2009-03-12 14:27:07 UTC (rev 85786)
@@ -1,8 +1,8 @@
/*
- * JBoss, Home of Professional Open Source
- * Copyright 2008, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008-2009, 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
Modified: projects/jboss-jca/trunk/api/src/main/java/javax/resource/cci/IndexedRecord.java
===================================================================
--- projects/jboss-jca/trunk/api/src/main/java/javax/resource/cci/IndexedRecord.java 2009-03-12 14:24:16 UTC (rev 85785)
+++ projects/jboss-jca/trunk/api/src/main/java/javax/resource/cci/IndexedRecord.java 2009-03-12 14:27:07 UTC (rev 85786)
@@ -1,8 +1,8 @@
/*
- * JBoss, Home of Professional Open Source
- * Copyright 2008, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008-2009, 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
Modified: projects/jboss-jca/trunk/api/src/main/java/javax/resource/cci/Interaction.java
===================================================================
--- projects/jboss-jca/trunk/api/src/main/java/javax/resource/cci/Interaction.java 2009-03-12 14:24:16 UTC (rev 85785)
+++ projects/jboss-jca/trunk/api/src/main/java/javax/resource/cci/Interaction.java 2009-03-12 14:27:07 UTC (rev 85786)
@@ -1,8 +1,8 @@
/*
- * JBoss, Home of Professional Open Source
- * Copyright 2008, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008-2009, 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
@@ -22,8 +22,8 @@
package javax.resource.cci;
+import javax.resource.NotSupportedException;
import javax.resource.ResourceException;
-import javax.resource.NotSupportedException;
/** The <code>javax.resource.cci.Interaction</code> enables a component to
Modified: projects/jboss-jca/trunk/api/src/main/java/javax/resource/cci/InteractionSpec.java
===================================================================
--- projects/jboss-jca/trunk/api/src/main/java/javax/resource/cci/InteractionSpec.java 2009-03-12 14:24:16 UTC (rev 85785)
+++ projects/jboss-jca/trunk/api/src/main/java/javax/resource/cci/InteractionSpec.java 2009-03-12 14:27:07 UTC (rev 85786)
@@ -1,8 +1,8 @@
/*
- * JBoss, Home of Professional Open Source
- * Copyright 2008, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008-2009, 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
Modified: projects/jboss-jca/trunk/api/src/main/java/javax/resource/cci/LocalTransaction.java
===================================================================
--- projects/jboss-jca/trunk/api/src/main/java/javax/resource/cci/LocalTransaction.java 2009-03-12 14:24:16 UTC (rev 85785)
+++ projects/jboss-jca/trunk/api/src/main/java/javax/resource/cci/LocalTransaction.java 2009-03-12 14:27:07 UTC (rev 85786)
@@ -1,8 +1,8 @@
/*
- * JBoss, Home of Professional Open Source
- * Copyright 2008, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008-2009, 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
Modified: projects/jboss-jca/trunk/api/src/main/java/javax/resource/cci/MappedRecord.java
===================================================================
--- projects/jboss-jca/trunk/api/src/main/java/javax/resource/cci/MappedRecord.java 2009-03-12 14:24:16 UTC (rev 85785)
+++ projects/jboss-jca/trunk/api/src/main/java/javax/resource/cci/MappedRecord.java 2009-03-12 14:27:07 UTC (rev 85786)
@@ -1,8 +1,8 @@
/*
- * JBoss, Home of Professional Open Source
- * Copyright 2008, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008-2009, 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
Modified: projects/jboss-jca/trunk/api/src/main/java/javax/resource/cci/MessageListener.java
===================================================================
--- projects/jboss-jca/trunk/api/src/main/java/javax/resource/cci/MessageListener.java 2009-03-12 14:24:16 UTC (rev 85785)
+++ projects/jboss-jca/trunk/api/src/main/java/javax/resource/cci/MessageListener.java 2009-03-12 14:27:07 UTC (rev 85786)
@@ -1,8 +1,8 @@
/*
- * JBoss, Home of Professional Open Source
- * Copyright 2008, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008-2009, 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
Modified: projects/jboss-jca/trunk/api/src/main/java/javax/resource/cci/Record.java
===================================================================
--- projects/jboss-jca/trunk/api/src/main/java/javax/resource/cci/Record.java 2009-03-12 14:24:16 UTC (rev 85785)
+++ projects/jboss-jca/trunk/api/src/main/java/javax/resource/cci/Record.java 2009-03-12 14:27:07 UTC (rev 85786)
@@ -1,8 +1,8 @@
/*
- * JBoss, Home of Professional Open Source
- * Copyright 2008, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008-2009, 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
@@ -84,7 +84,7 @@
public String getRecordShortDescription();
/** Check if this instance is equal to another Record.
- *
+ * @param other The other object
* @return true if two instances are equal
**/
public boolean equals(Object other);
Modified: projects/jboss-jca/trunk/api/src/main/java/javax/resource/cci/RecordFactory.java
===================================================================
--- projects/jboss-jca/trunk/api/src/main/java/javax/resource/cci/RecordFactory.java 2009-03-12 14:24:16 UTC (rev 85785)
+++ projects/jboss-jca/trunk/api/src/main/java/javax/resource/cci/RecordFactory.java 2009-03-12 14:27:07 UTC (rev 85786)
@@ -1,8 +1,8 @@
/*
- * JBoss, Home of Professional Open Source
- * Copyright 2008, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008-2009, 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
@@ -22,10 +22,11 @@
package javax.resource.cci;
+import java.util.Collection;
import java.util.Map;
-import java.util.Collection;
+
+import javax.resource.NotSupportedException;
import javax.resource.ResourceException;
-import javax.resource.NotSupportedException;
/** The RecordFactory interface is used for creating MappedRecord and
Modified: projects/jboss-jca/trunk/api/src/main/java/javax/resource/cci/ResourceAdapterMetaData.java
===================================================================
--- projects/jboss-jca/trunk/api/src/main/java/javax/resource/cci/ResourceAdapterMetaData.java 2009-03-12 14:24:16 UTC (rev 85785)
+++ projects/jboss-jca/trunk/api/src/main/java/javax/resource/cci/ResourceAdapterMetaData.java 2009-03-12 14:27:07 UTC (rev 85786)
@@ -1,8 +1,8 @@
/*
- * JBoss, Home of Professional Open Source
- * Copyright 2008, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008-2009, 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
Modified: projects/jboss-jca/trunk/api/src/main/java/javax/resource/cci/ResourceWarning.java
===================================================================
--- projects/jboss-jca/trunk/api/src/main/java/javax/resource/cci/ResourceWarning.java 2009-03-12 14:24:16 UTC (rev 85785)
+++ projects/jboss-jca/trunk/api/src/main/java/javax/resource/cci/ResourceWarning.java 2009-03-12 14:27:07 UTC (rev 85786)
@@ -1,8 +1,8 @@
/*
- * JBoss, Home of Professional Open Source
- * Copyright 2008, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008-2009, 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
Modified: projects/jboss-jca/trunk/api/src/main/java/javax/resource/cci/ResultSet.java
===================================================================
--- projects/jboss-jca/trunk/api/src/main/java/javax/resource/cci/ResultSet.java 2009-03-12 14:24:16 UTC (rev 85785)
+++ projects/jboss-jca/trunk/api/src/main/java/javax/resource/cci/ResultSet.java 2009-03-12 14:27:07 UTC (rev 85786)
@@ -1,8 +1,8 @@
/*
- * JBoss, Home of Professional Open Source
- * Copyright 2008, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008-2009, 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
Modified: projects/jboss-jca/trunk/api/src/main/java/javax/resource/cci/ResultSetInfo.java
===================================================================
--- projects/jboss-jca/trunk/api/src/main/java/javax/resource/cci/ResultSetInfo.java 2009-03-12 14:24:16 UTC (rev 85785)
+++ projects/jboss-jca/trunk/api/src/main/java/javax/resource/cci/ResultSetInfo.java 2009-03-12 14:27:07 UTC (rev 85786)
@@ -1,8 +1,8 @@
/*
- * JBoss, Home of Professional Open Source
- * Copyright 2008, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008-2009, 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
@@ -85,7 +85,7 @@
* @return true if ResultSet type supported; false otherwise
* @throws ResourceException Failed to get the information
**/
- public boolean supportsResultSetType(int type) throws ResourceException;
+ public boolean supportsResultSetType(int type) throws ResourceException;
/** Indicates whether or not a resource adapter supports the
* concurrency type in combination with the given ResultSet type/
Modified: projects/jboss-jca/trunk/api/src/main/java/javax/resource/cci/Streamable.java
===================================================================
--- projects/jboss-jca/trunk/api/src/main/java/javax/resource/cci/Streamable.java 2009-03-12 14:24:16 UTC (rev 85785)
+++ projects/jboss-jca/trunk/api/src/main/java/javax/resource/cci/Streamable.java 2009-03-12 14:27:07 UTC (rev 85786)
@@ -1,8 +1,8 @@
/*
- * JBoss, Home of Professional Open Source
- * Copyright 2008, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008-2009, 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
@@ -22,9 +22,9 @@
package javax.resource.cci;
+import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
-import java.io.IOException;
/**
* Streamable interface enables a resource adapter to extract data from
@@ -44,22 +44,23 @@
**/
public interface Streamable
{
- /**
- * Read data from an InputStream and initialize fields of a
- * Streamable object.
- *
- * @param istream InputStream that represents a resource
- * adapter specific internal representation
- * of fields of a Streamable object
- **/
- public void read(InputStream istream) throws IOException;
+ /**
+ * Read data from an InputStream and initialize fields of a
+ * Streamable object.
+ *
+ * @param istream InputStream that represents a resource
+ * adapter specific internal representation
+ * of fields of a Streamable object
+ * @exception IOException If an error occurs
+ **/
+ public void read(InputStream istream) throws IOException;
-
- /**
- * Write fields of a Streamable object to an OutputStream
- * @param ostream OutputStream that holds value of a
- * Streamable object
- **/
- public void write(OutputStream ostream) throws IOException;
+ /**
+ * Write fields of a Streamable object to an OutputStream
+ * @param ostream OutputStream that holds value of a
+ * Streamable object
+ * @exception IOException If an error occurs
+ **/
+ public void write(OutputStream ostream) throws IOException;
}
Modified: projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/Activation.java
===================================================================
--- projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/Activation.java 2009-03-12 14:24:16 UTC (rev 85785)
+++ projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/Activation.java 2009-03-12 14:27:07 UTC (rev 85786)
@@ -1,8 +1,8 @@
/*
- * JBoss, Home of Professional Open Source
- * Copyright 2008, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008-2009, 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
@@ -22,10 +22,10 @@
package javax.resource.spi;
+import java.lang.annotation.Documented;
+import java.lang.annotation.Retention;
import java.lang.annotation.Target;
import static java.lang.annotation.ElementType.*;
-import java.lang.annotation.Retention;
-import java.lang.annotation.Documented;
import static java.lang.annotation.RetentionPolicy.*;
/**
@@ -64,5 +64,5 @@
* @return The Java types of the Message Listener interface this
* activation-spec is associated with.
*/
- Class[] messageListeners() default {};
+ Class[] messageListeners() default { };
}
Modified: projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/ActivationSpec.java
===================================================================
--- projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/ActivationSpec.java 2009-03-12 14:24:16 UTC (rev 85785)
+++ projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/ActivationSpec.java 2009-03-12 14:27:07 UTC (rev 85786)
@@ -1,8 +1,8 @@
/*
- * JBoss, Home of Professional Open Source
- * Copyright 2008, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008-2009, 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
Modified: projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/AdministeredObject.java
===================================================================
--- projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/AdministeredObject.java 2009-03-12 14:24:16 UTC (rev 85785)
+++ projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/AdministeredObject.java 2009-03-12 14:27:07 UTC (rev 85786)
@@ -1,8 +1,8 @@
/*
- * JBoss, Home of Professional Open Source
- * Copyright 2008, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008-2009, 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
@@ -22,10 +22,11 @@
package javax.resource.spi;
+import java.lang.annotation.Documented;
+import java.lang.annotation.Retention;
import java.lang.annotation.Target;
+
import static java.lang.annotation.ElementType.*;
-import java.lang.annotation.Retention;
-import java.lang.annotation.Documented;
import static java.lang.annotation.RetentionPolicy.*;
/**
@@ -46,5 +47,5 @@
* Specifies the Java type of the interface implemented by the administered
* object.
*/
- Class[] adminObjectInterfaces() default {};
+ Class[] adminObjectInterfaces() default { };
}
Modified: projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/ApplicationServerInternalException.java
===================================================================
--- projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/ApplicationServerInternalException.java 2009-03-12 14:24:16 UTC (rev 85785)
+++ projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/ApplicationServerInternalException.java 2009-03-12 14:27:07 UTC (rev 85786)
@@ -1,8 +1,8 @@
/*
- * JBoss, Home of Professional Open Source
- * Copyright 2008, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008-2009, 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
Modified: projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/AuthenticationMechanism.java
===================================================================
--- projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/AuthenticationMechanism.java 2009-03-12 14:24:16 UTC (rev 85785)
+++ projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/AuthenticationMechanism.java 2009-03-12 14:27:07 UTC (rev 85786)
@@ -1,8 +1,8 @@
/*
- * JBoss, Home of Professional Open Source
- * Copyright 2008, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008-2009, 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
@@ -22,10 +22,10 @@
package javax.resource.spi;
+import java.lang.annotation.Documented;
+import java.lang.annotation.Retention;
import java.lang.annotation.Target;
import static java.lang.annotation.ElementType.*;
-import java.lang.annotation.Retention;
-import java.lang.annotation.Documented;
import static java.lang.annotation.RetentionPolicy.*;
/**
Modified: projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/BootstrapContext.java
===================================================================
--- projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/BootstrapContext.java 2009-03-12 14:24:16 UTC (rev 85785)
+++ projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/BootstrapContext.java 2009-03-12 14:27:07 UTC (rev 85786)
@@ -1,8 +1,8 @@
/*
- * JBoss, Home of Professional Open Source
- * Copyright 2008, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008-2009, 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
@@ -23,8 +23,9 @@
package javax.resource.spi;
import java.util.Timer;
+
+import javax.resource.spi.work.WorkContext;
import javax.resource.spi.work.WorkManager;
-import javax.resource.spi.work.WorkContext;
import javax.transaction.TransactionSynchronizationRegistry;
/**
Modified: projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/CommException.java
===================================================================
--- projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/CommException.java 2009-03-12 14:24:16 UTC (rev 85785)
+++ projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/CommException.java 2009-03-12 14:27:07 UTC (rev 85786)
@@ -1,8 +1,8 @@
/*
- * JBoss, Home of Professional Open Source
- * Copyright 2008, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008-2009, 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
Modified: projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/ConfigProperty.java
===================================================================
--- projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/ConfigProperty.java 2009-03-12 14:24:16 UTC (rev 85785)
+++ projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/ConfigProperty.java 2009-03-12 14:27:07 UTC (rev 85786)
@@ -1,8 +1,8 @@
/*
- * JBoss, Home of Professional Open Source
- * Copyright 2008, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008-2009, 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
@@ -22,10 +22,10 @@
package javax.resource.spi;
+import java.lang.annotation.Documented;
+import java.lang.annotation.Retention;
import java.lang.annotation.Target;
import static java.lang.annotation.ElementType.*;
-import java.lang.annotation.Documented;
-import java.lang.annotation.Retention;
import static java.lang.annotation.RetentionPolicy.*;
/**
@@ -37,7 +37,7 @@
@Documented
@Retention(RUNTIME)
- at Target( { FIELD, METHOD })
+ at Target({ FIELD, METHOD })
public @interface ConfigProperty
{
/**
Modified: projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/ConnectionDefinition.java
===================================================================
--- projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/ConnectionDefinition.java 2009-03-12 14:24:16 UTC (rev 85785)
+++ projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/ConnectionDefinition.java 2009-03-12 14:27:07 UTC (rev 85786)
@@ -1,8 +1,8 @@
/*
- * JBoss, Home of Professional Open Source
- * Copyright 2008, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008-2009, 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
@@ -22,10 +22,10 @@
package javax.resource.spi;
+import java.lang.annotation.Documented;
+import java.lang.annotation.Retention;
import java.lang.annotation.Target;
import static java.lang.annotation.ElementType.*;
-import java.lang.annotation.Retention;
-import java.lang.annotation.Documented;
import static java.lang.annotation.RetentionPolicy.*;
/**
Modified: projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/ConnectionDefinitions.java
===================================================================
--- projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/ConnectionDefinitions.java 2009-03-12 14:24:16 UTC (rev 85785)
+++ projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/ConnectionDefinitions.java 2009-03-12 14:27:07 UTC (rev 85786)
@@ -1,8 +1,8 @@
/*
- * JBoss, Home of Professional Open Source
- * Copyright 2008, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008-2009, 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
@@ -22,10 +22,10 @@
package javax.resource.spi;
+import java.lang.annotation.Documented;
+import java.lang.annotation.Retention;
import java.lang.annotation.Target;
import static java.lang.annotation.ElementType.*;
-import java.lang.annotation.Retention;
-import java.lang.annotation.Documented;
import static java.lang.annotation.RetentionPolicy.*;
/**
Modified: projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/ConnectionEvent.java
===================================================================
--- projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/ConnectionEvent.java 2009-03-12 14:24:16 UTC (rev 85785)
+++ projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/ConnectionEvent.java 2009-03-12 14:27:07 UTC (rev 85786)
@@ -1,8 +1,8 @@
/*
- * JBoss, Home of Professional Open Source
- * Copyright 2008, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008-2009, 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
@@ -22,9 +22,10 @@
package javax.resource.spi;
-import javax.resource.ResourceException;
import java.util.EventObject;
+import javax.resource.ResourceException;
+
/** The ConnectionEvent class provides information about the source of
* a connection related event.A ConnectionEvent instance contains the
* following information:
@@ -138,6 +139,7 @@
/**
* Set the connection handle. Used for CONNECTION_CLOSED event
+ * @param connectionHandle The connection handle
*/
public void setConnectionHandle(Object connectionHandle)
{
@@ -156,6 +158,7 @@
/**
* Get the type of event
+ * @return The id
*/
public int getId()
{
Modified: projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/ConnectionEventListener.java
===================================================================
--- projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/ConnectionEventListener.java 2009-03-12 14:24:16 UTC (rev 85785)
+++ projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/ConnectionEventListener.java 2009-03-12 14:27:07 UTC (rev 85786)
@@ -1,8 +1,8 @@
/*
- * JBoss, Home of Professional Open Source
- * Copyright 2008, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008-2009, 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
@@ -23,6 +23,7 @@
package javax.resource.spi;
import java.util.EventListener;
+
import javax.resource.ResourceException;
/** The <code>ConnectionEventListener</code> interface provides an event
Modified: projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/ConnectionManager.java
===================================================================
--- projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/ConnectionManager.java 2009-03-12 14:24:16 UTC (rev 85785)
+++ projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/ConnectionManager.java 2009-03-12 14:27:07 UTC (rev 85786)
@@ -1,8 +1,8 @@
/*
- * JBoss, Home of Professional Open Source
- * Copyright 2008, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008-2009, 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
Modified: projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/ConnectionRequestInfo.java
===================================================================
--- projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/ConnectionRequestInfo.java 2009-03-12 14:24:16 UTC (rev 85785)
+++ projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/ConnectionRequestInfo.java 2009-03-12 14:27:07 UTC (rev 85786)
@@ -1,8 +1,8 @@
/*
- * JBoss, Home of Professional Open Source
- * Copyright 2008, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008-2009, 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
@@ -53,7 +53,7 @@
* adapter, the resource adapter is required to implement
* this method. The conditions for equality are specific
* to the resource adapter.
- *
+ * @param other The other object
* @return True if the two instances are equal.
**/
public boolean equals(Object other);
Modified: projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/Connector.java
===================================================================
--- projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/Connector.java 2009-03-12 14:24:16 UTC (rev 85785)
+++ projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/Connector.java 2009-03-12 14:27:07 UTC (rev 85786)
@@ -1,8 +1,8 @@
/*
- * JBoss, Home of Professional Open Source
- * Copyright 2008, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008-2009, 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
@@ -23,10 +23,11 @@
package javax.resource.spi;
import java.lang.annotation.Documented;
+import java.lang.annotation.Retention;
+import java.lang.annotation.Target;
import static java.lang.annotation.ElementType.*;
-import java.lang.annotation.Retention;
import static java.lang.annotation.RetentionPolicy.*;
-import java.lang.annotation.Target;
+
import javax.resource.spi.work.WorkContext;
/**
@@ -47,14 +48,14 @@
/**
* Describes the resource adapter module.
*/
- String[] description() default {};
+ String[] description() default { };
/**
* An optional short name, providing information about the
* resource adapter module, that is intended to be displayed
* by tools.
*/
- String[] displayName() default {};
+ String[] displayName() default { };
/**
* Specifies the file name for small GIF or JPEG icon images that are
@@ -64,7 +65,7 @@
* application server must use the ordinal value in their respective
* arrays to find the related pairs of icons.
*/
- String[] smallIcon() default {};
+ String[] smallIcon() default { };
/**
* Specifies the file name for large GIF or JPEG icon images that are
@@ -73,7 +74,7 @@
* the application server must use the ordinal value in their
* respective arrays to find the related pairs of icons.
*/
- String[] largeIcon() default {};
+ String[] largeIcon() default { };
/**
* Specifies the name of the resource adapter provider vendor.
@@ -97,7 +98,7 @@
* Specifies licensing requirements for the resource adapter module and an
* optional description of the licensing terms .
*/
- String[] licenseDescription() default {};
+ String[] licenseDescription() default { };
/**
* Specifies whether a license is required to deploy and use this resource
@@ -120,7 +121,7 @@
*
* @see AuthenticationMechanism
*/
- AuthenticationMechanism[] authMechanisms() default {};
+ AuthenticationMechanism[] authMechanisms() default { };
/**
* Specifies whether a license is required to deploy and use this resource
@@ -134,7 +135,7 @@
*
* @see SecurityPermission
*/
- SecurityPermission[] securityPermissions() default {};
+ SecurityPermission[] securityPermissions() default { };
/**
* Specifies the level of transaction support provided by the resource
@@ -142,12 +143,13 @@
*
* @see TransactionSupport.TransactionSupportLevel
*/
- TransactionSupport.TransactionSupportLevel transactionSupport() default TransactionSupport.TransactionSupportLevel.NoTransaction;
+ TransactionSupport.TransactionSupportLevel transactionSupport()
+ default TransactionSupport.TransactionSupportLevel.NoTransaction;
/**
* Specifies a list of fully qualified classes that implements the
* {@link WorkContext WorkContext} interface that a resource adapter
* requires the application server to support.
*/
- Class<? extends WorkContext>[] requiredWorkContexts() default {};
+ Class<? extends WorkContext>[] requiredWorkContexts() default { };
}
Modified: projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/DissociatableManagedConnection.java
===================================================================
--- projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/DissociatableManagedConnection.java 2009-03-12 14:24:16 UTC (rev 85785)
+++ projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/DissociatableManagedConnection.java 2009-03-12 14:27:07 UTC (rev 85786)
@@ -1,8 +1,8 @@
/*
- * JBoss, Home of Professional Open Source
- * Copyright 2008, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008-2009, 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
Modified: projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/EISSystemException.java
===================================================================
--- projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/EISSystemException.java 2009-03-12 14:24:16 UTC (rev 85785)
+++ projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/EISSystemException.java 2009-03-12 14:27:07 UTC (rev 85786)
@@ -1,8 +1,8 @@
/*
- * JBoss, Home of Professional Open Source
- * Copyright 2008, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008-2009, 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
Modified: projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/IllegalStateException.java
===================================================================
--- projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/IllegalStateException.java 2009-03-12 14:24:16 UTC (rev 85785)
+++ projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/IllegalStateException.java 2009-03-12 14:27:07 UTC (rev 85786)
@@ -1,8 +1,8 @@
/*
- * JBoss, Home of Professional Open Source
- * Copyright 2008, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008-2009, 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
Modified: projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/InvalidPropertyException.java
===================================================================
--- projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/InvalidPropertyException.java 2009-03-12 14:24:16 UTC (rev 85785)
+++ projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/InvalidPropertyException.java 2009-03-12 14:27:07 UTC (rev 85786)
@@ -1,8 +1,8 @@
/*
- * JBoss, Home of Professional Open Source
- * Copyright 2008, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008-2009, 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
@@ -92,6 +92,7 @@
/**
* Set a list of invalid properties.
+ * @param invalidProperties The invalid properties
*/
public void setInvalidPropertyDescriptors(PropertyDescriptor[] invalidProperties)
{
@@ -100,6 +101,7 @@
/**
* Get the list of invalid properties.
+ * @return The properties
*/
public PropertyDescriptor[] getInvalidPropertyDescriptors()
{
Modified: projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/LazyAssociatableConnectionManager.java
===================================================================
--- projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/LazyAssociatableConnectionManager.java 2009-03-12 14:24:16 UTC (rev 85785)
+++ projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/LazyAssociatableConnectionManager.java 2009-03-12 14:27:07 UTC (rev 85786)
@@ -1,8 +1,8 @@
/*
- * JBoss, Home of Professional Open Source
- * Copyright 2008, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008-2009, 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
Modified: projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/LazyEnlistableConnectionManager.java
===================================================================
--- projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/LazyEnlistableConnectionManager.java 2009-03-12 14:24:16 UTC (rev 85785)
+++ projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/LazyEnlistableConnectionManager.java 2009-03-12 14:27:07 UTC (rev 85786)
@@ -1,8 +1,8 @@
/*
- * JBoss, Home of Professional Open Source
- * Copyright 2008, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008-2009, 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
Modified: projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/LazyEnlistableManagedConnection.java
===================================================================
--- projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/LazyEnlistableManagedConnection.java 2009-03-12 14:24:16 UTC (rev 85785)
+++ projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/LazyEnlistableManagedConnection.java 2009-03-12 14:27:07 UTC (rev 85786)
@@ -1,8 +1,8 @@
/*
- * JBoss, Home of Professional Open Source
- * Copyright 2008, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008-2009, 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
Modified: projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/LocalTransaction.java
===================================================================
--- projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/LocalTransaction.java 2009-03-12 14:24:16 UTC (rev 85785)
+++ projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/LocalTransaction.java 2009-03-12 14:27:07 UTC (rev 85786)
@@ -1,8 +1,8 @@
/*
- * JBoss, Home of Professional Open Source
- * Copyright 2008, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008-2009, 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
Modified: projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/LocalTransactionException.java
===================================================================
--- projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/LocalTransactionException.java 2009-03-12 14:24:16 UTC (rev 85785)
+++ projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/LocalTransactionException.java 2009-03-12 14:27:07 UTC (rev 85786)
@@ -1,8 +1,8 @@
/*
- * JBoss, Home of Professional Open Source
- * Copyright 2008, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008-2009, 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
Modified: projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/ManagedConnection.java
===================================================================
--- projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/ManagedConnection.java 2009-03-12 14:24:16 UTC (rev 85785)
+++ projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/ManagedConnection.java 2009-03-12 14:27:07 UTC (rev 85786)
@@ -1,8 +1,8 @@
/*
- * JBoss, Home of Professional Open Source
- * Copyright 2008, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008-2009, 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
@@ -22,9 +22,10 @@
package javax.resource.spi;
+import javax.resource.NotSupportedException;
+import javax.resource.ResourceException;
import javax.security.auth.Subject;
import javax.transaction.xa.XAResource;
-import javax.resource.ResourceException;
/** ManagedConnection instance represents a physical connection
* to the underlying EIS.
Modified: projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/ManagedConnectionFactory.java
===================================================================
--- projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/ManagedConnectionFactory.java 2009-03-12 14:24:16 UTC (rev 85785)
+++ projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/ManagedConnectionFactory.java 2009-03-12 14:27:07 UTC (rev 85786)
@@ -1,8 +1,8 @@
/*
- * JBoss, Home of Professional Open Source
- * Copyright 2008, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008-2009, 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
@@ -22,10 +22,11 @@
package javax.resource.spi;
-import javax.security.auth.Subject;
import java.util.Set;
+
+import javax.resource.NotSupportedException;
import javax.resource.ResourceException;
-import javax.resource.NotSupportedException;
+import javax.security.auth.Subject;
/**
* ManagedConnectionFactory instance is a factory of both ManagedConnection
@@ -189,7 +190,7 @@
/**
* Check if this ManagedConnectionFactory is equal to another
* ManagedConnectionFactory.
- *
+ * @param other The other object
* @return true if two instances are equal
*/
public boolean equals(Object other);
Modified: projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/ManagedConnectionMetaData.java
===================================================================
--- projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/ManagedConnectionMetaData.java 2009-03-12 14:24:16 UTC (rev 85785)
+++ projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/ManagedConnectionMetaData.java 2009-03-12 14:27:07 UTC (rev 85786)
@@ -1,8 +1,8 @@
/*
- * JBoss, Home of Professional Open Source
- * Copyright 2008, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008-2009, 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
@@ -44,6 +44,7 @@
* through the ManagedConnection.
*
* @return Product name of the EIS instance.
+ * @exception ResourceException Thrown if an error occurs
**/
public String getEISProductName() throws ResourceException;
@@ -51,6 +52,7 @@
* through the ManagedConnection.
*
* @return Product version of the EIS instance
+ * @exception ResourceException Thrown if an error occurs
**/
public String getEISProductVersion() throws ResourceException;
@@ -60,6 +62,7 @@
* returns a 0.
*
* @return Maximum limit for number of active concurrent connections
+ * @exception ResourceException Thrown if an error occurs
**/
public int getMaxConnections() throws ResourceException;
@@ -69,6 +72,7 @@
* established.
*
* @return name of the user
+ * @exception ResourceException Thrown if an error occurs
**/
public String getUserName() throws ResourceException;
}
Modified: projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/ResourceAdapter.java
===================================================================
--- projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/ResourceAdapter.java 2009-03-12 14:24:16 UTC (rev 85785)
+++ projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/ResourceAdapter.java 2009-03-12 14:27:07 UTC (rev 85786)
@@ -1,8 +1,8 @@
/*
- * JBoss, Home of Professional Open Source
- * Copyright 2008, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008-2009, 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
@@ -22,11 +22,9 @@
package javax.resource.spi;
-import javax.resource.ResourceException;
import javax.resource.NotSupportedException;
-import javax.resource.spi.ActivationSpec;
+import javax.resource.ResourceException;
import javax.resource.spi.endpoint.MessageEndpointFactory;
-
import javax.transaction.xa.XAResource;
/**
@@ -95,6 +93,7 @@
*
* @param spec an activation spec JavaBean instance.
*
+ * @throws ResourceException Thrown if an error occurs
* @throws NotSupportedException indicates message endpoint
* activation rejection due to incorrect activation
* setup information.
@@ -139,11 +138,11 @@
* which corresponds to an deployed endpoint application that was
* active prior to the system crash.
*
- * @throws ResourceException generic exception if operation fails due to an
- * error condition.
- *
* @return an array of <code>XAResource</code> objects each of which
* represents a unique resource manager.
+ *
+ * @throws ResourceException generic exception if operation fails due to an
+ * error condition.
*/
XAResource[] getXAResources(ActivationSpec[] specs)
throws ResourceException;
Modified: projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/ResourceAdapterAssociation.java
===================================================================
--- projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/ResourceAdapterAssociation.java 2009-03-12 14:24:16 UTC (rev 85785)
+++ projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/ResourceAdapterAssociation.java 2009-03-12 14:27:07 UTC (rev 85786)
@@ -1,8 +1,8 @@
/*
- * JBoss, Home of Professional Open Source
- * Copyright 2008, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008-2009, 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
Modified: projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/ResourceAdapterInternalException.java
===================================================================
--- projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/ResourceAdapterInternalException.java 2009-03-12 14:24:16 UTC (rev 85785)
+++ projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/ResourceAdapterInternalException.java 2009-03-12 14:27:07 UTC (rev 85786)
@@ -1,8 +1,8 @@
/*
- * JBoss, Home of Professional Open Source
- * Copyright 2008, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008-2009, 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
Modified: projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/ResourceAllocationException.java
===================================================================
--- projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/ResourceAllocationException.java 2009-03-12 14:24:16 UTC (rev 85785)
+++ projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/ResourceAllocationException.java 2009-03-12 14:27:07 UTC (rev 85786)
@@ -1,8 +1,8 @@
/*
- * JBoss, Home of Professional Open Source
- * Copyright 2008, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008-2009, 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
Modified: projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/RetryableException.java
===================================================================
--- projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/RetryableException.java 2009-03-12 14:24:16 UTC (rev 85785)
+++ projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/RetryableException.java 2009-03-12 14:27:07 UTC (rev 85786)
@@ -1,8 +1,8 @@
/*
- * JBoss, Home of Professional Open Source
- * Copyright 2008, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008-2009, 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
Modified: projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/RetryableUnavailableException.java
===================================================================
--- projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/RetryableUnavailableException.java 2009-03-12 14:24:16 UTC (rev 85785)
+++ projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/RetryableUnavailableException.java 2009-03-12 14:27:07 UTC (rev 85786)
@@ -1,8 +1,8 @@
/*
- * JBoss, Home of Professional Open Source
- * Copyright 2008, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008-2009, 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
Modified: projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/SecurityException.java
===================================================================
--- projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/SecurityException.java 2009-03-12 14:24:16 UTC (rev 85785)
+++ projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/SecurityException.java 2009-03-12 14:27:07 UTC (rev 85786)
@@ -1,8 +1,8 @@
/*
- * JBoss, Home of Professional Open Source
- * Copyright 2008, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008-2009, 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
Modified: projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/SecurityPermission.java
===================================================================
--- projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/SecurityPermission.java 2009-03-12 14:24:16 UTC (rev 85785)
+++ projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/SecurityPermission.java 2009-03-12 14:27:07 UTC (rev 85786)
@@ -1,8 +1,8 @@
/*
- * JBoss, Home of Professional Open Source
- * Copyright 2008, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008-2009, 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
@@ -22,10 +22,10 @@
package javax.resource.spi;
+import java.lang.annotation.Documented;
+import java.lang.annotation.Retention;
import java.lang.annotation.Target;
import static java.lang.annotation.ElementType.*;
-import java.lang.annotation.Retention;
-import java.lang.annotation.Documented;
import static java.lang.annotation.RetentionPolicy.*;
/**
Modified: projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/SharingViolationException.java
===================================================================
--- projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/SharingViolationException.java 2009-03-12 14:24:16 UTC (rev 85785)
+++ projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/SharingViolationException.java 2009-03-12 14:27:07 UTC (rev 85786)
@@ -1,8 +1,8 @@
/*
- * JBoss, Home of Professional Open Source
- * Copyright 2008, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008-2009, 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
Modified: projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/TransactionSupport.java
===================================================================
--- projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/TransactionSupport.java 2009-03-12 14:24:16 UTC (rev 85785)
+++ projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/TransactionSupport.java 2009-03-12 14:27:07 UTC (rev 85786)
@@ -1,8 +1,8 @@
/*
- * JBoss, Home of Professional Open Source
- * Copyright 2008, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008-2009, 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
@@ -76,6 +76,7 @@
* <code>TransactionSupportLevel</code> enum is equal to or lesser than
* the resource adapter's transaction support classification.
*
+ * @return The transaction support level
* @since 1.6
*/
public TransactionSupportLevel getTransactionSupport();
Modified: projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/UnavailableException.java
===================================================================
--- projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/UnavailableException.java 2009-03-12 14:24:16 UTC (rev 85785)
+++ projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/UnavailableException.java 2009-03-12 14:27:07 UTC (rev 85786)
@@ -1,8 +1,8 @@
/*
- * JBoss, Home of Professional Open Source
- * Copyright 2008, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008-2009, 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
Modified: projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/ValidatingManagedConnectionFactory.java
===================================================================
--- projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/ValidatingManagedConnectionFactory.java 2009-03-12 14:24:16 UTC (rev 85785)
+++ projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/ValidatingManagedConnectionFactory.java 2009-03-12 14:27:07 UTC (rev 85786)
@@ -1,8 +1,8 @@
/*
- * JBoss, Home of Professional Open Source
- * Copyright 2008, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008-2009, 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
@@ -23,6 +23,7 @@
package javax.resource.spi;
import java.util.Set;
+
import javax.resource.ResourceException;
/**
Modified: projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/XATerminator.java
===================================================================
--- projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/XATerminator.java 2009-03-12 14:24:16 UTC (rev 85785)
+++ projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/XATerminator.java 2009-03-12 14:27:07 UTC (rev 85786)
@@ -1,8 +1,8 @@
/*
- * JBoss, Home of Professional Open Source
- * Copyright 2008, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008-2009, 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
@@ -22,8 +22,8 @@
package javax.resource.spi;
+import javax.transaction.xa.XAException;
import javax.transaction.xa.Xid;
-import javax.transaction.xa.XAException;
/**
* <p>The XATerminator interface is used for transaction completion and
Modified: projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/endpoint/MessageEndpoint.java
===================================================================
--- projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/endpoint/MessageEndpoint.java 2009-03-12 14:24:16 UTC (rev 85785)
+++ projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/endpoint/MessageEndpoint.java 2009-03-12 14:27:07 UTC (rev 85786)
@@ -1,8 +1,8 @@
/*
- * JBoss, Home of Professional Open Source
- * Copyright 2008, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008-2009, 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
@@ -22,11 +22,10 @@
package javax.resource.spi.endpoint;
-import java.lang.NoSuchMethodException;
import javax.resource.ResourceException;
-import javax.resource.spi.ResourceAdapterInternalException;
import javax.resource.spi.ApplicationServerInternalException;
import javax.resource.spi.IllegalStateException;
+import javax.resource.spi.ResourceAdapterInternalException;
import javax.resource.spi.UnavailableException;
/**
Modified: projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/endpoint/MessageEndpointFactory.java
===================================================================
--- projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/endpoint/MessageEndpointFactory.java 2009-03-12 14:24:16 UTC (rev 85785)
+++ projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/endpoint/MessageEndpointFactory.java 2009-03-12 14:27:07 UTC (rev 85786)
@@ -1,8 +1,8 @@
/*
- * JBoss, Home of Professional Open Source
- * Copyright 2008, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008-2009, 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
@@ -22,9 +22,8 @@
package javax.resource.spi.endpoint;
-import java.lang.NoSuchMethodException;
-import javax.transaction.xa.XAResource;
import javax.resource.spi.UnavailableException;
+import javax.transaction.xa.XAResource;
/**
* This serves as a factory for creating message endpoints.
@@ -59,7 +58,7 @@
* instance used to get transaction notifications when the message delivery
* is transacted.
*
- * @param timout an optional value used to specify the time duration
+ * @param timeout an optional value used to specify the time duration
* (in milliseconds) within which the message endpoint needs to be
* created by the <code>MessageEndpointFactory</code>. Otherwise, the
* <code>MessageEndpointFactory</code> rejects the creation of the
Modified: projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/security/GenericCredential.java
===================================================================
--- projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/security/GenericCredential.java 2009-03-12 14:24:16 UTC (rev 85785)
+++ projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/security/GenericCredential.java 2009-03-12 14:27:07 UTC (rev 85786)
@@ -1,8 +1,8 @@
/*
- * JBoss, Home of Professional Open Source
- * Copyright 2008, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008-2009, 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
@@ -22,7 +22,8 @@
package javax.resource.spi.security;
-import java.security.Principal; // to fix javadoc warning
+import java.security.Principal;
+
import javax.resource.spi.SecurityException;
/** The interface <code>javax.resource.spi.security.GenericCredential</code>
@@ -105,6 +106,8 @@
*
* Returns true if the two GenericCredentials refer to the same entity;
* false otherwise.
+ * @param another The other object
+ * @return True if equal; otherwise false
**/
public boolean equals(Object another);
Modified: projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/security/PasswordCredential.java
===================================================================
--- projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/security/PasswordCredential.java 2009-03-12 14:24:16 UTC (rev 85785)
+++ projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/security/PasswordCredential.java 2009-03-12 14:27:07 UTC (rev 85786)
@@ -1,8 +1,8 @@
/*
- * JBoss, Home of Professional Open Source
- * Copyright 2008, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008-2009, 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
@@ -127,7 +127,7 @@
if (password.length != pc.password.length)
return false;
- for (int i = 0; i < password.length;i++)
+ for (int i = 0; i < password.length; i++)
{
if (password[i] != pc.password[i])
return false;
Modified: projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/work/DistributableWork.java
===================================================================
--- projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/work/DistributableWork.java 2009-03-12 14:24:16 UTC (rev 85785)
+++ projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/work/DistributableWork.java 2009-03-12 14:27:07 UTC (rev 85786)
@@ -1,8 +1,8 @@
/*
- * JBoss, Home of Professional Open Source
- * Copyright 2008, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008-2009, 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
Modified: projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/work/DistributableWorkManager.java
===================================================================
--- projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/work/DistributableWorkManager.java 2009-03-12 14:24:16 UTC (rev 85785)
+++ projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/work/DistributableWorkManager.java 2009-03-12 14:27:07 UTC (rev 85786)
@@ -1,8 +1,8 @@
/*
- * JBoss, Home of Professional Open Source
- * Copyright 2008, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008-2009, 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
Modified: projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/work/ExecutionContext.java
===================================================================
--- projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/work/ExecutionContext.java 2009-03-12 14:24:16 UTC (rev 85785)
+++ projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/work/ExecutionContext.java 2009-03-12 14:27:07 UTC (rev 85786)
@@ -1,8 +1,8 @@
/*
- * JBoss, Home of Professional Open Source
- * Copyright 2008, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008-2009, 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
Modified: projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/work/HintsContext.java
===================================================================
--- projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/work/HintsContext.java 2009-03-12 14:24:16 UTC (rev 85785)
+++ projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/work/HintsContext.java 2009-03-12 14:27:07 UTC (rev 85786)
@@ -1,30 +1,30 @@
/*
-* JBoss, Home of Professional Open Source
-* Copyright 2008, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt 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.
-*/
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008-2009, 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 javax.resource.spi.work;
import java.io.Serializable;
+import java.util.HashMap;
import java.util.Map;
-import java.util.HashMap;
/**
* A standard {@link WorkContext WorkContext} that allows a {@link Work
@@ -44,13 +44,22 @@
* is compatible with this class.
*/
private static final long serialVersionUID = 7956353628297167255L;
-
+
+ /** The name hint */
public static final String NAME_HINT = "javax.resource.Name";
+
+ /** The long running hint */
public static final String LONGRUNNING_HINT = "javax.resource.LongRunning";
+ /** Description */
protected String description = "Hints Context";
+
+ /** Name */
protected String name = "HintsContext";
-
+
+ /** The hints */
+ Map<String, Serializable> hints = new HashMap<String, Serializable>();
+
/**
* {@inheritDoc}
*/
@@ -73,6 +82,7 @@
*
* This could be used by the resource adapter and the WorkManager
* for logging and debugging purposes.
+ * @param description The description
*/
public void setDescription(String description)
{
@@ -83,19 +93,20 @@
* Set the associated name of the HintsContext. This
* could be used by the resource adapter and the WorkManager
* for logging and debugging purposes.
+ * @param name The name
*/
public void setName(String name)
{
this.name = name;
}
- Map<String, Serializable> hints = new HashMap<String, Serializable>();
-
/**
* Set a Hint and a related value. The hintName must be non-Null.
* Standard HintNames are defined in the Connector specification. Use of
* "javax.resource." prefixed hintNames are reserved for use by the
* Connector specification.
+ * @param hintName The hint name
+ * @param value The hint value
*
*/
public void setHint(String hintName, Serializable value)
@@ -103,6 +114,10 @@
hints.put(hintName, value);
}
+ /**
+ * Get the hints
+ * @return The hints
+ */
public Map<String, Serializable> getHints()
{
return hints;
Modified: projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/work/RetryableWorkRejectedException.java
===================================================================
--- projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/work/RetryableWorkRejectedException.java 2009-03-12 14:24:16 UTC (rev 85785)
+++ projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/work/RetryableWorkRejectedException.java 2009-03-12 14:27:07 UTC (rev 85786)
@@ -1,8 +1,8 @@
/*
- * JBoss, Home of Professional Open Source
- * Copyright 2008, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008-2009, 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
Modified: projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/work/SecurityContext.java
===================================================================
--- projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/work/SecurityContext.java 2009-03-12 14:24:16 UTC (rev 85785)
+++ projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/work/SecurityContext.java 2009-03-12 14:27:07 UTC (rev 85786)
@@ -1,8 +1,8 @@
/*
- * JBoss, Home of Professional Open Source
- * Copyright 2008, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008-2009, 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
@@ -87,14 +87,16 @@
/**
* {@inheritDoc}
*/
- public String getDescription() {
+ public String getDescription()
+ {
return "Security Context";
}
/**
* {@inheritDoc}
*/
- public String getName() {
+ public String getName()
+ {
return "SecurityContext";
}
Modified: projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/work/TransactionContext.java
===================================================================
--- projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/work/TransactionContext.java 2009-03-12 14:24:16 UTC (rev 85785)
+++ projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/work/TransactionContext.java 2009-03-12 14:27:07 UTC (rev 85786)
@@ -1,8 +1,8 @@
/*
- * JBoss, Home of Professional Open Source
- * Copyright 2008, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008-2009, 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
@@ -49,14 +49,16 @@
/**
* {@inheritDoc}
*/
- public String getDescription() {
+ public String getDescription()
+ {
return "Transaction Context";
}
/**
* {@inheritDoc}
*/
- public String getName() {
+ public String getName()
+ {
return "TransactionContext";
}
}
Modified: projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/work/Work.java
===================================================================
--- projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/work/Work.java 2009-03-12 14:24:16 UTC (rev 85785)
+++ projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/work/Work.java 2009-03-12 14:27:07 UTC (rev 85786)
@@ -1,8 +1,8 @@
/*
- * JBoss, Home of Professional Open Source
- * Copyright 2008, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008-2009, 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
@@ -22,11 +22,6 @@
package javax.resource.spi.work;
-import java.lang.Object;
-import java.lang.Runnable;
-import java.lang.Exception;
-import java.lang.Throwable;
-
/**
* This models a <code>Work</code> instance that would be executed by a
* <code>WorkManager</code> upon submission.
Modified: projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/work/WorkAdapter.java
===================================================================
--- projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/work/WorkAdapter.java 2009-03-12 14:24:16 UTC (rev 85785)
+++ projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/work/WorkAdapter.java 2009-03-12 14:27:07 UTC (rev 85786)
@@ -1,8 +1,8 @@
/*
- * JBoss, Home of Professional Open Source
- * Copyright 2008, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008-2009, 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
@@ -22,11 +22,6 @@
package javax.resource.spi.work;
-import java.lang.Object;
-import java.lang.Runnable;
-import java.lang.Exception;
-import java.lang.Throwable;
-
/**
* This class is provided as a convenience for easily creating
* <code>WorkListener</code> instances by extending this class
@@ -40,6 +35,7 @@
/**
* Invoked when a <code>Work</code> instance has been accepted.
+ * @param e The work event
*/
public void workAccepted(WorkEvent e)
{
@@ -47,6 +43,7 @@
/**
* Invoked when a <code>Work</code> instance has been rejected.
+ * @param e The work event
*/
public void workRejected(WorkEvent e)
{
@@ -55,6 +52,7 @@
/**
* Invoked when a <code>Work</code> instance has started execution.
* This only means that a thread has been allocated.
+ * @param e The work event
*/
public void workStarted(WorkEvent e)
{
@@ -62,6 +60,7 @@
/**
* Invoked when a <code>Work</code> instance has completed execution.
+ * @param e The work event
*/
public void workCompleted(WorkEvent e)
{
Modified: projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/work/WorkCompletedException.java
===================================================================
--- projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/work/WorkCompletedException.java 2009-03-12 14:24:16 UTC (rev 85785)
+++ projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/work/WorkCompletedException.java 2009-03-12 14:27:07 UTC (rev 85786)
@@ -1,8 +1,8 @@
/*
- * JBoss, Home of Professional Open Source
- * Copyright 2008, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008-2009, 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
Modified: projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/work/WorkContext.java
===================================================================
--- projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/work/WorkContext.java 2009-03-12 14:24:16 UTC (rev 85785)
+++ projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/work/WorkContext.java 2009-03-12 14:27:07 UTC (rev 85786)
@@ -1,8 +1,8 @@
/*
- * JBoss, Home of Professional Open Source
- * Copyright 2008, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008-2009, 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
Modified: projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/work/WorkContextErrorCodes.java
===================================================================
--- projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/work/WorkContextErrorCodes.java 2009-03-12 14:24:16 UTC (rev 85785)
+++ projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/work/WorkContextErrorCodes.java 2009-03-12 14:27:07 UTC (rev 85786)
@@ -1,8 +1,8 @@
/*
- * JBoss, Home of Professional Open Source
- * Copyright 2008, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008-2009, 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
Modified: projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/work/WorkContextLifecycleListener.java
===================================================================
--- projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/work/WorkContextLifecycleListener.java 2009-03-12 14:24:16 UTC (rev 85785)
+++ projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/work/WorkContextLifecycleListener.java 2009-03-12 14:27:07 UTC (rev 85786)
@@ -1,8 +1,8 @@
/*
- * JBoss, Home of Professional Open Source
- * Copyright 2008, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008-2009, 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
Modified: projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/work/WorkContextProvider.java
===================================================================
--- projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/work/WorkContextProvider.java 2009-03-12 14:24:16 UTC (rev 85785)
+++ projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/work/WorkContextProvider.java 2009-03-12 14:27:07 UTC (rev 85786)
@@ -1,8 +1,8 @@
/*
- * JBoss, Home of Professional Open Source
- * Copyright 2008, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008-2009, 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
@@ -22,8 +22,8 @@
package javax.resource.spi.work;
+import java.io.Serializable;
import java.util.List;
-import java.io.Serializable;
/**
* This interface specifies the methods a {@link Work Work} instance uses to
Modified: projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/work/WorkEvent.java
===================================================================
--- projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/work/WorkEvent.java 2009-03-12 14:24:16 UTC (rev 85785)
+++ projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/work/WorkEvent.java 2009-03-12 14:27:07 UTC (rev 85786)
@@ -1,8 +1,8 @@
/*
- * JBoss, Home of Professional Open Source
- * Copyright 2008, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008-2009, 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
@@ -22,10 +22,6 @@
package javax.resource.spi.work;
-import java.lang.Object;
-import java.lang.Runnable;
-import java.lang.Exception;
-import java.lang.Throwable;
import java.util.EventObject;
/**
Modified: projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/work/WorkException.java
===================================================================
--- projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/work/WorkException.java 2009-03-12 14:24:16 UTC (rev 85785)
+++ projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/work/WorkException.java 2009-03-12 14:27:07 UTC (rev 85786)
@@ -1,8 +1,8 @@
/*
- * JBoss, Home of Professional Open Source
- * Copyright 2008, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008-2009, 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
Modified: projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/work/WorkListener.java
===================================================================
--- projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/work/WorkListener.java 2009-03-12 14:24:16 UTC (rev 85785)
+++ projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/work/WorkListener.java 2009-03-12 14:27:07 UTC (rev 85786)
@@ -1,8 +1,8 @@
/*
- * JBoss, Home of Professional Open Source
- * Copyright 2008, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008-2009, 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
@@ -22,10 +22,6 @@
package javax.resource.spi.work;
-import java.lang.Object;
-import java.lang.Runnable;
-import java.lang.Exception;
-import java.lang.Throwable;
import java.util.EventListener;
/**
@@ -47,22 +43,26 @@
/**
* Invoked when a <code>Work</code> instance has been accepted.
+ * @param e The work event
*/
void workAccepted(WorkEvent e);
/**
* Invoked when a <code>Work</code> instance has been rejected.
+ * @param e The work event
*/
void workRejected(WorkEvent e);
/**
* Invoked when a <code>Work</code> instance has started execution.
* This only means that a thread has been allocated.
+ * @param e The work event
*/
void workStarted(WorkEvent e);
/**
* Invoked when a <code>Work</code> instance has completed execution.
+ * @param e The work event
*/
void workCompleted(WorkEvent e);
}
Modified: projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/work/WorkManager.java
===================================================================
--- projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/work/WorkManager.java 2009-03-12 14:24:16 UTC (rev 85785)
+++ projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/work/WorkManager.java 2009-03-12 14:27:07 UTC (rev 85786)
@@ -1,8 +1,8 @@
/*
- * JBoss, Home of Professional Open Source
- * Copyright 2008, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008-2009, 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
@@ -22,11 +22,6 @@
package javax.resource.spi.work;
-import java.lang.Object;
-import java.lang.Runnable;
-import java.lang.Exception;
-import java.lang.Throwable;
-
/**
* This interface models a <code>WorkManager</code> which provides a facility
* to submit <code>Work</code> instances for execution. This frees the user
@@ -112,6 +107,8 @@
* @param work The unit of work to be done.
* Could be long or short-lived.
*
+ * @throws WorkException Thrown if an error occurs
+ *
* @throws WorkRejectedException indicates that a
* <code>Work</code> instance has been rejected from further processing.
* This can occur due to internal factors.
@@ -144,6 +141,8 @@
* when the various <code>Work</code> processing events (work accepted,
* work rejected, work started, work completed) occur.
*
+ * @throws WorkException Thrown if an error occurs
+ *
* @throws WorkRejectedException indicates that a
* <code>Work</code> instance has been rejected from further processing.
* This can occur due to internal factors or start timeout expiration.
@@ -173,6 +172,8 @@
* real-time guarantees. It is valid to return -1, if the actual start
* delay duration is unknown.
*
+ * @throws WorkException Thrown if an error occurs
+ *
* @throws WorkRejectedException indicates that a
* <code>Work</code> instance has been rejected from further processing.
* This can occur due to internal factors.
@@ -210,6 +211,8 @@
* real-time guarantees. It is valid to return -1, if the actual start
* delay duration is unknown.
*
+ * @throws WorkException Thrown if an error occurs
+ *
* @throws WorkRejectedException indicates that a
* <code>Work</code> instance has been rejected from further processing.
* This can occur due to internal factors or start timeout expiration.
@@ -231,6 +234,8 @@
* @param work The unit of work to be done.
* Could be long or short-lived.
*
+ * @throws WorkException Thrown if an error occurs
+ *
* @throws WorkRejectedException indicates that a
* <code>Work</code> instance has been rejected from further processing.
* This can occur due to internal factors.
@@ -261,6 +266,8 @@
* when the various <code>Work</code> processing events (work accepted,
* work rejected, work started, work completed) occur.
*
+ * @throws WorkException Thrown if an error occurs
+ *
* @throws WorkRejectedException indicates that a
* <code>Work</code> instance has been rejected from further processing.
* This can occur due to internal factors.
Modified: projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/work/WorkRejectedException.java
===================================================================
--- projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/work/WorkRejectedException.java 2009-03-12 14:24:16 UTC (rev 85785)
+++ projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/work/WorkRejectedException.java 2009-03-12 14:27:07 UTC (rev 85786)
@@ -1,8 +1,8 @@
/*
- * JBoss, Home of Professional Open Source
- * Copyright 2008, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008-2009, 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
Modified: projects/jboss-jca/trunk/build.xml
===================================================================
--- projects/jboss-jca/trunk/build.xml 2009-03-12 14:24:16 UTC (rev 85785)
+++ projects/jboss-jca/trunk/build.xml 2009-03-12 14:27:07 UTC (rev 85786)
@@ -40,6 +40,7 @@
<property name="lib.dir" value="${basedir}/lib" />
<property name="build.dir" value="${basedir}/build" />
<property name="target.dir" value="${basedir}/target" />
+ <property name="tools.dir" value="${basedir}/tools" />
<property name="reports.dir" value="${basedir}/reports" />
<property name="test.dir" value="${reports.dir}" />
@@ -57,43 +58,58 @@
<property name="junit.batchtest.haltonerror" value="no" />
<property name="junit.batchtest.haltonfailure" value="no" />
<property name="junit.batchtest.fork" value="yes" />
-
+
<!-- =================================
Versions
================================= -->
+ <property name="version.antlr" value="2.7.6"/>
<property name="version.apache-log4j" value="1.2.14"/>
<property name="version.apache-logging" value="1.1.0.jboss"/>
- <property name="version.javassist" value="3.9.0.GA"/>
+ <property name="version.checkstyle" value="5.0-beta01"/>
+ <property name="version.commons-beanutils" value="1.7.0"/>
+ <property name="version.commons-cli" value="1.1"/>
+ <property name="version.commons-logging" value="1.0.3"/>
+ <property name="version.google-collect" value="snapshot-20080321"/>
+ <property name="version.javassist" value="3.10.0.GA"/>
<property name="version.jaxb.api" value="2.0"/>
<property name="version.jaxb.impl" value="2.1"/>
- <property name="version.jboss.aop" value="2.0.0.SP1"/>
- <property name="version.jboss.common" value="2.2.10.GA"/>
- <property name="version.jboss.ejb3.test" value="1.0.0-Beta2"/>
- <property name="version.jboss.integration" value="5.0.3.GA"/>
+ <property name="version.jboss.aop" value="2.0.1.GA"/>
+ <property name="version.jboss.common" value="2.2.11.GA"/>
+ <property name="version.jboss.ejb3.test" value="1.0.0"/>
+ <property name="version.jboss.integration" value="5.1.0.CR1"/>
<property name="version.jboss.logging" value="2.0.5.GA"/>
- <property name="version.jboss.managed" value="2.0.0.GA"/>
- <property name="version.jboss.mc.aop-int" value="2.0.2.GA"/>
- <property name="version.jboss.mc.dependency" value="2.0.2.GA"/>
- <property name="version.jboss.mc.kernel" value="2.0.2.GA"/>
+ <property name="version.jboss.managed" value="2.1.0.CR4"/>
+ <property name="version.jboss.mc.aop-int" value="2.0.4.GA"/>
+ <property name="version.jboss.mc.dependency" value="2.0.4.GA"/>
+ <property name="version.jboss.mc.kernel" value="2.0.4.GA"/>
<property name="version.jboss.mdr" value="2.0.1.GA"/>
<property name="version.jboss.metadata" value="1.0.0.CR16"/>
- <property name="version.jboss.naming" value="5.0.0.SP1"/>
+ <property name="version.jboss.naming" value="5.0.1.GA"/>
<property name="version.jboss.reflect" value="2.0.2.GA"/>
<property name="version.jboss.ts" value="4.4.0.GA"/>
- <property name="version.jboss.xb" value="2.0.0.GA"/>
- <property name="version.junit" value="4.4"/>
- <property name="version.oswego-concurrent" value="1.3.4-jboss-update1"/>
+ <property name="version.jboss.xb" value="2.0.1.Beta2"/>
+ <property name="version.junit" value="4.5"/>
<property name="version.transaction.api" value="1.0.1.GA"/>
<property name="version.trove" value="2.1.1"/>
<!-- =================================
Paths
================================= -->
- <path id="lib.path.id">
- <fileset dir="${lib.dir}"/>
+ <path id="standalone.lib.path.id">
+ <fileset dir="${lib.dir}/standalone"/>
<fileset dir="${target.dir}"/>
</path>
+ <path id="test.lib.path.id">
+ <fileset dir="${lib.dir}/test"/>
+ <fileset dir="${target.dir}"/>
+ </path>
+
+ <path id="qe.lib.path.id">
+ <fileset dir="${lib.dir}/qe"/>
+ <fileset dir="${target.dir}"/>
+ </path>
+
<!-- =================================
Target: init
================================= -->
@@ -108,7 +124,7 @@
Target: resolve
================================= -->
<target name="resolve" depends="init">
- <ivy:retrieve/>
+ <ivy:retrieve pattern="${lib.dir}/[conf]/[artifact].[ext]" sync="true"/>
</target>
<!-- =================================
@@ -144,6 +160,21 @@
</target>
<!-- =================================
+ Target: checkstyle
+ ================================= -->
+ <target name="checkstyle" depends="resolve">
+ <taskdef name="checkstyle"
+ classname="com.puppycrawl.tools.checkstyle.CheckStyleTask"
+ classpathref="qe.lib.path.id"/>
+ <checkstyle config="${tools.dir}/checkstyle/checkstyle.xml"
+ failOnViolation="true"
+ classpathref="qe.lib.path.id">
+ <fileset dir="${basedir}"
+ includes="**/*.java"/>
+ </checkstyle>
+ </target>
+
+ <!-- =================================
Target: clean
================================= -->
<target name="clean">
Modified: projects/jboss-jca/trunk/common/build.xml
===================================================================
--- projects/jboss-jca/trunk/common/build.xml 2009-03-12 14:24:16 UTC (rev 85785)
+++ projects/jboss-jca/trunk/common/build.xml 2009-03-12 14:27:07 UTC (rev 85786)
@@ -36,7 +36,7 @@
<javac srcdir="src"
destdir="${build.common.dir}"
- classpathref="lib.path.id"
+ classpathref="standalone.lib.path.id"
debug="${javac.debug}">
<compilerarg value="-Xlint"/>
</javac>
@@ -71,7 +71,7 @@
windowtitle="JBoss JCA Common"
doctitle="JBoss JCA Common"
use="true"
- classpathref="lib.path.id"
+ classpathref="standalone.lib.path.id"
bottom="Copyright © 2008 Red Hat Middleware LLC (http://www.jboss.com/)">
<link offline="true" href="http://java.sun.com/j2se/5/docs/api/" packagelistLoc="${java.home}/../docs/api"/>
</javadoc>
Modified: projects/jboss-jca/trunk/common/src/main/java/org/jboss/jca/common/api/JBossResourceException.java
===================================================================
--- projects/jboss-jca/trunk/common/src/main/java/org/jboss/jca/common/api/JBossResourceException.java 2009-03-12 14:24:16 UTC (rev 85785)
+++ projects/jboss-jca/trunk/common/src/main/java/org/jboss/jca/common/api/JBossResourceException.java 2009-03-12 14:27:07 UTC (rev 85786)
@@ -1,6 +1,6 @@
/*
* JBoss, Home of Professional Open Source.
- * Copyright 2006, Red Hat Middleware LLC, and individual contributors
+ * Copyright 2008-2009, 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.
*
@@ -19,10 +19,11 @@
* 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.common.api;
+import java.io.PrintStream;
import java.io.PrintWriter;
-import java.io.PrintStream;
import java.lang.reflect.UndeclaredThrowableException;
import javax.resource.ResourceException;
Modified: projects/jboss-jca/trunk/common/src/main/java/org/jboss/jca/common/api/ThreadPool.java
===================================================================
--- projects/jboss-jca/trunk/common/src/main/java/org/jboss/jca/common/api/ThreadPool.java 2009-03-12 14:24:16 UTC (rev 85785)
+++ projects/jboss-jca/trunk/common/src/main/java/org/jboss/jca/common/api/ThreadPool.java 2009-03-12 14:27:07 UTC (rev 85786)
@@ -1,8 +1,8 @@
/*
- * JBoss, Home of Professional Open Source
- * Copyright 2008, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008-2009, 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
Modified: projects/jboss-jca/trunk/common/src/main/java/org/jboss/jca/common/threadpool/ThreadPoolImpl.java
===================================================================
--- projects/jboss-jca/trunk/common/src/main/java/org/jboss/jca/common/threadpool/ThreadPoolImpl.java 2009-03-12 14:24:16 UTC (rev 85785)
+++ projects/jboss-jca/trunk/common/src/main/java/org/jboss/jca/common/threadpool/ThreadPoolImpl.java 2009-03-12 14:27:07 UTC (rev 85786)
@@ -1,8 +1,8 @@
/*
- * JBoss, Home of Professional Open Source
- * Copyright 2008, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008-2009, 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
Modified: projects/jboss-jca/trunk/core/build.xml
===================================================================
--- projects/jboss-jca/trunk/core/build.xml 2009-03-12 14:24:16 UTC (rev 85785)
+++ projects/jboss-jca/trunk/core/build.xml 2009-03-12 14:27:07 UTC (rev 85786)
@@ -37,7 +37,7 @@
<javac srcdir="src/main"
destdir="${build.core.dir}/impl"
- classpathref="lib.path.id"
+ classpathref="standalone.lib.path.id"
debug="${javac.debug}"
deprecation="${javac.deprecation}"
optimize="${javac.optimize}">
@@ -73,8 +73,8 @@
windowtitle="JBoss JCA Core"
doctitle="JBoss JCA Core"
use="true"
- classpathref="lib.path.id"
- bottom="Copyright © 2008 Red Hat Middleware LLC (http://www.jboss.com/)">
+ classpathref="standalone.lib.path.id"
+ bottom="Copyright © 2008-2009 Red Hat Middleware LLC (http://www.jboss.com/)">
<link offline="true" href="http://java.sun.com/j2se/5/docs/api/" packagelistLoc="${java.home}/../docs/api"/>
</javadoc>
</target>
@@ -99,7 +99,7 @@
<classpath>
<pathelement location="${build.core.dir}/test"/>
<fileset dir="${target.dir}" includes="*.jar"/>
- <fileset dir="${lib.dir}" includes="*.jar" />
+ <fileset dir="${lib.dir}/test" includes="*.jar" />
</classpath>
<formatter type="plain"/>
@@ -125,7 +125,7 @@
<javac srcdir="src/test"
destdir="${build.core.dir}/test"
- classpathref="lib.path.id"
+ classpathref="test.lib.path.id"
debug="${javac.debug}"
deprecation="${javac.deprecation}"
optimize="${javac.optimize}">
Modified: projects/jboss-jca/trunk/core/src/main/java/org/jboss/jca/core/api/ConnectionManager.java
===================================================================
--- projects/jboss-jca/trunk/core/src/main/java/org/jboss/jca/core/api/ConnectionManager.java 2009-03-12 14:24:16 UTC (rev 85785)
+++ projects/jboss-jca/trunk/core/src/main/java/org/jboss/jca/core/api/ConnectionManager.java 2009-03-12 14:27:07 UTC (rev 85786)
@@ -1,8 +1,8 @@
/*
- * JBoss, Home of Professional Open Source
- * Copyright 2008, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008-2009, 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
Modified: projects/jboss-jca/trunk/core/src/main/java/org/jboss/jca/core/api/WorkManager.java
===================================================================
--- projects/jboss-jca/trunk/core/src/main/java/org/jboss/jca/core/api/WorkManager.java 2009-03-12 14:24:16 UTC (rev 85785)
+++ projects/jboss-jca/trunk/core/src/main/java/org/jboss/jca/core/api/WorkManager.java 2009-03-12 14:27:07 UTC (rev 85786)
@@ -1,8 +1,8 @@
/*
- * JBoss, Home of Professional Open Source
- * Copyright 2008, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008-2009, 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
@@ -22,9 +22,10 @@
package org.jboss.jca.core.api;
+import org.jboss.jca.common.api.ThreadPool;
+
import javax.resource.spi.work.WorkException;
-import org.jboss.jca.common.api.ThreadPool;
import org.jboss.tm.JBossXATerminator;
/**
Modified: projects/jboss-jca/trunk/core/src/main/java/org/jboss/jca/core/api/WorkWrapper.java
===================================================================
--- projects/jboss-jca/trunk/core/src/main/java/org/jboss/jca/core/api/WorkWrapper.java 2009-03-12 14:24:16 UTC (rev 85785)
+++ projects/jboss-jca/trunk/core/src/main/java/org/jboss/jca/core/api/WorkWrapper.java 2009-03-12 14:27:07 UTC (rev 85786)
@@ -1,8 +1,8 @@
/*
- * JBoss, Home of Professional Open Source
- * Copyright 2008, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008-2009, 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
@@ -45,7 +45,7 @@
public class WorkWrapper extends BasicTaskWrapper implements Task
{
/** The log */
- private static final Logger log = Logger.getLogger(WorkWrapper.class);
+ private static Logger log = Logger.getLogger(WorkWrapper.class);
/** Whether we are tracing */
private boolean trace = log.isTraceEnabled();
@@ -80,6 +80,7 @@
* @param workManager the work manager
* @param work the work
* @param waitType the waitType
+ * @param startTimeout the start timeout
* @param executionContext the execution context
* @param workListener the WorkListener
* @throws IllegalArgumentException for null work, execution context or a negative start timeout
Modified: projects/jboss-jca/trunk/core/src/main/java/org/jboss/jca/core/connectionmanager/ConnectionManagerImpl.java
===================================================================
--- projects/jboss-jca/trunk/core/src/main/java/org/jboss/jca/core/connectionmanager/ConnectionManagerImpl.java 2009-03-12 14:24:16 UTC (rev 85785)
+++ projects/jboss-jca/trunk/core/src/main/java/org/jboss/jca/core/connectionmanager/ConnectionManagerImpl.java 2009-03-12 14:27:07 UTC (rev 85786)
@@ -1,8 +1,8 @@
/*
- * JBoss, Home of Professional Open Source
- * Copyright 2008, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008-2009, 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
@@ -22,12 +22,12 @@
package org.jboss.jca.core.connectionmanager;
+import org.jboss.jca.core.api.ConnectionManager;
+
import javax.resource.ResourceException;
+import javax.resource.spi.ConnectionRequestInfo;
import javax.resource.spi.ManagedConnectionFactory;
-import javax.resource.spi.ConnectionRequestInfo;
-import org.jboss.jca.core.api.ConnectionManager;
-
/**
* The JBoss specific connection manager interface
*/
@@ -44,7 +44,11 @@
}
/**
- *
+ * Allocate a connection
+ * @param mcf The managed connection factory
+ * @param cxRequestInfo The connection request info
+ * @return The connection
+ * @throws ResourceException Thrown if an error occurs
*/
public Object allocateConnection(ManagedConnectionFactory mcf,
ConnectionRequestInfo cxRequestInfo)
Modified: projects/jboss-jca/trunk/core/src/main/java/org/jboss/jca/core/workmanager/WorkManagerImpl.java
===================================================================
--- projects/jboss-jca/trunk/core/src/main/java/org/jboss/jca/core/workmanager/WorkManagerImpl.java 2009-03-12 14:24:16 UTC (rev 85785)
+++ projects/jboss-jca/trunk/core/src/main/java/org/jboss/jca/core/workmanager/WorkManagerImpl.java 2009-03-12 14:27:07 UTC (rev 85786)
@@ -1,8 +1,8 @@
/*
- * JBoss, Home of Professional Open Source
- * Copyright 2008, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008-2009, 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
@@ -22,15 +22,16 @@
package org.jboss.jca.core.workmanager;
+import org.jboss.jca.common.api.ThreadPool;
+import org.jboss.jca.core.api.WorkManager;
+import org.jboss.jca.core.api.WorkWrapper;
+
import javax.resource.spi.work.ExecutionContext;
import javax.resource.spi.work.Work;
import javax.resource.spi.work.WorkException;
import javax.resource.spi.work.WorkListener;
import javax.transaction.xa.Xid;
-import org.jboss.jca.common.api.ThreadPool;
-import org.jboss.jca.core.api.WorkManager;
-import org.jboss.jca.core.api.WorkWrapper;
import org.jboss.logging.Logger;
import org.jboss.tm.JBossXATerminator;
import org.jboss.util.threadpool.Task;
@@ -41,7 +42,7 @@
public class WorkManagerImpl implements WorkManager
{
/** The logger */
- private static final Logger log = Logger.getLogger(WorkManagerImpl.class);
+ private static Logger log = Logger.getLogger(WorkManagerImpl.class);
/** Whether trace is enabled */
private boolean trace = log.isTraceEnabled();
@@ -114,7 +115,8 @@
{
if (execContext == null)
execContext = new ExecutionContext();
- WorkWrapper wrapper = new WorkWrapper(this, work, Task.WAIT_FOR_COMPLETE, startTimeout, execContext, workListener);
+ WorkWrapper wrapper =
+ new WorkWrapper(this, work, Task.WAIT_FOR_COMPLETE, startTimeout, execContext, workListener);
importWork(wrapper);
executeWork(wrapper);
if (wrapper.getWorkException() != null)
Modified: projects/jboss-jca/trunk/core/src/test/java/org/jboss/jca/test/core/common/JMX.java
===================================================================
--- projects/jboss-jca/trunk/core/src/test/java/org/jboss/jca/test/core/common/JMX.java 2009-03-12 14:24:16 UTC (rev 85785)
+++ projects/jboss-jca/trunk/core/src/test/java/org/jboss/jca/test/core/common/JMX.java 2009-03-12 14:27:07 UTC (rev 85786)
@@ -39,7 +39,7 @@
// Class Members ------------------------------------------------------------------||
// --------------------------------------------------------------------------------||
- private static final Logger log = Logger.getLogger(JMX.class);
+ private static Logger log = Logger.getLogger(JMX.class);
private MBeanServer mbeanServer;
@@ -47,6 +47,9 @@
// Constructors -------------------------------------------------------------------||
// --------------------------------------------------------------------------------||
+ /**
+ * Constructor
+ */
public JMX()
{
mbeanServer = MBeanServerFactory.createMBeanServer();
Modified: projects/jboss-jca/trunk/core/src/test/java/org/jboss/jca/test/core/common/JavaCompInitializer.java
===================================================================
--- projects/jboss-jca/trunk/core/src/test/java/org/jboss/jca/test/core/common/JavaCompInitializer.java 2009-03-12 14:24:16 UTC (rev 85785)
+++ projects/jboss-jca/trunk/core/src/test/java/org/jboss/jca/test/core/common/JavaCompInitializer.java 2009-03-12 14:27:07 UTC (rev 85786)
@@ -35,12 +35,15 @@
*/
public class JavaCompInitializer extends org.jboss.naming.JavaCompInitializer
{
- private static final Logger log = Logger.getLogger(JavaCompInitializer.class);
+ private static Logger log = Logger.getLogger(JavaCompInitializer.class);
+ /**
+ * Stop
+ */
public void stop()
{
InitialContext ctx = getIniCtx();
- if(ctx == null)
+ if (ctx == null)
return;
try
Modified: projects/jboss-jca/trunk/ivy.xml
===================================================================
--- projects/jboss-jca/trunk/ivy.xml 2009-03-12 14:24:16 UTC (rev 85785)
+++ projects/jboss-jca/trunk/ivy.xml 2009-03-12 14:27:07 UTC (rev 85786)
@@ -31,36 +31,43 @@
<configurations>
<conf name="standalone" transitive="false"/>
+ <conf name="test" extends="standalone" transitive="false"/>
+ <conf name="qe" transitive="false"/>
</configurations>
<dependencies>
- <dependency org="apache-log4j" name="log4j" rev="${version.apache-log4j}"/>
- <dependency org="apache-logging" name="commons-logging" rev="${version.apache-logging}"/>
- <dependency org="javassist" name="javassist" rev="${version.javassist}"/>
- <dependency org="javax.xml" name="jaxb-api" rev="${version.jaxb.api}"/>
- <dependency org="javax.xml" name="jaxb-impl" rev="${version.jaxb.impl}"/>
- <dependency org="jboss.jbossts" name="jbossjta" rev="${version.jboss.ts}"/>
- <dependency org="jboss.jbossts" name="jbossjta-integration" rev="${version.jboss.ts}"/>
- <dependency org="jboss.jbossts" name="jbossts-common" rev="${version.jboss.ts}"/>
- <dependency org="junit" name="junit" rev="${version.junit}"/>
- <dependency org="org.jboss" name="jboss-common-core" rev="${version.jboss.common}"/>
- <dependency org="org.jboss" name="jboss-mdr" rev="${version.jboss.mdr}"/>
- <dependency org="org.jboss" name="jboss-reflect" rev="${version.jboss.reflect}"/>
- <dependency org="org.jboss" name="jbossxb" rev="${version.jboss.xb}"/>
- <dependency org="org.jboss.aop" name="jboss-aop" rev="${version.jboss.aop}"/>
- <dependency org="org.jboss.ejb3" name="jboss-ejb3-test" rev="${version.jboss.ejb3.test}"/>
- <dependency org="org.jboss.integration" name="jboss-integration" rev="${version.jboss.integration}"/>
- <dependency org="org.jboss.javaee" name="jboss-transaction-api" rev="${version.transaction.api}"/>
- <dependency org="org.jboss.logging" name="jboss-logging-log4j" rev="${version.jboss.logging}"/>
- <dependency org="org.jboss.logging" name="jboss-logging-spi" rev="${version.jboss.logging}"/>
- <dependency org="org.jboss.man" name="jboss-managed" rev="${version.jboss.managed}"/>
- <dependency org="org.jboss.metadata" name="jboss-metadata" rev="${version.jboss.metadata}"/>
- <dependency org="org.jboss.microcontainer" name="jboss-aop-mc-int" rev="${version.jboss.mc.aop-int}"/>
- <dependency org="org.jboss.microcontainer" name="jboss-dependency" rev="${version.jboss.mc.dependency}"/>
- <dependency org="org.jboss.microcontainer" name="jboss-kernel" rev="${version.jboss.mc.kernel}"/>
- <dependency org="org.jboss.naming" name="jnpserver" rev="${version.jboss.naming}"/>
- <dependency org="oswego-concurrent" name="concurrent" rev="${version.oswego-concurrent}"/>
- <dependency org="trove" name="trove" rev="${version.trove}"/>
+ <dependency org="antlr" name="antlr" rev="${version.antlr}" conf="qe->default"/>
+ <dependency org="apache-log4j" name="log4j" rev="${version.apache-log4j}" conf="standalone->default"/>
+ <dependency org="apache-logging" name="commons-logging" rev="${version.apache-logging}" conf="standalone->default"/>
+ <dependency org="checkstyle" name="checkstyle" rev="${version.checkstyle}" conf="qe->default"/>
+ <dependency org="commons-beanutils" name="commons-beanutils-core" rev="${version.commons-beanutils}" conf="qe->default"/>
+ <dependency org="commons-cli" name="commons-cli" rev="${version.commons-cli}" conf="qe->default"/>
+ <dependency org="commons-logging" name="commons-logging" rev="${version.commons-logging}" conf="qe->default"/>
+ <dependency org="com.google.code.google-collections" name="google-collect" rev="${version.google-collect}" conf="qe->default"/>
+ <dependency org="javassist" name="javassist" rev="${version.javassist}" conf="standalone->default"/>
+ <dependency org="javax.xml" name="jaxb-api" rev="${version.jaxb.api}" conf="standalone->default"/>
+ <dependency org="javax.xml" name="jaxb-impl" rev="${version.jaxb.impl}" conf="standalone->default"/>
+ <dependency org="jboss.jbossts" name="jbossjta" rev="${version.jboss.ts}" conf="standalone->default"/>
+ <dependency org="jboss.jbossts" name="jbossjta-integration" rev="${version.jboss.ts}" conf="standalone->default"/>
+ <dependency org="jboss.jbossts" name="jbossts-common" rev="${version.jboss.ts}" conf="standalone->default"/>
+ <dependency org="junit" name="junit" rev="${version.junit}" conf="test->default"/>
+ <dependency org="org.jboss" name="jboss-common-core" rev="${version.jboss.common}" conf="standalone->default"/>
+ <dependency org="org.jboss" name="jboss-mdr" rev="${version.jboss.mdr}" conf="standalone->default"/>
+ <dependency org="org.jboss" name="jboss-reflect" rev="${version.jboss.reflect}" conf="standalone->default"/>
+ <dependency org="org.jboss" name="jbossxb" rev="${version.jboss.xb}" conf="standalone->default"/>
+ <dependency org="org.jboss.aop" name="jboss-aop" rev="${version.jboss.aop}" conf="standalone->default"/>
+ <dependency org="org.jboss.ejb3" name="jboss-ejb3-test" rev="${version.jboss.ejb3.test}" conf="standalone->default"/>
+ <dependency org="org.jboss.integration" name="jboss-integration" rev="${version.jboss.integration}" conf="standalone->default"/>
+ <dependency org="org.jboss.javaee" name="jboss-transaction-api" rev="${version.transaction.api}" conf="standalone->default"/>
+ <dependency org="org.jboss.logging" name="jboss-logging-log4j" rev="${version.jboss.logging}" conf="standalone->default"/>
+ <dependency org="org.jboss.logging" name="jboss-logging-spi" rev="${version.jboss.logging}" conf="standalone->default"/>
+ <dependency org="org.jboss.man" name="jboss-managed" rev="${version.jboss.managed}" conf="standalone->default"/>
+ <dependency org="org.jboss.metadata" name="jboss-metadata" rev="${version.jboss.metadata}" conf="standalone->default"/>
+ <dependency org="org.jboss.microcontainer" name="jboss-aop-mc-int" rev="${version.jboss.mc.aop-int}" conf="standalone->default"/>
+ <dependency org="org.jboss.microcontainer" name="jboss-dependency" rev="${version.jboss.mc.dependency}" conf="standalone->default"/>
+ <dependency org="org.jboss.microcontainer" name="jboss-kernel" rev="${version.jboss.mc.kernel}" conf="standalone->default"/>
+ <dependency org="org.jboss.naming" name="jnpserver" rev="${version.jboss.naming}" conf="standalone->default"/>
+ <dependency org="trove" name="trove" rev="${version.trove}" conf="standalone->default"/>
</dependencies>
</ivy-module>
Property changes on: projects/jboss-jca/trunk/lib
___________________________________________________________________
Name: svn:ignore
- *.jar
+ *.jar
standalone
test
qe
Added: projects/jboss-jca/trunk/tools/checkstyle/HEADER
===================================================================
--- projects/jboss-jca/trunk/tools/checkstyle/HEADER (rev 0)
+++ projects/jboss-jca/trunk/tools/checkstyle/HEADER 2009-03-12 14:27:07 UTC (rev 85786)
@@ -0,0 +1,21 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright \d\d\d\d(-\d\d\d\d)?, 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.
+ */
Added: projects/jboss-jca/trunk/tools/checkstyle/checkstyle.xml
===================================================================
--- projects/jboss-jca/trunk/tools/checkstyle/checkstyle.xml (rev 0)
+++ projects/jboss-jca/trunk/tools/checkstyle/checkstyle.xml 2009-03-12 14:27:07 UTC (rev 85786)
@@ -0,0 +1,168 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE module PUBLIC
+ "-//Puppy Crawl//DTD Check Configuration 1.2//EN"
+ "http://www.puppycrawl.com/dtds/configuration_1_2.dtd">
+
+<module name="Checker">
+ <property name="basedir" value="${basedir}"/>
+
+ <module name="TreeWalker">
+
+ <!-- Naming conventions -->
+ <module name="ConstantName">
+ <property name="format" value="^[A-Z](_?[A-Z0-9]+)*$"/>
+ <property name="applyToPublic" value="true"/>
+ <property name="applyToProtected" value="true"/>
+ <property name="applyToPackage" value="true"/>
+ <property name="applyToPrivate" value="false"/>
+ </module>
+ <module name="MethodName">
+ <property name="format" value="^[a-z]([a-zA-Z0-9]+)*$"/>
+ </module>
+ <module name="LocalFinalVariableName">
+ <property name="format" value="^[a-z]([a-zA-Z0-9]+)*$"/>
+ </module>
+ <module name="LocalVariableName">
+ <property name="format" value="^[a-z]([a-zA-Z0-9]+)*$"/>
+ </module>
+ <module name="MemberName">
+ <property name="format" value="^[a-z]([a-zA-Z0-9])*$"/>
+ </module>
+ <module name="ParameterName">
+ <property name="format" value="^[a-z]([a-zA-Z0-9]+)*$"/>
+ </module>
+ <module name="TypeName">
+ <property name="format" value="^[A-Z][a-zA-Z0-9]*$"/>
+ </module>
+ <module name="StaticVariableName">
+ <property name="format" value="^[a-z]([a-zA-Z0-9])*$"/>
+ </module>
+ <module name="PackageName">
+ <property name="format" value="^[a-z]+(\.[a-zA-Z_][a-zA-Z_0-9]*)*$"/>
+ </module>
+
+ <!-- Code layout -->
+ <module name="LeftCurly">
+ <property name="option" value="nl"/>
+ </module>
+ <module name="RightCurly">
+ <property name="option" value="alone"/>
+ </module>
+ <module name="ParenPad"/>
+
+ <!-- Whitespace settings -->
+ <module name="NoWhitespaceAfter"/>
+ <module name="NoWhitespaceBefore"/>
+ <module name="WhitespaceAfter">
+ <property name="tokens" value="COMMA, SEMI"/>
+ </module>
+ <module name="WhitespaceAround"/>
+
+ <!-- JavaDoc guidelines -->
+ <module name="JavadocMethod">
+ <property name="allowUndeclaredRTE" value="true"/>
+ <property name="allowThrowsTagsForSubclasses" value="true"/>
+ <property name="scope" value="package"/>
+ </module>
+ <module name="JavadocVariable">
+ <property name="scope" value="package"/>
+ </module>
+ <module name="JavadocType">
+ <property name="scope" value="package"/>
+ </module>
+ <module name="JavadocPackage">
+ <property name="allowLegacy" value="true"/>
+ </module>
+
+ <!-- JLS -->
+ <module name="ModifierOrder"/>
+ <module name="UpperEll"/>
+
+ <!-- Override hashCode whenever you override equals() -->
+ <module name="EqualsHashCode"/>
+
+ <!-- Illegal instantiations -->
+ <module name="IllegalInstantiation">
+ <property name="classes" value="java.lang.Boolean"/>
+ </module>
+
+ <!-- Don't allow empty blocks -->
+ <module name="EmptyBlock">
+ <property name="option" value="text"/>
+ </module>
+
+ <!-- Avoid inner assignments -->
+ <module name="InnerAssignment"/>
+
+ <!-- Don't allow imports from the sun.* package hierarchy -->
+ <module name="IllegalImport"/>
+
+ <!-- Visibility modifiers -->
+ <module name="VisibilityModifier">
+ <property name="packageAllowed" value ="true"/>
+ <property name="protectedAllowed" value ="true"/>
+ </module>
+
+ <!-- Simplify your code -->
+ <module name="AvoidStarImport"/>
+ <module name="RedundantImport"/>
+ <!-- <module name="UnusedImports"/> -->
+ <module name="SimplifyBooleanExpression"/>
+ <module name="SimplifyBooleanReturn"/>
+
+ <module name="ImportOrder">
+ <property name="groups" value="org.jboss.jca,java,javax,org.jboss"/>
+ <property name="ordered" value="true"/>
+ <property name="separated" value="true"/>
+ </module>
+
+ <!-- Flag reminder comments -->
+ <module name="TodoComment"/>
+
+ <!-- Enforce length limits -->
+ <module name="LineLength">
+ <property name="max" value="120"/>
+ </module>
+ <module name="MethodLength">
+ <property name="tokens" value="METHOD_DEF"/>
+ <property name="max" value="1000"/>
+ </module>
+ <module name="MethodLength">
+ <property name="tokens" value="CTOR_DEF"/>
+ <property name="max" value="150"/>
+ </module>
+ <module name="FileLength">
+ <property name="max" value="10000"/>
+ </module>
+ <module name="ParameterNumber">
+ <property name="max" value="20"/>
+ </module>
+
+ <!-- Don't allow tabs -->
+ <module name="TabCharacter"/>
+
+ <!-- Enforce License Header -->
+ <module name="RegexpHeader">
+ <property name="headerFile" value="${basedir}/tools/checkstyle/HEADER"/>
+ </module>
+
+ <!-- Indentation -->
+ <module name="Indentation">
+ <property name="basicOffset" value="3"/>
+ <property name="caseIndent" value="3"/>
+ </module>
+
+ <!-- StringLiteralEquality -->
+ <module name="StringLiteralEquality"/>
+
+ </module>
+
+ <!-- Enforce package documentation -->
+ <!-- <module name="PackageHtml"/> -->
+
+ <!-- NewlineAtEndOfFile -->
+ <module name="NewlineAtEndOfFile">
+ <property name="lineSeparator" value="lf"/>
+ </module>
+
+</module>
More information about the jboss-cvs-commits
mailing list