All Downloads are FREE. Search and download functionalities are using the official Maven repository.

wee0.pm.PackageManager Maven / Gradle / Ivy

The newest version!
/**
 * Copyright (c) 2016-2022, wee0.com.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 **/
package wee0.pm;

import wee0.Wee0;
import wee0.config.IEnv;

/**
 * 包管理器便捷操作类
 * @author		baihw
 * @date 		2018年6月12日
 **/

/**
 * 
 *  examples:
 * 
**/ public final class PackageManager{ /** * 用户未指定实现类名称时使用的默认实现类名称。 */ public static final String DEF_IMPL_NAME = "wee0.pm.impl.DefaultPackageManager"; // 实现类实例。 private static final IPackageManager DEF_IMPL = ( IPackageManager )Wee0.getSingleInstance( IEnv.KEY_PACKAGEMANAGER_IMPL, DEF_IMPL_NAME ); /** * 获取当前使用的默认包管理器实现类实例。 * * @return 当前使用的默认包管理器实现类实例 */ public static IPackageManager impl(){ return DEF_IMPL; } } // end class




© 2015 - 2025 Weber Informatics LLC | Privacy Policy