jodd-petite/src/main/java/jodd/petite/PetiteBeans.java
public void registerScope(final Class<? extends Scope> scopeType, final Scope scope) {
		scopes.put(scopeType, scope);
	}
public void registerScope(final Class<? extends Scope> scopeType, final Scope scope) {
		scopes.put(scopeType, scope);
	}
public void registerScope ( final Class < ? extends Scope > scopeType , final Scope scope ) { scopes . put ( scopeType , scope ) ; }
Registers new scope. It is not necessary to manually register scopes,
since they become registered on first scope resolving.
However, it is possible to pre-register some scopes, or to <i>replace</i> one scope
type with another. Replacing may be important for testing purposes when
using container-depended scopes.
Registers new scope . It is not necessary to manually register scopes since they become registered on first scope resolving . However it is possible to pre - register some scopes or to <i > replace< / i > one scope type with another . Replacing may be important for testing purposes when using container - depended scopes .