Dear all,
from
http://wicketstuff.org/confluence/display/STUFFWIKI/Swarm+FAQ#SwarmFAQ-q4,
the 2 Why is my component (not) being checked for class instantiation?
I have 3 classes(Aaa.class, Bbb.class, Ccc.class), extends from Panel, I
need it to be checked for class instantiation.
According the above link, i did something like that :
setStrategyFactory(new
SwarmStrategyFactory(Aaa.class,getHiveKey()));
setStrategyFactory(new
SwarmStrategyFactory(Bbb.class,getHiveKey()));
setStrategyFactory(new
SwarmStrategyFactory(Ccc.class,getHiveKey()));
There is exception:
java.lang.IllegalStateException: Can not initialize StrategyFactory more
then once
Then I changed it to only one setStrategyFactory, like
setStrategyFactory(new SwarmStrategyFactory(Aaa.class,getHiveKey()));,
it also told me the error, How can I do now? can anyone help me?
thanks in advance
--
View this message in context:
http://www.nabble.com/how-to-let-my-class-being-checked-for-class-instantiation-setStrategyFactory-tp21453114p21453114.html
Sent from the Wicket - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]