abdera-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jmsn...@apache.org
Subject svn commit: r613766 - /incubator/abdera/java/trunk/protocol/src/main/java/org/apache/abdera/protocol/util/AbstractItemManager.java
Date Mon, 21 Jan 2008 05:35:52 GMT
Author: jmsnell
Date: Sun Jan 20 21:35:40 2008
New Revision: 613766

URL: http://svn.apache.org/viewvc?rev=613766&view=rev
Log:
Makes more sense for this to be here than in the server module

Added:
    incubator/abdera/java/trunk/protocol/src/main/java/org/apache/abdera/protocol/util/AbstractItemManager.java

Added: incubator/abdera/java/trunk/protocol/src/main/java/org/apache/abdera/protocol/util/AbstractItemManager.java
URL: http://svn.apache.org/viewvc/incubator/abdera/java/trunk/protocol/src/main/java/org/apache/abdera/protocol/util/AbstractItemManager.java?rev=613766&view=auto
==============================================================================
--- incubator/abdera/java/trunk/protocol/src/main/java/org/apache/abdera/protocol/util/AbstractItemManager.java
(added)
+++ incubator/abdera/java/trunk/protocol/src/main/java/org/apache/abdera/protocol/util/AbstractItemManager.java
Sun Jan 20 21:35:40 2008
@@ -0,0 +1,39 @@
+/*
+* Licensed to the Apache Software Foundation (ASF) under one or more
+* contributor license agreements.  The ASF licenses this file to You
+* under the Apache License, Version 2.0 (the "License"); you may not
+* use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+*     http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.  For additional information regarding
+* copyright in this work, please see the NOTICE file in the top level
+* directory of this distribution.
+*/
+package org.apache.abdera.protocol.util;
+
+import org.apache.abdera.protocol.ItemManager;
+import org.apache.abdera.protocol.Request;
+
+public abstract class AbstractItemManager<T>
+  extends PoolManager<T>
+  implements ItemManager<T> {
+
+  public AbstractItemManager() {
+    super();
+  }
+
+  public AbstractItemManager(int max) {
+    super(max);
+  }
+
+  public T get(Request request) {
+    return getInstance();
+  }
+
+}



Mime
View raw message