This content has been marked as final.
Show 2 replies
-
1. Re: What's KernelControllerContext.install fromState argumen
adrian.brock Mar 19, 2009 5:55 PM (in response to wolfc)"wolfc" wrote:
What does the fromState argument on KernelControllerContext.install actually mean?
Deep down it's ignored.
I would have expected doing kcc.install(DESCRIBED, INSTALLED) twice would result in an IllegalStateException.
That method is for use by the Controller its not meant to be invoked directly.
You are correct that "fromState" is currently ignored (the fromState is just the current state).
It may not be in future when we move to a non-linear state model? -
2. Re: What's KernelControllerContext.install fromState argumen
alesj Mar 20, 2009 4:45 AM (in response to wolfc)"adrian@jboss.org" wrote:
It may not be in future when we move to a non-linear state model?
With the last idea on how to handle non-linear model - keeping a linear sub-path -
I don't think we need it either. I might prove myself wrong when I actually start to impl that. ;-)
But the spi doesn't limit you in writing your own state model,
hence this parameter is completely legit.