public static JDisc fromPath(Path path, Networking networking) {
        return new JDisc(path, false, networking, new ConfigModelRepo());
    }
Factory method to create a JDisc from an application package.
This method allows deploying OSGi bundles(contained in the components subdirectory).
All the OSGi bundles will share the same class loader.



@param path the reference to the application package to use
@param networking enabled or disabled
@return a new JDisc instance
application/src/main/java/com/yahoo/application/container/JDisc.java