You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Martin Grigorov (Created) (JIRA)" <ji...@apache.org> on 2012/03/28 08:56:32 UTC

[jira] [Created] (WICKET-4479) Маке ModificationWatcher easier for extending

Маке ModificationWatcher easier for extending
---------------------------------------------

                 Key: WICKET-4479
                 URL: https://issues.apache.org/jira/browse/WICKET-4479
             Project: Wicket
          Issue Type: Improvement
          Components: wicket
    Affects Versions: 6.0.0-beta1
            Reporter: Martin Grigorov
            Assignee: Martin Grigorov
             Fix For: 6.0.0-RC1


org.apache.wicket.util.watch.ModificationWatcher is very well encapsulated and if someone wants to extend it then he will have to copy/paste its code in the new class.
The purpose of this task is to make ModificationWatcher more friendly for sub-classing.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Resolved] (WICKET-4479) Маке ModificationWatcher easier for extending

Posted by "Martin Grigorov (Resolved) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-4479?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Grigorov resolved WICKET-4479.
-------------------------------------

    Resolution: Fixed

Done with rev. 855b6c872c71743826ebe69c44908237a24c2628.

The first user of the improvement is https://github.com/wicketstuff/core/blob/master/jdk-1.7-parent/wicketstuff-wicket7/src/main/java/org/wicketstuff/wicket7/util/watch/Nio2ModificationWatcher.java

This is a watcher that is being notified when a new file appears in the classpath and notifies MarkupCache to remove its 'miss' entry for this file. This way it is not necessary to restart the application or clean the whole cache with JMX just because MarkupCache says "there is no such markup file".
                
> Маке ModificationWatcher easier for extending
> ---------------------------------------------
>
>                 Key: WICKET-4479
>                 URL: https://issues.apache.org/jira/browse/WICKET-4479
>             Project: Wicket
>          Issue Type: Improvement
>          Components: wicket
>    Affects Versions: 6.0.0-beta1
>            Reporter: Martin Grigorov
>            Assignee: Martin Grigorov
>             Fix For: 6.0.0-RC1
>
>
> org.apache.wicket.util.watch.ModificationWatcher is very well encapsulated and if someone wants to extend it then he will have to copy/paste its code in the new class.
> The purpose of this task is to make ModificationWatcher more friendly for sub-classing.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira