New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support addition and removal of layers at runtime #7
Comments
Basic PoC; need to take thread-safety into account; also need to verify unloading of classes
Basic PoC; need to take thread-safety into account; also need to verify unloading of classes
Basic PoC; need to take thread-safety into account; also need to verify unloading of classes
Basic PoC; need to take thread-safety into account; also need to verify unloading of classes
Would it make sense to deactivate a later at runtime? Deactivation does not remove the layer as you'd like to keep the layer hierarchy in place. Deactivation "unloads and hides" the classes of that layer. |
What would be your use case for this? Also, if deactiviting implies class unloading, what's the difference to removing it really? If we wanted to something like this, note it'd not imply deactivating the parent layer(s) but child layer(s) of the deactivated one. That is, classloading cannot really triggered explicitly anyways, it'll happen automatically when the last reference is removed (be it from a parent layer (via a service reference) or from a child layer). |
As I understand Layrry's current layer model, if a Layer were to be removed (say the If a layer can be removed it stands to reason a layer can be added, in which case establishing parent-child relationships must be possible. Deactivating/Activating a layer keeps the parent-child relationships in place but removes/adds access to its modules. Honestly I don't know how feasible is this particular scenario, just thought it might be good idea to explore how further down the road this may be taken or perhaps it's a fool's errand. |
No description provided.
The text was updated successfully, but these errors were encountered: