You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@isis.apache.org by da...@apache.org on 2014/05/26 12:33:08 UTC
[07/12] git commit: ISIS-793: just moving methods around in
IsisWicketApplication (for instantiating IsisWicketModule)
ISIS-793: just moving methods around in IsisWicketApplication (for instantiating IsisWicketModule)
... already protected visibility so can be overridden if required.
Project: http://git-wip-us.apache.org/repos/asf/isis/repo
Commit: http://git-wip-us.apache.org/repos/asf/isis/commit/a14d2d21
Tree: http://git-wip-us.apache.org/repos/asf/isis/tree/a14d2d21
Diff: http://git-wip-us.apache.org/repos/asf/isis/diff/a14d2d21
Branch: refs/heads/master
Commit: a14d2d21786c41c3ef55f878056c9a4eb0410e6a
Parents: fe64d09
Author: Dan Haywood <da...@haywood-associates.co.uk>
Authored: Mon May 26 11:07:59 2014 +0100
Committer: Dan Haywood <da...@haywood-associates.co.uk>
Committed: Mon May 26 11:07:59 2014 +0100
----------------------------------------------------------------------
.../viewer/wicket/viewer/IsisWicketApplication.java | 16 +++++++++-------
1 file changed, 9 insertions(+), 7 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/isis/blob/a14d2d21/component/viewer/wicket/impl/src/main/java/org/apache/isis/viewer/wicket/viewer/IsisWicketApplication.java
----------------------------------------------------------------------
diff --git a/component/viewer/wicket/impl/src/main/java/org/apache/isis/viewer/wicket/viewer/IsisWicketApplication.java b/component/viewer/wicket/impl/src/main/java/org/apache/isis/viewer/wicket/viewer/IsisWicketApplication.java
index b2a9f37..3ff19bc 100644
--- a/component/viewer/wicket/impl/src/main/java/org/apache/isis/viewer/wicket/viewer/IsisWicketApplication.java
+++ b/component/viewer/wicket/impl/src/main/java/org/apache/isis/viewer/wicket/viewer/IsisWicketApplication.java
@@ -479,6 +479,15 @@ public class IsisWicketApplication extends AuthenticatedWebApplication implement
}
}
+ // //////////////////////////////////////
+
+ /**
+ * Override if required
+ */
+ protected Module newIsisWicketModule() {
+ return new IsisWicketModule();
+ }
+
// //////////////////////////////////////
@@ -560,13 +569,6 @@ public class IsisWicketApplication extends AuthenticatedWebApplication implement
getComponentInstantiationListeners().add(new GuiceComponentInjector(this, injector, false));
}
- /**
- * Override if required
- */
- protected Module newIsisWicketModule() {
- return new IsisWicketModule();
- }
-
// /////////////////////////////////////////////////
// Wicket Hooks
// /////////////////////////////////////////////////