You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by "Howard M. Lewis Ship (JIRA)" <ji...@apache.org> on 2011/08/29 14:17:37 UTC
[jira] [Commented] (TAP5-1622) ServiceOverride does not work on
GAEJ 1.5.3
[ https://issues.apache.org/jira/browse/TAP5-1622?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13092801#comment-13092801 ]
Howard M. Lewis Ship commented on TAP5-1622:
--------------------------------------------
Please enable logging to see what modules are loaded. The most likely situation is that the module containing this snippet is not being loaded.
> ServiceOverride does not work on GAEJ 1.5.3
> -------------------------------------------
>
> Key: TAP5-1622
> URL: https://issues.apache.org/jira/browse/TAP5-1622
> Project: Tapestry 5
> Issue Type: Bug
> Reporter: ag
> Priority: Critical
>
> Service override codes -
> @Contribute(ServiceOverride.class)
> public static void setupApplicationServiceOverrides(MappedConfiguration<Class,Object> configuration) {
> System.out.println("AppModule setupApplicationServiceOverrides() ...");
> configuration.add(PeriodicExecutor.class, new PeriodicExecutor() {
> public PeriodicJob addJob(Schedule schedule, String name, Runnable job) {
> System.out.println("AppModule createNOOPPeriodicExecutor() returning null.");
> return null;
> }
> });
> }
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira