[ 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]