src/main/java/js/core/Factory.java
public static <T> T getInstance(Class<T> interfaceClass, Object... args) {
		return getAppFactory().getInstance(interfaceClass, args);
	}
public static <T> T getInstance(Class<T> interfaceClass, Object... args) {
		return getAppFactory().getInstance(interfaceClass, args);
	}
Delegates {@link AppFactory#getInstance(Class, Object...)}.

@param interfaceClass requested interface class,
@param args optional constructor arguments.
@param <T> managed class implementation.
@return managed instance, created on the fly or reused from caches, but never null.
@throws BugError if application factory is not bound to current thread.
@see AppFactory#getInstance(Class, Object...)