src/main/java/js/container/ApplicationScopeFactory.java
@Override
	public void persistInstance(InstanceKey instanceKey, Object instance) {
		// at this point managed class and instance are guaranteed to be non null
		instancesPool.put(instanceKey, instance);
	}
@Override
	public void persistInstance(InstanceKey instanceKey, Object instance) {
		// at this point managed class and instance are guaranteed to be non null
		instancesPool.put(instanceKey, instance);
	}
Persist instance bound to given managed instance key. This method simply uses provided <code>instanceKey</code> argument
to add instance to {@link #instancesPool}. Both arguments should to be not null.

@param instanceKey managed instance key,
@param instance managed instance.