You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@turbine.apache.org by "Thomas Vandahl (JIRA)" <ji...@apache.org> on 2006/06/26 11:18:34 UTC

[jira] Created: (TRB-27) Turbine 2.3.2 compatible Service to use YAAFI instead of the AvalonComponentService

Turbine 2.3.2 compatible Service to use YAAFI instead of the AvalonComponentService
-----------------------------------------------------------------------------------

         Key: TRB-27
         URL: http://issues.apache.org/jira/browse/TRB-27
     Project: Turbine
        Type: Improvement

  Components: Fulcrum  
    Versions: Core 2.3.2    
    Reporter: Thomas Vandahl


I changed a few lines in the TurbineYaafiComponentService to make it run as a Drop-In replacement of the TurbineAvalonComponentService which is based on ECM. To use this, you just need to change the line

services.AvalonComponentService.classname=org.apache.turbine.services.avalon.TurbineAvalonComponentService

into

services.AvalonComponentService.classname=org.apache.turbine.services.yaafi.TurbineYaafiComponentService

and add

services.AvalonComponentService.containerConfiguration = /WEB-INF/conf/containerConfiguration.xml

to the TurbineResources.properties file.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


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


[jira] Updated: (TRB-27) Turbine 2.3.2 compatible Service to use YAAFI instead of the AvalonComponentService

Posted by "Thomas Vandahl (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/TRB-27?page=all ]

Thomas Vandahl updated TRB-27:
------------------------------

    Attachment: ACSYaafiComponentService.java

Just the source for there is no source package for this.

> Turbine 2.3.2 compatible Service to use YAAFI instead of the AvalonComponentService
> -----------------------------------------------------------------------------------
>
>          Key: TRB-27
>          URL: http://issues.apache.org/jira/browse/TRB-27
>      Project: Turbine
>         Type: Improvement

>   Components: Fulcrum
>     Versions: Core 2.3.2
>     Reporter: Thomas Vandahl
>  Attachments: ACSYaafiComponentService.java
>
> I changed a few lines in the TurbineYaafiComponentService to make it run as a Drop-In replacement of the TurbineAvalonComponentService which is based on ECM. To use this, you just need to change the line
> services.AvalonComponentService.classname=org.apache.turbine.services.avalon.TurbineAvalonComponentService
> into
> services.AvalonComponentService.classname=org.apache.turbine.services.yaafi.TurbineYaafiComponentService
> and add
> services.AvalonComponentService.containerConfiguration = /WEB-INF/conf/containerConfiguration.xml
> to the TurbineResources.properties file.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


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


[jira] Commented: (TRB-27) Turbine 2.3.2 compatible Service to use YAAFI instead of the AvalonComponentService

Posted by "Siegfried Goeschl (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/TRB-27?page=comments#action_12417766 ] 

Siegfried Goeschl commented on TRB-27:
--------------------------------------

Since we have discussed the topic early just a quick comment - using the Component interface is deprecated (see http://wiki.apache.org/avalon/ContainerStory and the chapter "How Components Became Services") - in the long run we have to switch back to returning Object instead of Component (as it was done in the original implementation)

> Turbine 2.3.2 compatible Service to use YAAFI instead of the AvalonComponentService
> -----------------------------------------------------------------------------------
>
>          Key: TRB-27
>          URL: http://issues.apache.org/jira/browse/TRB-27
>      Project: Turbine
>         Type: Improvement

>   Components: Fulcrum
>     Versions: Core 2.3.2
>     Reporter: Thomas Vandahl
>  Attachments: ACSYaafiComponentService.java
>
> I changed a few lines in the TurbineYaafiComponentService to make it run as a Drop-In replacement of the TurbineAvalonComponentService which is based on ECM. To use this, you just need to change the line
> services.AvalonComponentService.classname=org.apache.turbine.services.avalon.TurbineAvalonComponentService
> into
> services.AvalonComponentService.classname=org.apache.turbine.services.yaafi.TurbineYaafiComponentService
> and add
> services.AvalonComponentService.containerConfiguration = /WEB-INF/conf/containerConfiguration.xml
> to the TurbineResources.properties file.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


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


[jira] Commented: (TRB-27) Turbine 2.3.2 compatible Service to use YAAFI instead of the AvalonComponentService

Posted by "Jürgen Hoffmann (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/TRB-27?page=comments#action_12417775 ] 

Jürgen Hoffmann commented on TRB-27:
------------------------------------

So what do we return instead of Components then? TurbineServices? Aren't we doing so at the current Stage? ServiceManager.getService(ServiceName) looks a bit Different than ComponentManager.lookup(ComponentName) but if it returns Object is essentially the same, isn't it?

> Turbine 2.3.2 compatible Service to use YAAFI instead of the AvalonComponentService
> -----------------------------------------------------------------------------------
>
>          Key: TRB-27
>          URL: http://issues.apache.org/jira/browse/TRB-27
>      Project: Turbine
>         Type: Improvement

>   Components: Fulcrum
>     Versions: Core 2.3.2
>     Reporter: Thomas Vandahl
>  Attachments: ACSYaafiComponentService.java
>
> I changed a few lines in the TurbineYaafiComponentService to make it run as a Drop-In replacement of the TurbineAvalonComponentService which is based on ECM. To use this, you just need to change the line
> services.AvalonComponentService.classname=org.apache.turbine.services.avalon.TurbineAvalonComponentService
> into
> services.AvalonComponentService.classname=org.apache.turbine.services.yaafi.TurbineYaafiComponentService
> and add
> services.AvalonComponentService.containerConfiguration = /WEB-INF/conf/containerConfiguration.xml
> to the TurbineResources.properties file.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


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


[jira] Resolved: (TRB-27) Turbine 2.3.2 compatible Service to use YAAFI instead of the AvalonComponentService

Posted by "Scott Eade (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TRB-27?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Scott Eade resolved TRB-27.
---------------------------

       Resolution: Fixed
    Fix Version/s: Core 2.3.3
         Assignee: Scott Eade

org.apache.turbine.services.avaloncomponent.ACSYaafiComponentService has been committed to the 2.3 branch along with docs and a basic test case.

> Turbine 2.3.2 compatible Service to use YAAFI instead of the AvalonComponentService
> -----------------------------------------------------------------------------------
>
>                 Key: TRB-27
>                 URL: https://issues.apache.org/jira/browse/TRB-27
>             Project: Turbine
>          Issue Type: Improvement
>          Components: Fulcrum
>    Affects Versions: Core 2.3.2
>            Reporter: Thomas Vandahl
>         Assigned To: Scott Eade
>             Fix For: Core 2.3.3
>
>         Attachments: ACSYaafiComponentService.java
>
>
> I changed a few lines in the TurbineYaafiComponentService to make it run as a Drop-In replacement of the TurbineAvalonComponentService which is based on ECM. To use this, you just need to change the line
> services.AvalonComponentService.classname=org.apache.turbine.services.avalon.TurbineAvalonComponentService
> into
> services.AvalonComponentService.classname=org.apache.turbine.services.yaafi.TurbineYaafiComponentService
> and add
> services.AvalonComponentService.containerConfiguration = /WEB-INF/conf/containerConfiguration.xml
> to the TurbineResources.properties file.

-- 
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: turbine-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-dev-help@jakarta.apache.org


[jira] Commented: (TRB-27) Turbine 2.3.2 compatible Service to use YAAFI instead of the AvalonComponentService

Posted by "Thomas Vandahl (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/TRB-27?page=comments#action_12417785 ] 

Thomas Vandahl commented on TRB-27:
-----------------------------------

This is for Turbine 2.3.2, remember. There, the method AvalonComponentService.lookup returns Component. If I return Object in this case, this would break code which relies on the Component interface. I agree that for Turbine 2.4 this is not an issue, but for 2.3 it is relevant.

> Turbine 2.3.2 compatible Service to use YAAFI instead of the AvalonComponentService
> -----------------------------------------------------------------------------------
>
>          Key: TRB-27
>          URL: http://issues.apache.org/jira/browse/TRB-27
>      Project: Turbine
>         Type: Improvement

>   Components: Fulcrum
>     Versions: Core 2.3.2
>     Reporter: Thomas Vandahl
>  Attachments: ACSYaafiComponentService.java
>
> I changed a few lines in the TurbineYaafiComponentService to make it run as a Drop-In replacement of the TurbineAvalonComponentService which is based on ECM. To use this, you just need to change the line
> services.AvalonComponentService.classname=org.apache.turbine.services.avalon.TurbineAvalonComponentService
> into
> services.AvalonComponentService.classname=org.apache.turbine.services.yaafi.TurbineYaafiComponentService
> and add
> services.AvalonComponentService.containerConfiguration = /WEB-INF/conf/containerConfiguration.xml
> to the TurbineResources.properties file.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


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