[jboss-cvs] JBossAS SVN: r98277 - projects/javaee/tags/jboss-javaee-parent-6.0.0-alpha-1/jboss-jca-api/src/main/javax/resource/spi/work.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Tue Dec 22 11:53:00 EST 2009
Author: jaikiran
Date: 2009-12-22 11:53:00 -0500 (Tue, 22 Dec 2009)
New Revision: 98277
Removed:
projects/javaee/tags/jboss-javaee-parent-6.0.0-alpha-1/jboss-jca-api/src/main/javax/resource/spi/work/HintsWorkContext.java
Log:
Autoversioning commit: a non-deltaV client made a change to
/projects/javaee/tags/jboss-javaee-parent-6.0.0-alpha-1/jboss-jca-api/src/main/javax/resource/spi/work/HintsWorkContext.java
Deleted: projects/javaee/tags/jboss-javaee-parent-6.0.0-alpha-1/jboss-jca-api/src/main/javax/resource/spi/work/HintsWorkContext.java
===================================================================
--- projects/javaee/tags/jboss-javaee-parent-6.0.0-alpha-1/jboss-jca-api/src/main/javax/resource/spi/work/HintsWorkContext.java 2009-12-22 16:52:51 UTC (rev 98276)
+++ projects/javaee/tags/jboss-javaee-parent-6.0.0-alpha-1/jboss-jca-api/src/main/javax/resource/spi/work/HintsWorkContext.java 2009-12-22 16:53:00 UTC (rev 98277)
@@ -1,94 +0,0 @@
-/*
-* 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.
-*/
-
-package javax.resource.spi.work;
-
-import java.io.Serializable;
-import java.util.Map;
-import java.util.HashMap;
-
-/**
- * A standard {@link WorkContext WorkContext} that allows a {@link Work
- * Work} instance to propagate quality-of-service (QoS) hints about the
- * {@link Work Work} to the <code>WorkManager</code>.
- *
- * @since 1.6
- * @see javax.resource.spi.work.WorkContextProvider
- * @version JSR322-PublicReview
- */
-
-public class HintsWorkContext implements WorkContext {
- String description = "Hints Inflow Context";
- String name = "HintsWorkContext";
-
- /**
- * {@inheritDoc}
- */
- public String getDescription() {
- return description;
- }
-
- /**
- * {@inheritDoc}
- */
- public String getName() {
- return name;
- }
-
- /**
- * Set a brief description of the role played by the instance of
- * HintsWorkContext and any other related debugging information.
- *
- * This could be used by the resource adapter and the WorkManager
- * for logging and debugging purposes.
- */
- public void setDescription(String description){
- this.description = description;
- }
-
- /**
- * Set the associated name of the HintsWorkContext. This
- * could be used by the resource adapter and the WorkManager
- * for logging and debugging purposes.
- */
- 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.
- *
- */
- public void setHint(String hintName, Serializable value) {
- hints.put(hintName, value);
- }
-
- public Map<String, Serializable> getHints() {
- return hints;
- }
-
-}
More information about the jboss-cvs-commits
mailing list