PageBoxLib
Class ASInstallFactory

java.lang.Object
  extended byPageBoxLib.ASInstallFactory

public class ASInstallFactory
extends java.lang.Object

Hides the Application Server installer. Returns a ASInstallIF object.

alexis.grandemange@pagebox.net

Copyright (c) 2002-2004 Alexis Grandemange

This program is free software; you can redistribute it and/or
 modify it under the terms of the GNU Lesser General Public License
 as published by the Free Software Foundation; version 2.1 of the
 License.
 This library is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 GNU Lesser General Public License for more details.
 A copy of the GNU Lesser General Public License lesser.txt should be
 included in the distribution.

Version:
0, 0, 1
Author:
Alexis Grandemange

Constructor Summary
ASInstallFactory()
           
 
Method Summary
static ASInstallIF getInstaller(java.lang.String url, java.lang.String iname, Log log, java.lang.String rootPath, java.lang.String user, java.lang.String password, boolean isRelativeTarget)
          Instantiates an installer.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ASInstallFactory

public ASInstallFactory()
Method Detail

getInstaller

public static ASInstallIF getInstaller(java.lang.String url,
                                       java.lang.String iname,
                                       Log log,
                                       java.lang.String rootPath,
                                       java.lang.String user,
                                       java.lang.String password,
                                       boolean isRelativeTarget)
Instantiates an installer.

Parameters:
url - url of the application server
iname - name of the application server installer
log - logging object
rootPath - root deployment path
user - used to contact the Application server manager
password - used to contact the Application server manager
isRelativeTarget - true if the archPath in install method is relative
Returns:
installer object