Availability and lifecycle of the static scope

I have some code along these lines;


which stored the path to a component to invoke as a service handler. I was hoping to use the static scope rather than the application scope to keep the references private to the static component. However, it seems that the use of the path ‘dependency.core’ prevents the static variables from sticking beyond the initial execution scope.

Can anyone shed some light on the static scopes lifecycle? If this is by design it seems to render the static scope in libraries useless.