You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tiles.apache.org by ap...@apache.org on 2009/09/20 14:08:27 UTC

svn commit: r817014 - in /tiles/framework/trunk: tiles-portlet-wildcard/src/main/java/org/apache/tiles/portlet/context/wildcard/ tiles-portlet-wildcard/src/main/java/org/apache/tiles/portlet/wildcard/ tiles-servlet-wildcard/src/main/java/org/apache/til...

Author: apetrelli
Date: Sun Sep 20 12:08:27 2009
New Revision: 817014

URL: http://svn.apache.org/viewvc?rev=817014&view=rev
Log:
TILES-458
tiles-portlet-wildcard and tiles-servlet-wildcard: re-added old packages that now contain only deprecated classes. Fixed @since tags.

Added:
    tiles/framework/trunk/tiles-portlet-wildcard/src/main/java/org/apache/tiles/portlet/context/wildcard/
    tiles/framework/trunk/tiles-portlet-wildcard/src/main/java/org/apache/tiles/portlet/context/wildcard/WildcardPortletTilesApplicationContext.java   (with props)
    tiles/framework/trunk/tiles-portlet-wildcard/src/main/java/org/apache/tiles/portlet/context/wildcard/WildcardPortletTilesApplicationContextFactory.java
      - copied, changed from r817012, tiles/framework/trunk/tiles-portlet-wildcard/src/main/java/org/apache/tiles/portlet/wildcard/WildcardPortletTilesApplicationContextFactory.java
    tiles/framework/trunk/tiles-portlet-wildcard/src/main/java/org/apache/tiles/portlet/context/wildcard/package.html   (with props)
    tiles/framework/trunk/tiles-servlet-wildcard/src/main/java/org/apache/tiles/servlet/context/wildcard/
    tiles/framework/trunk/tiles-servlet-wildcard/src/main/java/org/apache/tiles/servlet/context/wildcard/WildcardServletTilesApplicationContext.java   (with props)
    tiles/framework/trunk/tiles-servlet-wildcard/src/main/java/org/apache/tiles/servlet/context/wildcard/WildcardServletTilesApplicationContextFactory.java
      - copied, changed from r817013, tiles/framework/trunk/tiles-servlet-wildcard/src/main/java/org/apache/tiles/servlet/wildcard/WildcardServletTilesApplicationContextFactory.java
    tiles/framework/trunk/tiles-servlet-wildcard/src/main/java/org/apache/tiles/servlet/context/wildcard/package.html   (with props)
Removed:
    tiles/framework/trunk/tiles-portlet-wildcard/src/main/java/org/apache/tiles/portlet/wildcard/WildcardPortletTilesApplicationContextFactory.java
    tiles/framework/trunk/tiles-servlet-wildcard/src/main/java/org/apache/tiles/servlet/wildcard/WildcardServletTilesApplicationContextFactory.java
Modified:
    tiles/framework/trunk/tiles-portlet-wildcard/src/main/java/org/apache/tiles/portlet/wildcard/WildcardPortletTilesApplicationContext.java
    tiles/framework/trunk/tiles-servlet-wildcard/src/main/java/org/apache/tiles/servlet/wildcard/WildcardServletTilesApplicationContext.java

Added: tiles/framework/trunk/tiles-portlet-wildcard/src/main/java/org/apache/tiles/portlet/context/wildcard/WildcardPortletTilesApplicationContext.java
URL: http://svn.apache.org/viewvc/tiles/framework/trunk/tiles-portlet-wildcard/src/main/java/org/apache/tiles/portlet/context/wildcard/WildcardPortletTilesApplicationContext.java?rev=817014&view=auto
==============================================================================
--- tiles/framework/trunk/tiles-portlet-wildcard/src/main/java/org/apache/tiles/portlet/context/wildcard/WildcardPortletTilesApplicationContext.java (added)
+++ tiles/framework/trunk/tiles-portlet-wildcard/src/main/java/org/apache/tiles/portlet/context/wildcard/WildcardPortletTilesApplicationContext.java Sun Sep 20 12:08:27 2009
@@ -0,0 +1,50 @@
+/*
+ * $Id$
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  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.
+ */
+
+package org.apache.tiles.portlet.context.wildcard;
+
+import javax.portlet.PortletContext;
+
+/**
+ * Portlet-based implementation of the TilesApplicationContext interface that
+ * can resolve resources even using wildcards.
+ *
+ * @version $Rev$ $Date$
+ * @since 2.1.0
+ * @deprecated Use {@link org.apache.tiles.portlet.wildcard.WildcardPortletTilesApplicationContext}.
+ */
+public class WildcardPortletTilesApplicationContext extends
+        org.apache.tiles.portlet.wildcard.WildcardPortletTilesApplicationContext {
+
+    /**
+     * Constructor.
+     *
+     * @param portletContext The portlet context.
+     * @since 2.1.0
+     * @deprecated Use
+     * {@link org.apache.tiles.portlet.wildcard.WildcardPortletTilesApplicationContext
+     * #WildcardPortletTilesApplicationContext(PortletContext)}
+     * .
+     */
+    public WildcardPortletTilesApplicationContext(PortletContext portletContext) {
+        super(portletContext);
+    }
+}

Propchange: tiles/framework/trunk/tiles-portlet-wildcard/src/main/java/org/apache/tiles/portlet/context/wildcard/WildcardPortletTilesApplicationContext.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: tiles/framework/trunk/tiles-portlet-wildcard/src/main/java/org/apache/tiles/portlet/context/wildcard/WildcardPortletTilesApplicationContext.java
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL

Copied: tiles/framework/trunk/tiles-portlet-wildcard/src/main/java/org/apache/tiles/portlet/context/wildcard/WildcardPortletTilesApplicationContextFactory.java (from r817012, tiles/framework/trunk/tiles-portlet-wildcard/src/main/java/org/apache/tiles/portlet/wildcard/WildcardPortletTilesApplicationContextFactory.java)
URL: http://svn.apache.org/viewvc/tiles/framework/trunk/tiles-portlet-wildcard/src/main/java/org/apache/tiles/portlet/context/wildcard/WildcardPortletTilesApplicationContextFactory.java?p2=tiles/framework/trunk/tiles-portlet-wildcard/src/main/java/org/apache/tiles/portlet/context/wildcard/WildcardPortletTilesApplicationContextFactory.java&p1=tiles/framework/trunk/tiles-portlet-wildcard/src/main/java/org/apache/tiles/portlet/wildcard/WildcardPortletTilesApplicationContextFactory.java&r1=817012&r2=817014&rev=817014&view=diff
==============================================================================
--- tiles/framework/trunk/tiles-portlet-wildcard/src/main/java/org/apache/tiles/portlet/wildcard/WildcardPortletTilesApplicationContextFactory.java (original)
+++ tiles/framework/trunk/tiles-portlet-wildcard/src/main/java/org/apache/tiles/portlet/context/wildcard/WildcardPortletTilesApplicationContextFactory.java Sun Sep 20 12:08:27 2009
@@ -19,12 +19,13 @@
  * under the License.
  */
 
-package org.apache.tiles.portlet.wildcard;
+package org.apache.tiles.portlet.context.wildcard;
 
 import javax.portlet.PortletContext;
 
 import org.apache.tiles.TilesApplicationContext;
 import org.apache.tiles.portlet.context.PortletTilesApplicationContextFactory;
+import org.apache.tiles.portlet.wildcard.WildcardPortletTilesApplicationContext;
 
 /**
  * In the {@link #createApplicationContext(Object)} method creates an instance

Added: tiles/framework/trunk/tiles-portlet-wildcard/src/main/java/org/apache/tiles/portlet/context/wildcard/package.html
URL: http://svn.apache.org/viewvc/tiles/framework/trunk/tiles-portlet-wildcard/src/main/java/org/apache/tiles/portlet/context/wildcard/package.html?rev=817014&view=auto
==============================================================================
--- tiles/framework/trunk/tiles-portlet-wildcard/src/main/java/org/apache/tiles/portlet/context/wildcard/package.html (added)
+++ tiles/framework/trunk/tiles-portlet-wildcard/src/main/java/org/apache/tiles/portlet/context/wildcard/package.html Sun Sep 20 12:08:27 2009
@@ -0,0 +1,34 @@
+<!--
+/*
+ * $Id$
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  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.
+ */
+-->
+<html>
+<head>
+    <title>Deprecated package for Tiles portlet-specific context package with wildcard support</title>
+</head>
+<body>
+<p>This package contains deprecated classes and interfaces that allow to access the various contexts from a portlet
+application. These classes can manage resource getting through the use of
+Spring-like wildcards patterns.
+</p>
+<p>Please use org.apache.tiles.portlet.wildcard package.</p>
+</body>
+</html>
\ No newline at end of file

Propchange: tiles/framework/trunk/tiles-portlet-wildcard/src/main/java/org/apache/tiles/portlet/context/wildcard/package.html
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: tiles/framework/trunk/tiles-portlet-wildcard/src/main/java/org/apache/tiles/portlet/context/wildcard/package.html
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL

Modified: tiles/framework/trunk/tiles-portlet-wildcard/src/main/java/org/apache/tiles/portlet/wildcard/WildcardPortletTilesApplicationContext.java
URL: http://svn.apache.org/viewvc/tiles/framework/trunk/tiles-portlet-wildcard/src/main/java/org/apache/tiles/portlet/wildcard/WildcardPortletTilesApplicationContext.java?rev=817014&r1=817013&r2=817014&view=diff
==============================================================================
--- tiles/framework/trunk/tiles-portlet-wildcard/src/main/java/org/apache/tiles/portlet/wildcard/WildcardPortletTilesApplicationContext.java (original)
+++ tiles/framework/trunk/tiles-portlet-wildcard/src/main/java/org/apache/tiles/portlet/wildcard/WildcardPortletTilesApplicationContext.java Sun Sep 20 12:08:27 2009
@@ -38,7 +38,7 @@
  * can resolve resources even using wildcards.
  *
  * @version $Rev$ $Date$
- * @since 2.1.0
+ * @since 2.2.1
  */
 public class WildcardPortletTilesApplicationContext extends
         PortletTilesApplicationContext {
@@ -46,7 +46,7 @@
     /**
      * The pattern resolver.
      *
-     * @since 2.1.0
+     * @since 2.2.1
      */
     protected ResourcePatternResolver resolver;
 
@@ -54,7 +54,7 @@
      * Constructor.
      *
      * @param portletContext The portlet context.
-     * @since 2.1.0
+     * @since 2.2.1
      */
     public WildcardPortletTilesApplicationContext(PortletContext portletContext) {
         super(portletContext);

Added: tiles/framework/trunk/tiles-servlet-wildcard/src/main/java/org/apache/tiles/servlet/context/wildcard/WildcardServletTilesApplicationContext.java
URL: http://svn.apache.org/viewvc/tiles/framework/trunk/tiles-servlet-wildcard/src/main/java/org/apache/tiles/servlet/context/wildcard/WildcardServletTilesApplicationContext.java?rev=817014&view=auto
==============================================================================
--- tiles/framework/trunk/tiles-servlet-wildcard/src/main/java/org/apache/tiles/servlet/context/wildcard/WildcardServletTilesApplicationContext.java (added)
+++ tiles/framework/trunk/tiles-servlet-wildcard/src/main/java/org/apache/tiles/servlet/context/wildcard/WildcardServletTilesApplicationContext.java Sun Sep 20 12:08:27 2009
@@ -0,0 +1,50 @@
+/*
+ * $Id$
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  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.
+ */
+
+package org.apache.tiles.servlet.context.wildcard;
+
+import javax.servlet.ServletContext;
+
+/**
+ * Servlet-based implementation of the TilesApplicationContext interface that
+ * can resolve resources even using wildcards.
+ *
+ * @version $Rev$ $Date$
+ * @since 2.1.0
+ * @deprecated Use {@link org.apache.tiles.servlet.wildcard.WildcardServletTilesApplicationContext}.
+ */
+public class WildcardServletTilesApplicationContext extends
+        org.apache.tiles.servlet.wildcard.WildcardServletTilesApplicationContext {
+
+    /**
+     * Constructor.
+     *
+     * @param servletContext The servlet context.
+     * @since 2.1.0
+     * @deprecated Use
+     * {@link WildcardServletTilesApplicationContext
+     * #WildcardServletTilesApplicationContext(ServletContext)}
+     * .
+     */
+    public WildcardServletTilesApplicationContext(ServletContext servletContext) {
+        super(servletContext);
+    }
+}

Propchange: tiles/framework/trunk/tiles-servlet-wildcard/src/main/java/org/apache/tiles/servlet/context/wildcard/WildcardServletTilesApplicationContext.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: tiles/framework/trunk/tiles-servlet-wildcard/src/main/java/org/apache/tiles/servlet/context/wildcard/WildcardServletTilesApplicationContext.java
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL

Copied: tiles/framework/trunk/tiles-servlet-wildcard/src/main/java/org/apache/tiles/servlet/context/wildcard/WildcardServletTilesApplicationContextFactory.java (from r817013, tiles/framework/trunk/tiles-servlet-wildcard/src/main/java/org/apache/tiles/servlet/wildcard/WildcardServletTilesApplicationContextFactory.java)
URL: http://svn.apache.org/viewvc/tiles/framework/trunk/tiles-servlet-wildcard/src/main/java/org/apache/tiles/servlet/context/wildcard/WildcardServletTilesApplicationContextFactory.java?p2=tiles/framework/trunk/tiles-servlet-wildcard/src/main/java/org/apache/tiles/servlet/context/wildcard/WildcardServletTilesApplicationContextFactory.java&p1=tiles/framework/trunk/tiles-servlet-wildcard/src/main/java/org/apache/tiles/servlet/wildcard/WildcardServletTilesApplicationContextFactory.java&r1=817013&r2=817014&rev=817014&view=diff
==============================================================================
--- tiles/framework/trunk/tiles-servlet-wildcard/src/main/java/org/apache/tiles/servlet/wildcard/WildcardServletTilesApplicationContextFactory.java (original)
+++ tiles/framework/trunk/tiles-servlet-wildcard/src/main/java/org/apache/tiles/servlet/context/wildcard/WildcardServletTilesApplicationContextFactory.java Sun Sep 20 12:08:27 2009
@@ -19,7 +19,7 @@
  * under the License.
  */
 
-package org.apache.tiles.servlet.wildcard;
+package org.apache.tiles.servlet.context.wildcard;
 
 import java.util.Map;
 
@@ -28,6 +28,7 @@
 import org.apache.tiles.Initializable;
 import org.apache.tiles.TilesApplicationContext;
 import org.apache.tiles.context.AbstractTilesApplicationContextFactory;
+import org.apache.tiles.servlet.wildcard.WildcardServletTilesApplicationContext;
 
 /**
  * In the {@link #createApplicationContext(Object)} method creates an instance

Added: tiles/framework/trunk/tiles-servlet-wildcard/src/main/java/org/apache/tiles/servlet/context/wildcard/package.html
URL: http://svn.apache.org/viewvc/tiles/framework/trunk/tiles-servlet-wildcard/src/main/java/org/apache/tiles/servlet/context/wildcard/package.html?rev=817014&view=auto
==============================================================================
--- tiles/framework/trunk/tiles-servlet-wildcard/src/main/java/org/apache/tiles/servlet/context/wildcard/package.html (added)
+++ tiles/framework/trunk/tiles-servlet-wildcard/src/main/java/org/apache/tiles/servlet/context/wildcard/package.html Sun Sep 20 12:08:27 2009
@@ -0,0 +1,34 @@
+<!--
+/*
+ * $Id$
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  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.
+ */
+-->
+<html>
+<head>
+    <title>Deprecated package for Tiles servlet-specific context package with wildcard support</title>
+</head>
+<body>
+<p>This package contains deprecated classes and interfaces that allow to access the various contexts from a servlet
+application. These classes can manage resource getting through the use of
+Spring-like wildcards patterns.
+</p>
+<p>Please use org.apache.tiles.servlet.wildcard package.</p>
+</body>
+</html>
\ No newline at end of file

Propchange: tiles/framework/trunk/tiles-servlet-wildcard/src/main/java/org/apache/tiles/servlet/context/wildcard/package.html
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: tiles/framework/trunk/tiles-servlet-wildcard/src/main/java/org/apache/tiles/servlet/context/wildcard/package.html
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL

Modified: tiles/framework/trunk/tiles-servlet-wildcard/src/main/java/org/apache/tiles/servlet/wildcard/WildcardServletTilesApplicationContext.java
URL: http://svn.apache.org/viewvc/tiles/framework/trunk/tiles-servlet-wildcard/src/main/java/org/apache/tiles/servlet/wildcard/WildcardServletTilesApplicationContext.java?rev=817014&r1=817013&r2=817014&view=diff
==============================================================================
--- tiles/framework/trunk/tiles-servlet-wildcard/src/main/java/org/apache/tiles/servlet/wildcard/WildcardServletTilesApplicationContext.java (original)
+++ tiles/framework/trunk/tiles-servlet-wildcard/src/main/java/org/apache/tiles/servlet/wildcard/WildcardServletTilesApplicationContext.java Sun Sep 20 12:08:27 2009
@@ -38,7 +38,7 @@
  * can resolve resources even using wildcards.
  *
  * @version $Rev$ $Date$
- * @since 2.1.0
+ * @since 2.2.1
  */
 public class WildcardServletTilesApplicationContext extends
         ServletTilesApplicationContext {
@@ -46,7 +46,7 @@
     /**
      * The pattern resolver.
      *
-     * @since 2.1.0
+     * @since 2.2.1
      */
     protected ResourcePatternResolver resolver;
 
@@ -54,7 +54,7 @@
      * Constructor.
      *
      * @param servletContext The servlet context.
-     * @since 2.1.0
+     * @since 2.2.1
      */
     public WildcardServletTilesApplicationContext(ServletContext servletContext) {
         super(servletContext);