public static VendorPackageInstaller getPackageInstaller ( String url ) throws PackageManagerException { VendorPackageInstaller answer ; switch ( identify ( url ) ) { case COMPOSUM : answer = new ComposumPackageInstaller ( url ) ; break ; case CRX : answer = new CrxPackageInstaller ( url ) ; break ; default : throw new PackageManagerException ( "Given URL is not supported: " + url ) ; } return answer ; }
Provides the Installer of the Service Vendor