Package com.sun.appserv.addons

Examples of com.sun.appserv.addons.Installer


    /**
     * Call Installer.install() on a specific addon.
     */
    private void _install(Object obj, String addonName)
        throws AddonFatalException {
        Installer inst = Installer.class.cast(obj);
        InstallationContext ic = new InstallationContext();
        ic.setInstallationDirectory(getInstallRoot());
        try {
            inst.install(ic);
            String addonInstalled =
            localStrings.getString("addon.installed", addonName);
            if (getLogger().isLoggable(Level.INFO)) {
                getLogger().info(addonInstalled);
            }
View Full Code Here


    /**
     * Call Installer.uninstall() for a specific addon.
     */
    private void _uninstall(Object obj, String addonName)
        throws AddonFatalException {
        Installer inst = Installer.class.cast(obj);
        InstallationContext ic = new InstallationContext();
        ic.setInstallationDirectory(getInstallRoot());
        try {
            inst.uninstall(ic);
            if (getLogger().isLoggable(Level.INFO)) {
                getLogger().info
                (localStrings.getString("addon.uninstalled", addonName));
            }
        } catch (AddonFatalException afe) {
View Full Code Here

TOP

Related Classes of com.sun.appserv.addons.Installer

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.