You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@tiles.apache.org by "Antonio Petrelli (JIRA)" <ji...@apache.org> on 2007/04/26 10:01:43 UTC

[jira] Created: (TILES-164) Refactor class name configuration constants

Refactor class name configuration constants
-------------------------------------------

                 Key: TILES-164
                 URL: https://issues.apache.org/struts/browse/TILES-164
             Project: Tiles
          Issue Type: Improvement
          Components: tiles-core
    Affects Versions: 2.0.3
            Reporter: Antonio Petrelli
         Assigned To: Antonio Petrelli
             Fix For: 2.0.4


Currently, some String constants that represent configuration parameters that allow specifying a class name for a particular interface/base class do not follow the standard, i.e. the name of the parameter must be the name of the interface/base class.
All of these constants must be changed to follow this standard.
The configuration parameters that refer to a particular implementation should be namespaced according to the name of the class that use that parameter.

The  constants to refactor are:

org.apache.tiles.CONTAINER_FACTORY => org.apache.tiles.factory.TilesContainerFactory
org.apache.tiles.CONTAINER_FACTORY.mutable => org.apache.tiles.factory.TilesContainerFactory.MUTABLE
org.apache.tiles.CONTEXT_FACTORY => org.apache.tiles.context.TilesContextFactory
org.apache.tiles.DEFINITIONS_FACTORY => org.apache.tiles.definition.DefinitionsFactory
org.apache.tiles.PREPARER_FACTORY => org.apache.tiles.preparer.PreparerFactory
org.apache.tiles.DEFINITIONS_CONFIG => org.apache.tiles.impl.BasicTilesContainer.DEFINITIONS_CONFIG
definitions-parser-validate => org.apache.tiles.definition.digester.DigesterDefinitionsReader.PARSER_VALIDATE
org.apache.tiles.CONTAINER.keyExtractor => org.apache.tiles.impl.KeyedDefinitionsFactoryTilesContainer.KeyExtractor
org.apache.tiles.CONTAINER.keys => org.apache.tiles.factory.KeyedDefinitionsFactoryTilesContainerFactory.KEYS
org.apache.tiles.DEFINITIONS_CONFIG@${key} => org.apache.tiles.impl.KeyedDefinitionsFactoryTilesContainer@${key}


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (TILES-164) Refactor class name configuration constants

Posted by "Antonio Petrelli (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/struts/browse/TILES-164?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Antonio Petrelli updated TILES-164:
-----------------------------------

    Description: 
Currently, some String constants that represent configuration parameters that allow specifying a class name for a particular interface/base class do not follow the standard, i.e. the name of the parameter must be the name of the interface/base class.
All of these constants must be changed to follow this standard.
The configuration parameters that refer to a particular implementation should be namespaced according to the name of the class that use that parameter.

The  constants to refactor are:

org.apache.tiles.CONTAINER_FACTORY => org.apache.tiles.factory.TilesContainerFactory
org.apache.tiles.CONTAINER_FACTORY.mutable => org.apache.tiles.factory.TilesContainerFactory.MUTABLE
org.apache.tiles.CONTEXT_FACTORY => org.apache.tiles.context.TilesContextFactory
org.apache.tiles.DEFINITIONS_FACTORY => org.apache.tiles.definition.DefinitionsFactory
org.apache.tiles.PREPARER_FACTORY => org.apache.tiles.preparer.PreparerFactory
org.apache.tiles.DEFINITIONS_CONFIG => org.apache.tiles.impl.BasicTilesContainer.DEFINITIONS_CONFIG
definitions-parser-validate => org.apache.tiles.definition.digester.DigesterDefinitionsReader.PARSER_VALIDATE
org.apache.tiles.CONTAINER.keyExtractor => org.apache.tiles.impl.KeyedDefinitionsFactoryTilesContainer.KeyExtractor
org.apache.tiles.CONTAINER.keys => org.apache.tiles.factory.KeyedDefinitionsFactoryTilesContainerFactory.KEYS
org.apache.tiles.DEFINITIONS_CONFIG@${key} => org.apache.tiles.impl.KeyedDefinitionsFactoryTilesContainer.DEFINITIONS_CONFIG@${key}


  was:
Currently, some String constants that represent configuration parameters that allow specifying a class name for a particular interface/base class do not follow the standard, i.e. the name of the parameter must be the name of the interface/base class.
All of these constants must be changed to follow this standard.
The configuration parameters that refer to a particular implementation should be namespaced according to the name of the class that use that parameter.

The  constants to refactor are:

org.apache.tiles.CONTAINER_FACTORY => org.apache.tiles.factory.TilesContainerFactory
org.apache.tiles.CONTAINER_FACTORY.mutable => org.apache.tiles.factory.TilesContainerFactory.MUTABLE
org.apache.tiles.CONTEXT_FACTORY => org.apache.tiles.context.TilesContextFactory
org.apache.tiles.DEFINITIONS_FACTORY => org.apache.tiles.definition.DefinitionsFactory
org.apache.tiles.PREPARER_FACTORY => org.apache.tiles.preparer.PreparerFactory
org.apache.tiles.DEFINITIONS_CONFIG => org.apache.tiles.impl.BasicTilesContainer.DEFINITIONS_CONFIG
definitions-parser-validate => org.apache.tiles.definition.digester.DigesterDefinitionsReader.PARSER_VALIDATE
org.apache.tiles.CONTAINER.keyExtractor => org.apache.tiles.impl.KeyedDefinitionsFactoryTilesContainer.KeyExtractor
org.apache.tiles.CONTAINER.keys => org.apache.tiles.factory.KeyedDefinitionsFactoryTilesContainerFactory.KEYS
org.apache.tiles.DEFINITIONS_CONFIG@${key} => org.apache.tiles.impl.KeyedDefinitionsFactoryTilesContainer@${key}



> Refactor class name configuration constants
> -------------------------------------------
>
>                 Key: TILES-164
>                 URL: https://issues.apache.org/struts/browse/TILES-164
>             Project: Tiles
>          Issue Type: Improvement
>          Components: tiles-core
>    Affects Versions: 2.0.3
>            Reporter: Antonio Petrelli
>         Assigned To: Antonio Petrelli
>             Fix For: 2.0.4
>
>
> Currently, some String constants that represent configuration parameters that allow specifying a class name for a particular interface/base class do not follow the standard, i.e. the name of the parameter must be the name of the interface/base class.
> All of these constants must be changed to follow this standard.
> The configuration parameters that refer to a particular implementation should be namespaced according to the name of the class that use that parameter.
> The  constants to refactor are:
> org.apache.tiles.CONTAINER_FACTORY => org.apache.tiles.factory.TilesContainerFactory
> org.apache.tiles.CONTAINER_FACTORY.mutable => org.apache.tiles.factory.TilesContainerFactory.MUTABLE
> org.apache.tiles.CONTEXT_FACTORY => org.apache.tiles.context.TilesContextFactory
> org.apache.tiles.DEFINITIONS_FACTORY => org.apache.tiles.definition.DefinitionsFactory
> org.apache.tiles.PREPARER_FACTORY => org.apache.tiles.preparer.PreparerFactory
> org.apache.tiles.DEFINITIONS_CONFIG => org.apache.tiles.impl.BasicTilesContainer.DEFINITIONS_CONFIG
> definitions-parser-validate => org.apache.tiles.definition.digester.DigesterDefinitionsReader.PARSER_VALIDATE
> org.apache.tiles.CONTAINER.keyExtractor => org.apache.tiles.impl.KeyedDefinitionsFactoryTilesContainer.KeyExtractor
> org.apache.tiles.CONTAINER.keys => org.apache.tiles.factory.KeyedDefinitionsFactoryTilesContainerFactory.KEYS
> org.apache.tiles.DEFINITIONS_CONFIG@${key} => org.apache.tiles.impl.KeyedDefinitionsFactoryTilesContainer.DEFINITIONS_CONFIG@${key}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (TILES-164) Refactor class name configuration constants

Posted by "Antonio Petrelli (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/struts/browse/TILES-164?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Antonio Petrelli closed TILES-164.
----------------------------------


> Refactor class name configuration constants
> -------------------------------------------
>
>                 Key: TILES-164
>                 URL: https://issues.apache.org/struts/browse/TILES-164
>             Project: Tiles
>          Issue Type: Improvement
>          Components: tiles-core
>    Affects Versions: 2.0.3
>            Reporter: Antonio Petrelli
>            Assignee: Antonio Petrelli
>             Fix For: 2.0.4
>
>
> Currently, some String constants that represent configuration parameters that allow specifying a class name for a particular interface/base class do not follow the standard, i.e. the name of the parameter must be the name of the interface/base class.
> All of these constants must be changed to follow this standard.
> The configuration parameters that refer to a particular implementation should be namespaced according to the name of the class that use that parameter.
> The  constants to refactor are:
> org.apache.tiles.CONTAINER_FACTORY => org.apache.tiles.factory.TilesContainerFactory
> org.apache.tiles.CONTAINER_FACTORY.mutable => org.apache.tiles.factory.TilesContainerFactory.MUTABLE
> org.apache.tiles.CONTEXT_FACTORY => org.apache.tiles.context.TilesContextFactory
> org.apache.tiles.DEFINITIONS_FACTORY => org.apache.tiles.definition.DefinitionsFactory
> org.apache.tiles.PREPARER_FACTORY => org.apache.tiles.preparer.PreparerFactory
> org.apache.tiles.DEFINITIONS_CONFIG => org.apache.tiles.impl.BasicTilesContainer.DEFINITIONS_CONFIG
> definitions-parser-validate => org.apache.tiles.definition.digester.DigesterDefinitionsReader.PARSER_VALIDATE
> org.apache.tiles.CONTAINER.keyExtractor => org.apache.tiles.impl.KeyedDefinitionsFactoryTilesContainer.KeyExtractor
> org.apache.tiles.CONTAINER.keys => org.apache.tiles.factory.KeyedDefinitionsFactoryTilesContainerFactory.KEYS
> org.apache.tiles.DEFINITIONS_CONFIG@${key} => org.apache.tiles.impl.KeyedDefinitionsFactoryTilesContainer.DEFINITIONS_CONFIG@${key}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (TILES-164) Refactor class name configuration constants

Posted by "Antonio Petrelli (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/struts/browse/TILES-164?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Antonio Petrelli resolved TILES-164.
------------------------------------

    Resolution: Fixed

All constants have been refactored.

> Refactor class name configuration constants
> -------------------------------------------
>
>                 Key: TILES-164
>                 URL: https://issues.apache.org/struts/browse/TILES-164
>             Project: Tiles
>          Issue Type: Improvement
>          Components: tiles-core
>    Affects Versions: 2.0.3
>            Reporter: Antonio Petrelli
>         Assigned To: Antonio Petrelli
>             Fix For: 2.0.4
>
>
> Currently, some String constants that represent configuration parameters that allow specifying a class name for a particular interface/base class do not follow the standard, i.e. the name of the parameter must be the name of the interface/base class.
> All of these constants must be changed to follow this standard.
> The configuration parameters that refer to a particular implementation should be namespaced according to the name of the class that use that parameter.
> The  constants to refactor are:
> org.apache.tiles.CONTAINER_FACTORY => org.apache.tiles.factory.TilesContainerFactory
> org.apache.tiles.CONTAINER_FACTORY.mutable => org.apache.tiles.factory.TilesContainerFactory.MUTABLE
> org.apache.tiles.CONTEXT_FACTORY => org.apache.tiles.context.TilesContextFactory
> org.apache.tiles.DEFINITIONS_FACTORY => org.apache.tiles.definition.DefinitionsFactory
> org.apache.tiles.PREPARER_FACTORY => org.apache.tiles.preparer.PreparerFactory
> org.apache.tiles.DEFINITIONS_CONFIG => org.apache.tiles.impl.BasicTilesContainer.DEFINITIONS_CONFIG
> definitions-parser-validate => org.apache.tiles.definition.digester.DigesterDefinitionsReader.PARSER_VALIDATE
> org.apache.tiles.CONTAINER.keyExtractor => org.apache.tiles.impl.KeyedDefinitionsFactoryTilesContainer.KeyExtractor
> org.apache.tiles.CONTAINER.keys => org.apache.tiles.factory.KeyedDefinitionsFactoryTilesContainerFactory.KEYS
> org.apache.tiles.DEFINITIONS_CONFIG@${key} => org.apache.tiles.impl.KeyedDefinitionsFactoryTilesContainer.DEFINITIONS_CONFIG@${key}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.