C# Class Caucho.Apache

Mostra file Open project: mdaniel/svn-caucho-com-resin Class Usage Examples

Public Methods

Method Description
BackupHttpConf ( String httpdConfFile ) : String
FindApache ( ArrayList homes ) : void
FindApacheInDir ( String dir, ArrayList homes ) : void
FindApacheInRegistry ( RegistryKey registryKey, String location ) : String
FindApacheServiceName ( String apacheHome ) : String
GetApacheVersion ( String apacheHome ) : String
IsConfigured ( String apacheHome ) : bool
IsValidApacheHome ( String dir ) : bool
RemoveApache ( String apacheHome ) : SetupResult
SetupApache ( String resinHome, String apacheHome ) : SetupResult

Private Methods

Method Description
Apache ( ) : System
EnsureWritable ( String file ) : bool
IsCommentedOut ( String line ) : bool

Method Details

BackupHttpConf() public static method

public static BackupHttpConf ( String httpdConfFile ) : String
httpdConfFile String
return String

FindApache() public static method

public static FindApache ( ArrayList homes ) : void
homes System.Collections.ArrayList
return void

FindApacheInDir() public static method

public static FindApacheInDir ( String dir, ArrayList homes ) : void
dir String
homes System.Collections.ArrayList
return void

FindApacheInRegistry() public static method

public static FindApacheInRegistry ( RegistryKey registryKey, String location ) : String
registryKey Microsoft.Win32.RegistryKey
location String
return String

FindApacheServiceName() public static method

public static FindApacheServiceName ( String apacheHome ) : String
apacheHome String
return String

GetApacheVersion() public static method

public static GetApacheVersion ( String apacheHome ) : String
apacheHome String
return String

IsConfigured() public static method

public static IsConfigured ( String apacheHome ) : bool
apacheHome String
return bool

IsValidApacheHome() public static method

public static IsValidApacheHome ( String dir ) : bool
dir String
return bool

RemoveApache() public static method

public static RemoveApache ( String apacheHome ) : SetupResult
apacheHome String
return SetupResult

SetupApache() public static method

public static SetupApache ( String resinHome, String apacheHome ) : SetupResult
resinHome String
apacheHome String
return SetupResult