You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by "Randy Watler (JIRA)" <je...@portals.apache.org> on 2009/04/08 23:58:12 UTC

[jira] Created: (JS2-962) Add logial expression support to Spring bean category filtering

Add logial expression support to Spring bean category filtering
---------------------------------------------------------------

                 Key: JS2-962
                 URL: https://issues.apache.org/jira/browse/JS2-962
             Project: Jetspeed 2
          Issue Type: Improvement
    Affects Versions: 2.2.2
         Environment: J2 Spring Configuration
            Reporter: Randy Watler
            Assignee: Randy Watler
            Priority: Minor


Add logical expression support in place of simple CSV alternate list Spring bean category filtering.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


[jira] Updated: (JS2-962) Add logial expression support to Spring bean category filtering

Posted by "Randy Watler (JIRA)" <je...@portals.apache.org>.
     [ https://issues.apache.org/jira/browse/JS2-962?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Randy Watler updated JS2-962:
-----------------------------

    Affects Version/s:     (was: 2.2.2)
                       2.2.0
        Fix Version/s: 2.2.0

> Add logial expression support to Spring bean category filtering
> ---------------------------------------------------------------
>
>                 Key: JS2-962
>                 URL: https://issues.apache.org/jira/browse/JS2-962
>             Project: Jetspeed 2
>          Issue Type: Improvement
>    Affects Versions: 2.2.0
>         Environment: J2 Spring Configuration
>            Reporter: Randy Watler
>            Assignee: Randy Watler
>            Priority: Minor
>             Fix For: 2.2.0
>
>
> Add logical expression support in place of simple CSV alternate list Spring bean category filtering.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


[jira] Updated: (JS2-962) Add logical expression support to Spring bean category filtering

Posted by "Randy Watler (JIRA)" <je...@portals.apache.org>.
     [ https://issues.apache.org/jira/browse/JS2-962?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Randy Watler updated JS2-962:
-----------------------------

    Summary: Add logical expression support to Spring bean category filtering  (was: Add logial expression support to Spring bean category filtering)

> Add logical expression support to Spring bean category filtering
> ----------------------------------------------------------------
>
>                 Key: JS2-962
>                 URL: https://issues.apache.org/jira/browse/JS2-962
>             Project: Jetspeed 2
>          Issue Type: Improvement
>    Affects Versions: 2.2.0
>         Environment: J2 Spring Configuration
>            Reporter: Randy Watler
>            Assignee: Randy Watler
>            Priority: Minor
>             Fix For: 2.2.0
>
>
> Add logical expression support in place of simple CSV alternate list Spring bean category filtering.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


[jira] Resolved: (JS2-962) Add logical expression support to Spring bean category filtering

Posted by "Randy Watler (JIRA)" <je...@portals.apache.org>.
     [ https://issues.apache.org/jira/browse/JS2-962?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Randy Watler resolved JS2-962.
------------------------------

    Resolution: Fixed

Logical expressions composed of category names have replaced a simple CSV list of alternates syntax for j2:cat spring bean filtering meta tags. Here is a sample of an 'or' expression replacing the CSV list::

    <bean id="cacheManager" class="org.springframework.cache.ehcache.EhCacheManagerFactoryBean">
        <meta key="j2:cat" value="default or cache"/>
        <property name="configLocation" ref="cacheManagerConfig"/>
    </bean>

Here, "default or cache" replaces the old syntax "default,cache".

The CSV list syntax is no longer supported: all J2 categorized spring beans must be upgraded.

The logical expression syntax supports the 'and', 'or', and 'not' operators as well as parens. For example:

not (categoryA or (categoryB and categoryC) and categoryD)

Standard logical operator precedence applies.

SVN commit: 765465

> Add logical expression support to Spring bean category filtering
> ----------------------------------------------------------------
>
>                 Key: JS2-962
>                 URL: https://issues.apache.org/jira/browse/JS2-962
>             Project: Jetspeed 2
>          Issue Type: Improvement
>    Affects Versions: 2.2.0
>         Environment: J2 Spring Configuration
>            Reporter: Randy Watler
>            Assignee: Randy Watler
>            Priority: Minor
>             Fix For: 2.2.0
>
>
> Add logical expression support in place of simple CSV alternate list Spring bean category filtering.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org