[jboss-cvs] JBossAS SVN: r93070 - in projects/jboss-jca/trunk: api/src/main/java/javax/resource/spi and 3 other directories.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Tue Sep 1 09:36:49 EDT 2009
Author: jesper.pedersen
Date: 2009-09-01 09:36:48 -0400 (Tue, 01 Sep 2009)
New Revision: 93070
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/ConnectionFactory.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/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/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/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/ResourceAdapter.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/security/GenericCredential.java
projects/jboss-jca/trunk/sjc/src/main/java/org/jboss/jca/sjc/deployers/ra/RADeployment.java
Log:
[JBJCA-160] Clean up checkstyle for the JCA API
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-09-01 12:29:07 UTC (rev 93069)
+++ projects/jboss-jca/trunk/api/src/main/java/javax/resource/cci/Connection.java 2009-09-01 13:36:48 UTC (rev 93070)
@@ -22,7 +22,6 @@
package javax.resource.cci;
-import javax.resource.NotSupportedException;
import javax.resource.ResourceException;
@@ -65,7 +64,7 @@
* @throws ResourceException Failed to return a LocalTransaction
* instance because of a resource
* adapter error
- * @throws NotSupportedException Demarcation of Resource manager
+ * @throws javax.resource.NotSupportedException Demarcation of Resource manager
* local transactions is not supported
* on this Connection
* @see javax.resource.cci.LocalTransaction
@@ -91,7 +90,7 @@
* @return ResultSetInfo instance
* @throws ResourceException Failed to get ResultSet related
* information
- * @throws NotSupportedException ResultSet functionality is not
+ * @throws javax.resource.NotSupportedException ResultSet functionality is not
* supported
**/
public ResultSetInfo getResultSetInfo() throws ResourceException;
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-09-01 12:29:07 UTC (rev 93069)
+++ projects/jboss-jca/trunk/api/src/main/java/javax/resource/cci/ConnectionFactory.java 2009-09-01 13:36:48 UTC (rev 93070)
@@ -22,9 +22,6 @@
package javax.resource.cci;
-import java.io.PrintWriter;
-
-import javax.resource.NotSupportedException;
import javax.resource.ResourceException;
/** <code>ConnectionFactory</code> provides an interface for getting
@@ -118,7 +115,7 @@
* @return RecordFactory RecordFactory instance
*
* @throws ResourceException Failed to create a RecordFactory
- * @throws NotSupportedException Operation not supported
+ * @throws javax.resource.NotSupportedException Operation not supported
**/
public RecordFactory getRecordFactory() throws ResourceException;
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-09-01 12:29:07 UTC (rev 93069)
+++ projects/jboss-jca/trunk/api/src/main/java/javax/resource/cci/Interaction.java 2009-09-01 13:36:48 UTC (rev 93070)
@@ -22,7 +22,6 @@
package javax.resource.cci;
-import javax.resource.NotSupportedException;
import javax.resource.ResourceException;
@@ -98,7 +97,7 @@
* <LI> Invalid connection associated with this
* Interaction
* </UL>
- * @throws NotSupportedException Operation not supported
+ * @throws javax.resource.NotSupportedException Operation not supported
*
**/
public boolean execute(InteractionSpec ispec,
@@ -129,7 +128,7 @@
* <LI> Invalid connection associated with this
* Interaction
* </UL>
- * @throws NotSupportedException Operation not supported
+ * @throws javax.resource.NotSupportedException Operation not supported
**/
public Record execute(InteractionSpec ispec,
Record input)
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-09-01 12:29:07 UTC (rev 93069)
+++ projects/jboss-jca/trunk/api/src/main/java/javax/resource/cci/InteractionSpec.java 2009-09-01 13:36:48 UTC (rev 93070)
@@ -75,7 +75,7 @@
* @see javax.resource.cci.Interaction
**/
-public interface InteractionSpec extends java.io.Serializable
+public interface InteractionSpec extends Serializable
{
/**Interaction Verb type: The execution of an Interaction does only a
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-09-01 12:29:07 UTC (rev 93069)
+++ projects/jboss-jca/trunk/api/src/main/java/javax/resource/cci/RecordFactory.java 2009-09-01 13:36:48 UTC (rev 93070)
@@ -22,10 +22,6 @@
package javax.resource.cci;
-import java.util.Collection;
-import java.util.Map;
-
-import javax.resource.NotSupportedException;
import javax.resource.ResourceException;
@@ -57,7 +53,7 @@
* <LI> Resource adapter internal error
* <LI> Failed to access metadata repository
* </UL>
- * @throws NotSupportedException Operation not supported
+ * @throws javax.resource.NotSupportedException Operation not supported
*
**/
public MappedRecord createMappedRecord(String recordName)
@@ -78,7 +74,7 @@
* <LI> Resource adapter internal error
* <LI> Failed to access metadata repository
* </UL>
- * @throws NotSupportedException Operation not supported
+ * @throws javax.resource.NotSupportedException Operation not supported
**/
public IndexedRecord createIndexedRecord(String recordName)
throws ResourceException;
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-09-01 12:29:07 UTC (rev 93069)
+++ projects/jboss-jca/trunk/api/src/main/java/javax/resource/cci/ResourceAdapterMetaData.java 2009-09-01 13:36:48 UTC (rev 93070)
@@ -22,8 +22,6 @@
package javax.resource.cci;
-import javax.resource.ResourceException;
-
/** The interface <code>javax.resource.cci.ResourceAdapterMetaData</code>
* provides information about capabilities of a resource adapter
* implementation. Note that this interface does not provide information
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-09-01 12:29:07 UTC (rev 93069)
+++ projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/ConnectionEvent.java 2009-09-01 13:36:48 UTC (rev 93070)
@@ -24,8 +24,6 @@
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:
@@ -55,7 +53,7 @@
* @see javax.resource.spi.ConnectionEventListener
*/
-public class ConnectionEvent extends java.util.EventObject
+public class ConnectionEvent extends EventObject
{
/** Event notification that an application component has closed the
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-09-01 12:29:07 UTC (rev 93069)
+++ projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/ConnectionEventListener.java 2009-09-01 13:36:48 UTC (rev 93070)
@@ -24,8 +24,6 @@
import java.util.EventListener;
-import javax.resource.ResourceException;
-
/** The <code>ConnectionEventListener</code> interface provides an event
* callback mechanism to enable an application server to receive
* notifications from a <code>ManagedConnection</code> instance.
@@ -45,7 +43,7 @@
* @see javax.resource.spi.ConnectionEvent
**/
-public interface ConnectionEventListener extends java.util.EventListener
+public interface ConnectionEventListener extends EventListener
{
/** Notifies that an application component has closed the connection.
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-09-01 12:29:07 UTC (rev 93069)
+++ projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/ManagedConnection.java 2009-09-01 13:36:48 UTC (rev 93070)
@@ -22,7 +22,6 @@
package javax.resource.spi;
-import javax.resource.NotSupportedException;
import javax.resource.ResourceException;
import javax.security.auth.Subject;
import javax.transaction.xa.XAResource;
@@ -191,7 +190,7 @@
* @return XAResource instance
*
* @throws ResourceException generic exception if operation fails
- * @throws NotSupportedException if the operation is not supported
+ * @throws javax.resource.NotSupportedException if the operation is not supported
* @throws ResourceAdapterInternalException
* resource adapter internal error condition
**/
@@ -204,7 +203,7 @@
* @return LocalTransaction instance
*
* @throws ResourceException generic exception if operation fails
- * @throws NotSupportedException if the operation is not supported
+ * @throws javax.resource.NotSupportedException if the operation is not supported
* @throws ResourceAdapterInternalException
* resource adapter internal error condition
**/
@@ -218,7 +217,7 @@
* @return ManagedConnectionMetaData instance
*
* @throws ResourceException generic exception if operation fails
- * @throws NotSupportedException if the operation is not supported
+ * @throws javax.resource.NotSupportedException if the operation is not supported
**/
public ManagedConnectionMetaData getMetaData() throws ResourceException;
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-09-01 12:29:07 UTC (rev 93069)
+++ projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/ManagedConnectionFactory.java 2009-09-01 13:36:48 UTC (rev 93070)
@@ -24,7 +24,6 @@
import java.util.Set;
-import javax.resource.NotSupportedException;
import javax.resource.ResourceException;
import javax.security.auth.Subject;
@@ -126,7 +125,7 @@
* @throws SecurityException security related error
* @throws ResourceAdapterInternalException
* resource adapter related error condition
- * @throws NotSupportedException if operation is not supported
+ * @throws javax.resource.NotSupportedException if operation is not supported
*
* @return ManagedConnection if resource adapter finds an
* acceptable match otherwise null
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-09-01 12:29:07 UTC (rev 93069)
+++ projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/ResourceAdapter.java 2009-09-01 13:36:48 UTC (rev 93070)
@@ -22,7 +22,6 @@
package javax.resource.spi;
-import javax.resource.NotSupportedException;
import javax.resource.ResourceException;
import javax.resource.spi.endpoint.MessageEndpointFactory;
import javax.transaction.xa.XAResource;
@@ -94,7 +93,7 @@
* @param spec an activation spec JavaBean instance.
*
* @throws ResourceException Thrown if an error occurs
- * @throws NotSupportedException indicates message endpoint
+ * @throws javax.resource.NotSupportedException indicates message endpoint
* activation rejection due to incorrect activation
* setup information.
*/
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-09-01 12:29:07 UTC (rev 93069)
+++ projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/endpoint/MessageEndpoint.java 2009-09-01 13:36:48 UTC (rev 93070)
@@ -23,10 +23,6 @@
package javax.resource.spi.endpoint;
import javax.resource.ResourceException;
-import javax.resource.spi.ApplicationServerInternalException;
-import javax.resource.spi.IllegalStateException;
-import javax.resource.spi.ResourceAdapterInternalException;
-import javax.resource.spi.UnavailableException;
/**
* This defines a contract for a message endpoint. This is implemented by an
@@ -53,15 +49,15 @@
*
* @throws ResourceException generic exception.
*
- * @throws ApplicationServerInternalException indicates an error
+ * @throws javax.resource.spi.ApplicationServerInternalException indicates an error
* condition in the application server.
*
- * @throws IllegalStateException indicates that the endpoint is in an
+ * @throws javax.resource.spi.IllegalStateException indicates that the endpoint is in an
* illegal state for the method invocation. For example, this occurs when
* <code>beforeDelivery</code> and <code>afterDelivery</code>
* method calls are not paired.
*
- * @throws UnavailableException indicates that the endpoint is not
+ * @throws javax.resource.spi.UnavailableException indicates that the endpoint is not
* available.
*/
void beforeDelivery(java.lang.reflect.Method method)
@@ -72,14 +68,14 @@
*
* @throws ResourceException generic exception.
*
- * @throws ApplicationServerInternalException indicates an error
+ * @throws javax.resource.spi.ApplicationServerInternalException indicates an error
* condition in the application server.
*
- * @throws IllegalStateException indicates that the endpoint is in an
+ * @throws javax.resource.spi.IllegalStateException indicates that the endpoint is in an
* illegal state for the method invocation. For example, this occurs when
* beforeDelivery and afterDelivery method calls are not paired.
*
- * @throws UnavailableException indicates that the endpoint is not
+ * @throws javax.resource.spi.UnavailableException indicates that the endpoint is not
* available.
*/
void afterDelivery() throws ResourceException;
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-09-01 12:29:07 UTC (rev 93069)
+++ projects/jboss-jca/trunk/api/src/main/java/javax/resource/spi/security/GenericCredential.java 2009-09-01 13:36:48 UTC (rev 93070)
@@ -22,8 +22,6 @@
package javax.resource.spi.security;
-import java.security.Principal;
-
import javax.resource.spi.SecurityException;
/** The interface <code>javax.resource.spi.security.GenericCredential</code>
Modified: projects/jboss-jca/trunk/sjc/src/main/java/org/jboss/jca/sjc/deployers/ra/RADeployment.java
===================================================================
--- projects/jboss-jca/trunk/sjc/src/main/java/org/jboss/jca/sjc/deployers/ra/RADeployment.java 2009-09-01 12:29:07 UTC (rev 93069)
+++ projects/jboss-jca/trunk/sjc/src/main/java/org/jboss/jca/sjc/deployers/ra/RADeployment.java 2009-09-01 13:36:48 UTC (rev 93070)
@@ -25,8 +25,8 @@
import org.jboss.jca.sjc.deployers.Deployment;
import java.io.Closeable;
+import java.io.File;
import java.io.IOException;
-import java.io.File;
import org.jboss.logging.Logger;
More information about the jboss-cvs-commits
mailing list