You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by "Christian Riedel (JIRA)" <ji...@apache.org> on 2013/06/18 12:29:21 UTC

[jira] [Updated] (TAP5-2130) Services interfaces that inherit from "Runnable" cause @Startup methods being called twice

     [ https://issues.apache.org/jira/browse/TAP5-2130?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Christian Riedel updated TAP5-2130:
-----------------------------------

    Description: 
Service interfaces that inherit from "Runnable" and have any contributions will cause Tapestry to
assume all of RegistryStartup's contributions to be matching as well, so they'll be executed
as soon as that custom service's contributions are executed.

{noformat}
public interface AnyService extends Runnable {

    void anything();
}
{noformat}

Related posts in the mailing list:

- http://mail-archives.apache.org/mod_mbox/tapestry-users/201211.mbox/%3CD6AE66BE-0916-4A80-ABDD-B899AFC55514@googlemail.com%3E
- http://mail-archives.apache.org/mod_mbox/tapestry-users/201211.mbox/%3C4186F80B-5A27-4F69-B22F-444093FC2E3F@googlemail.com%3E

  was:
Service interfaces that inherit from "Runnable" and have any contributions will cause Tapestry to
assume all of RegistryStartup's contributions to be matching as well, so they'll be executed
as soon as that custom service's contributions are executed.

{code}
public interface AnyService extends Runnable {

    void anything();
}
{code}

Related posts in the mailing list:

- http://mail-archives.apache.org/mod_mbox/tapestry-users/201211.mbox/%3CD6AE66BE-0916-4A80-ABDD-B899AFC55514@googlemail.com%3E
- http://mail-archives.apache.org/mod_mbox/tapestry-users/201211.mbox/%3C4186F80B-5A27-4F69-B22F-444093FC2E3F@googlemail.com%3E

    
> Services interfaces that inherit from "Runnable" cause @Startup methods being called twice
> ------------------------------------------------------------------------------------------
>
>                 Key: TAP5-2130
>                 URL: https://issues.apache.org/jira/browse/TAP5-2130
>             Project: Tapestry 5
>          Issue Type: Bug
>            Reporter: Christian Riedel
>            Priority: Critical
>
> Service interfaces that inherit from "Runnable" and have any contributions will cause Tapestry to
> assume all of RegistryStartup's contributions to be matching as well, so they'll be executed
> as soon as that custom service's contributions are executed.
> {noformat}
> public interface AnyService extends Runnable {
>     void anything();
> }
> {noformat}
> Related posts in the mailing list:
> - http://mail-archives.apache.org/mod_mbox/tapestry-users/201211.mbox/%3CD6AE66BE-0916-4A80-ABDD-B899AFC55514@googlemail.com%3E
> - http://mail-archives.apache.org/mod_mbox/tapestry-users/201211.mbox/%3C4186F80B-5A27-4F69-B22F-444093FC2E3F@googlemail.com%3E

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira