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 2008/06/19 21:05:51 UTC

svn commit: r669657 - /tiles/framework/trunk/tiles-core/src/main/java/org/apache/tiles/definition/ReloadableDefinitionsFactory.java

Author: apetrelli
Date: Thu Jun 19 12:05:51 2008
New Revision: 669657

URL: http://svn.apache.org/viewvc?rev=669657&view=rev
Log:
TILES-256
Re-added (this time for real :-) )ReloadableDefinitionsFactory for compatibility.

Added:
    tiles/framework/trunk/tiles-core/src/main/java/org/apache/tiles/definition/ReloadableDefinitionsFactory.java   (with props)

Added: tiles/framework/trunk/tiles-core/src/main/java/org/apache/tiles/definition/ReloadableDefinitionsFactory.java
URL: http://svn.apache.org/viewvc/tiles/framework/trunk/tiles-core/src/main/java/org/apache/tiles/definition/ReloadableDefinitionsFactory.java?rev=669657&view=auto
==============================================================================
--- tiles/framework/trunk/tiles-core/src/main/java/org/apache/tiles/definition/ReloadableDefinitionsFactory.java (added)
+++ tiles/framework/trunk/tiles-core/src/main/java/org/apache/tiles/definition/ReloadableDefinitionsFactory.java Thu Jun 19 12:05:51 2008
@@ -0,0 +1,31 @@
+/*
+ * $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.definition;
+
+/**
+ * Indicates support for reloading Tiles configuration when it changes in {@link DefinitionsFactory}.
+ *
+ * @version $Rev$ $Date$
+ * @deprecated Use {@link Refreshable}.
+ */
+public interface ReloadableDefinitionsFactory extends Refreshable {
+}

Propchange: tiles/framework/trunk/tiles-core/src/main/java/org/apache/tiles/definition/ReloadableDefinitionsFactory.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: tiles/framework/trunk/tiles-core/src/main/java/org/apache/tiles/definition/ReloadableDefinitionsFactory.java
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL



Re: svn commit: r669657 - /tiles/framework/trunk/tiles-core/src/main/java/org/apache/tiles/definition/ReloadableDefinitionsFactory.java

Posted by Antonio Petrelli <an...@gmail.com>.
2008/6/20 Greg Reddin <gr...@gmail.com>:
> On Thu, Jun 19, 2008 at 2:05 PM,  <ap...@apache.org> wrote:
>> URL: http://svn.apache.org/viewvc?rev=669657&view=rev
>> Log:
>> TILES-256
>> Re-added (this time for real :-) )ReloadableDefinitionsFactory for compatibility.
>
> I was racking my brain trying to reconcile an "added" log message with
> a "Removed" action :-)

Blame Subclipse, for some reason it did not add the deprecated
interface the first time, so it removed it before, but I thought that
it wanted to add it.
Anyway, better late than never :-)

>
> I like the refactoring you've done. Thanks for your continued efforts!

My pleasure. In fact I really want to see Tiles in a portal. I talked
about it with a JBoss portal committer (that, in fact, is a colleague
of mine!) that made me notice that JBoss portal use a custom taglib
for layout. It seems like a big opportunity to put Tiles inside it.

Ciao
Antonio

Re: svn commit: r669657 - /tiles/framework/trunk/tiles-core/src/main/java/org/apache/tiles/definition/ReloadableDefinitionsFactory.java

Posted by Greg Reddin <gr...@gmail.com>.
On Thu, Jun 19, 2008 at 2:05 PM,  <ap...@apache.org> wrote:
> URL: http://svn.apache.org/viewvc?rev=669657&view=rev
> Log:
> TILES-256
> Re-added (this time for real :-) )ReloadableDefinitionsFactory for compatibility.

I was racking my brain trying to reconcile an "added" log message with
a "Removed" action :-)

I like the refactoring you've done. Thanks for your continued efforts!

Greg