git://wamblee.org
/
utils
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
(no commit message)
[utils]
/
wicket
/
joe
/
src
/
main
/
java
/
org
/
wamblee
/
wicket
/
inject
/
InjectionBehavior.java
diff --git
a/wicket/joe/src/main/java/org/wamblee/wicket/inject/InjectionBehavior.java
b/wicket/joe/src/main/java/org/wamblee/wicket/inject/InjectionBehavior.java
index 3d648c4e8c4da65a9fca7ca3c5997f9812035e5f..659be7a75a3fdbd90cbab7a6be898a8e8cd3fbf7 100644
(file)
--- a/
wicket/joe/src/main/java/org/wamblee/wicket/inject/InjectionBehavior.java
+++ b/
wicket/joe/src/main/java/org/wamblee/wicket/inject/InjectionBehavior.java
@@
-21,27
+21,28
@@
import org.wamblee.inject.InjectorBuilder;
/**
* Injection behavior that performs dependency injection after
/**
* Injection behavior that performs dependency injection after
- * serialization/deserialisation of the object.
+ * serialization/deserialisation of the object.
*
* @author Erik Brakkee
*
* @author Erik Brakkee
- *
+ *
*/
public class InjectionBehavior extends AbstractBehavior {
*/
public class InjectionBehavior extends AbstractBehavior {
+ private static final long serialVersionUID = 7363393083209418693L;
private transient boolean injectionUptodate;
private transient boolean injectionUptodate;
-
+
/**
* Constructs the behavior.
*/
/**
* Constructs the behavior.
*/
- public InjectionBehavior() {
- injectionUptodate = true;
+ public InjectionBehavior() {
+ injectionUptodate = true;
}
}
-
+
@Override
public void beforeRender(Component aComponent) {
@Override
public void beforeRender(Component aComponent) {
- if (!injectionUptodate) {
+ if (!injectionUptodate) {
InjectorBuilder.getInjector().inject(aComponent);
InjectorBuilder.getInjector().inject(aComponent);
- injectionUptodate = true;
+ injectionUptodate = true;
}
}
}
}
}
}