class: Installer

public class: Installer
Author: endres
Project: Phase: 1.0; Status: Proposed; Version: 1.0; Complexity: 1
Dates: Created: 16.07.2009 15:30:58; Modified: 16.07.2009 15:30:58;
Flags: Active: false; IsRoot: false; IsLeaf: false;
Extension Points:
UUID: {B275B711-33E9-4a38-AE77-171EEB51C231}
 

Goto: Custom Properties, Fields, Methods

See also: Configuration

Appears in: installer

Connections
 
Custom Properties
 
Installer Attributes
Attribute Details
private static const String
  CHECK_CONTENT_MODEL
Initial: "escidoc:persistent4"
Notes: content model to be checked
private Configuration
  config
Initial: null
Notes: configuration of pubman
private String
  defaultUserPassword
Initial: null
Notes: user defined default password
private static const String
  jBOSS_CONF
Initial: "/server/default/conf"
Notes: jboss relative conf path
private static const String
  JBOSS_DEPLOY
Initial: "/server/default/deploy"
Notes: jboss relative deploy path
private String
  jbossInstallPath
Notes: jboss install directory path
private Logger
  logger
Initial: null
private static const String
  PUBMAN_EAR_FILENAME
Initial: "bin/pubman_ear.ear"
Notes: filename of ear
private Map
  userConfigValues
Initial: null
Notes: values to be asked from the user and updated in the configuration
private static const String
  VALIDATION_FILENAME
Initial: "config/validation-ds.xml"
Notes: filename of validation
 
Installer Methods
Operation Details
public
askUserIfContentModelAvailable():void
Sequential
Tags: throws=FileNotFoundException,Exception
public
checkContentModel():void
Sequential
Tags: throws=FileNotFoundException,Exception
public
collectCoreserviceDataFromUser():void
Sequential
Tags: throws=IOException
public
collectPubmanDataFromUser():void
Sequential
Tags: throws=IOException
private
copyFile(
   String fromFileName,
   String toFileName):void
Sequential
Tags: throws=IOException
public
createInitialData():void
Sequential
Tags: throws=Exception
private
fetchDataValueFromUser(
   String queryText):String
Sequential
Tags: throws=IOException
public
getResourceAsString(
   String fileName):String
Sequential
Tags: throws=FileNotFoundException,Exception
public
install():void
Sequential
Tags: throws=IOException,ServiceException,Exception
public
Installer():
Sequential
Tags: throws=IOException
Notes: Default constructor
public
installFiles():void
Sequential
Tags: throws=IOException
private
isContentModelValid():boolean
Sequential
public static
main(
   String[] args):void
Sequential
public
printStartMessage():void
Sequential