Java Doc for UpgradeUtils.java in  » Portal » Open-Portal » com » sun » portal » fabric » upgrade » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Portal » Open Portal » com.sun.portal.fabric.upgrade 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.sun.portal.fabric.upgrade.UpgradeUtils

UpgradeUtils
public class UpgradeUtils (Code)




Method Summary
static  voidaddSRACertificateInfoElement(File sXMLFile, String xpath, String CERT_INFO, String CERT_DB_PASSWORD)
    
public static  voidaddSRAElementNodes(File sXMLFile, String xpath, String elementNodeName, String[] platformConfs, String sraLogPassword, String startInstanceStatus)
    
public static  booleancheckDirectoryExists(String dir)
    
static  booleancheckJESInstallerSuccess()
    
static  voidcopy(File src, File dst)
    
public static  voidcopyAllAMFilesToVarTmp(String resourceDir, String varTmpPSVersionDir)
    
public static  voidcopyAllAMFilesToVarTmpPortal(String[] resDirs)
    
public static  voidecho(boolean on)
    
public static  voidenableSRA(String[] platformConfs, Properties prop, String amadminPasswordFilePath)
    
public static  voidexecAMRequest(Properties prop, String compName, int totalFiles)
    
public static  voidexecAMResourceBundleRequest(Properties prop, String compName)
    
public static  voidexecAnt(String buildfile, Vector targets, String logfile, String propfile)
    
public static  voidexecAnt(String buildfile, Vector targets, String logfile, String propfile, Vector env)
    
public static  voidexecLDAPModify(Properties prop, String compName)
    
public static  voidexecPSInstall(Properties prop)
    
public static  voidexecuteAccessManagerUpdates(Properties psInstallationProps, String[] resDirs)
    
public static  voidexecuteClassPathUpdates(File cpChangesFile, String configFilePath, Properties wcAttributes, boolean validate)
    
public static  voidexecuteDesktopProfileUpdates(Properties psInstallationProps, String[] resDirs)
    
public static  voidexecuteJVMOptionUpdates(File jvmOCFile, Properties wcAttributes, boolean validate)
    
public static  voidexecutePS7To71DPUpdates(Properties psInstallationProps, String resDir)
    
public static  voidexecuteServerPolicyUpdates(File spChangesFile, Properties wcAttributes, Logger log, boolean validate)
    
public static  StringgetAMBaseDirOnLinux()
    
public static  voidgetAMSpecialUsersDN()
    
public static  StringgetAccessManagerVersion()
    
public static  StringgetAppServerVersion()
    
public static  StringgetCommandOptionValue(String[] args, String opt)
    
static  intgetExitCode()
    
public static  StringgetGatewayJDKDir(String gwConfigPropFileDir)
    
public static  StringgetJESInstallerWizardID(File psinstallShFile)
    
static  StringgetLocalSystemIPAddress()
    
public static  StringgetPS7BaseDirOnLinux()
    
public static  StringgetPSBaseDirOnLinux()
    
static  StringgetPSVersion(String psProdDir, boolean psInstalled)
    
static  StringgetPSVersionOnLinux()
    
public static  StringgetPatchKey()
    
public static  StringgetPortalServerVersion()
    
public static  StringgetRPMFullName(String rpm)
    
public static  StringgetResourceDir(String version)
    
public static  String[]getResourceDirs(String version)
    
static  StringgetStartInstanceStatus(String stat)
    
public static  StringgetWebContainerType(Properties WCType)
    
public static  StringgetWebServerVersion()
    
public static  DocumentFragmentgetXmlNode(org.w3c.dom.Document doc, String fragment)
    
public static  booleanhasCommandOption(String[] args, String opt)
    
static  booleanisAccessManagerAdminCredentialValid(String host, int port, String DN, String password)
    
static  booleanisAccessManagerLDAPUserCredentialValid(String host, int port, String DN, String password)
    
static  booleanisDirectoryManagerCredentialValid(String host, int port, String DN, String password)
    
static  booleanisDirectoryServerRunning(String host, int port)
    
public static  booleanisJES4Stack(String psVersion, String deployType)
    
public static  booleanisJES5Stack(String psVersion, String deployType)
    
public static  booleanisLinuxOS()
    
public static  booleanisLinuxPatchApplied(String patchID)
    
public static  booleanisPackageInstalled(String pkg)
    
public static  booleanisRPMInstalled(String rpm)
    
public static  booleanisRPMInstalled(String rpm, boolean checkVersion)
    
static  booleanisSRACredentialsValid(String host, int port, String sraAgentName, String password)
    
public static  booleanisSunOS()
    
public static  booleanisSunOSPatchApplied(String patchID)
    
 booleanisWebContainerServerRunning()
    
public static  booleanisWebServer70Installed()
    
public static  voidlog(String msg)
    
public static  voidlog(int severity, String msg)
    
static  voidmkdir(String root, String child)
    
static  StringparseCertInfo(String certStr, String info)
    
public static  voidpreparePSAMBackupScript(Properties prop, File backUpScript)
    
static  voidprocessDPUpdates(File dp, File dpChanges, String type)
    
static  StringpromptUser(String s)
    
public static  StringreadInput(String prompt)
    
public static  StringreadPassword(String prompt)
    
static  StringreadUserResponse()
    
public static  booleanremoveDir(String psBaseDir)
    
public static  booleanremoveLinuxOSPackage(String pkg)
    
static  voidremoveLogHandler()
    
public static  booleanremoveService(Properties prop, String serviceName)
    
public static  booleanremoveSunOSPackage(String pkg)
    
static  String[]returnFileList(String dirStr, String pat, int matchmode)
    
static  String[]returnFileListEndingWith(String dirStr, String startpat, String[] endpatterns)
    
public static  String[]returnFileListEndingWith(String dirStr, String startpat, String endpattern)
    
static  String[]returnFileListHavingPattern(String dirStr, String regexpat)
    
public static  booleanrmdir(File path)
    
public static  voidsetExecUtil(ExecuteUtil exec)
    
static  voidsetExitCode(int ec)
    
public static  voidsetLogger(Logger log)
    
public static  voidsetSSLLDAPConnection(boolean sslEnabled)
    
static  booleanvalidateCredentials(String host, int port, String userName, String credentials)
    



Method Detail
addSRACertificateInfoElement
static void addSRACertificateInfoElement(File sXMLFile, String xpath, String CERT_INFO, String CERT_DB_PASSWORD) throws IOException, JDOMException(Code)



addSRAElementNodes
public static void addSRAElementNodes(File sXMLFile, String xpath, String elementNodeName, String[] platformConfs, String sraLogPassword, String startInstanceStatus) throws IOException, JDOMException(Code)



checkDirectoryExists
public static boolean checkDirectoryExists(String dir)(Code)



checkJESInstallerSuccess
static boolean checkJESInstallerSuccess()(Code)



copy
static void copy(File src, File dst) throws IOException(Code)



copyAllAMFilesToVarTmp
public static void copyAllAMFilesToVarTmp(String resourceDir, String varTmpPSVersionDir) throws IOException(Code)



copyAllAMFilesToVarTmpPortal
public static void copyAllAMFilesToVarTmpPortal(String[] resDirs) throws IOException(Code)



echo
public static void echo(boolean on)(Code)



enableSRA
public static void enableSRA(String[] platformConfs, Properties prop, String amadminPasswordFilePath)(Code)



execAMRequest
public static void execAMRequest(Properties prop, String compName, int totalFiles) throws UpgradeException(Code)



execAMResourceBundleRequest
public static void execAMResourceBundleRequest(Properties prop, String compName) throws UpgradeException(Code)



execAnt
public static void execAnt(String buildfile, Vector targets, String logfile, String propfile) throws UpgradeException(Code)



execAnt
public static void execAnt(String buildfile, Vector targets, String logfile, String propfile, Vector env) throws UpgradeException(Code)



execLDAPModify
public static void execLDAPModify(Properties prop, String compName) throws UpgradeException(Code)



execPSInstall
public static void execPSInstall(Properties prop) throws UpgradeException(Code)



executeAccessManagerUpdates
public static void executeAccessManagerUpdates(Properties psInstallationProps, String[] resDirs) throws UpgradeException(Code)



executeClassPathUpdates
public static void executeClassPathUpdates(File cpChangesFile, String configFilePath, Properties wcAttributes, boolean validate)(Code)



executeDesktopProfileUpdates
public static void executeDesktopProfileUpdates(Properties psInstallationProps, String[] resDirs) throws UpgradeException(Code)



executeJVMOptionUpdates
public static void executeJVMOptionUpdates(File jvmOCFile, Properties wcAttributes, boolean validate)(Code)



executePS7To71DPUpdates
public static void executePS7To71DPUpdates(Properties psInstallationProps, String resDir) throws UpgradeException(Code)



executeServerPolicyUpdates
public static void executeServerPolicyUpdates(File spChangesFile, Properties wcAttributes, Logger log, boolean validate)(Code)



getAMBaseDirOnLinux
public static String getAMBaseDirOnLinux()(Code)



getAMSpecialUsersDN
public static void getAMSpecialUsersDN()(Code)



getAccessManagerVersion
public static String getAccessManagerVersion()(Code)



getAppServerVersion
public static String getAppServerVersion()(Code)



getCommandOptionValue
public static String getCommandOptionValue(String[] args, String opt)(Code)



getExitCode
static int getExitCode()(Code)



getGatewayJDKDir
public static String getGatewayJDKDir(String gwConfigPropFileDir) throws IOException(Code)



getJESInstallerWizardID
public static String getJESInstallerWizardID(File psinstallShFile)(Code)



getLocalSystemIPAddress
static String getLocalSystemIPAddress()(Code)



getPS7BaseDirOnLinux
public static String getPS7BaseDirOnLinux()(Code)



getPSBaseDirOnLinux
public static String getPSBaseDirOnLinux()(Code)



getPSVersion
static String getPSVersion(String psProdDir, boolean psInstalled)(Code)



getPSVersionOnLinux
static String getPSVersionOnLinux()(Code)



getPatchKey
public static String getPatchKey()(Code)



getPortalServerVersion
public static String getPortalServerVersion()(Code)



getRPMFullName
public static String getRPMFullName(String rpm)(Code)



getResourceDir
public static String getResourceDir(String version)(Code)



getResourceDirs
public static String[] getResourceDirs(String version)(Code)



getStartInstanceStatus
static String getStartInstanceStatus(String stat)(Code)



getWebContainerType
public static String getWebContainerType(Properties WCType)(Code)



getWebServerVersion
public static String getWebServerVersion()(Code)



getXmlNode
public static DocumentFragment getXmlNode(org.w3c.dom.Document doc, String fragment)(Code)



hasCommandOption
public static boolean hasCommandOption(String[] args, String opt)(Code)



isAccessManagerAdminCredentialValid
static boolean isAccessManagerAdminCredentialValid(String host, int port, String DN, String password)(Code)



isAccessManagerLDAPUserCredentialValid
static boolean isAccessManagerLDAPUserCredentialValid(String host, int port, String DN, String password)(Code)



isDirectoryManagerCredentialValid
static boolean isDirectoryManagerCredentialValid(String host, int port, String DN, String password)(Code)



isDirectoryServerRunning
static boolean isDirectoryServerRunning(String host, int port)(Code)



isJES4Stack
public static boolean isJES4Stack(String psVersion, String deployType)(Code)



isJES5Stack
public static boolean isJES5Stack(String psVersion, String deployType)(Code)



isLinuxOS
public static boolean isLinuxOS()(Code)



isLinuxPatchApplied
public static boolean isLinuxPatchApplied(String patchID)(Code)



isPackageInstalled
public static boolean isPackageInstalled(String pkg)(Code)



isRPMInstalled
public static boolean isRPMInstalled(String rpm)(Code)



isRPMInstalled
public static boolean isRPMInstalled(String rpm, boolean checkVersion)(Code)



isSRACredentialsValid
static boolean isSRACredentialsValid(String host, int port, String sraAgentName, String password)(Code)



isSunOS
public static boolean isSunOS()(Code)



isSunOSPatchApplied
public static boolean isSunOSPatchApplied(String patchID)(Code)



isWebContainerServerRunning
boolean isWebContainerServerRunning()(Code)



isWebServer70Installed
public static boolean isWebServer70Installed()(Code)



log
public static void log(String msg)(Code)



log
public static void log(int severity, String msg)(Code)



mkdir
static void mkdir(String root, String child) throws Exception(Code)



parseCertInfo
static String parseCertInfo(String certStr, String info)(Code)



preparePSAMBackupScript
public static void preparePSAMBackupScript(Properties prop, File backUpScript)(Code)



processDPUpdates
static void processDPUpdates(File dp, File dpChanges, String type) throws UpgradeUtilException(Code)



promptUser
static String promptUser(String s)(Code)



readInput
public static String readInput(String prompt)(Code)



readPassword
public static String readPassword(String prompt)(Code)



readUserResponse
static String readUserResponse()(Code)



removeDir
public static boolean removeDir(String psBaseDir)(Code)



removeLinuxOSPackage
public static boolean removeLinuxOSPackage(String pkg)(Code)



removeLogHandler
static void removeLogHandler()(Code)



removeService
public static boolean removeService(Properties prop, String serviceName)(Code)



removeSunOSPackage
public static boolean removeSunOSPackage(String pkg)(Code)



returnFileList
static String[] returnFileList(String dirStr, String pat, int matchmode)(Code)



returnFileListEndingWith
static String[] returnFileListEndingWith(String dirStr, String startpat, String[] endpatterns)(Code)



returnFileListEndingWith
public static String[] returnFileListEndingWith(String dirStr, String startpat, String endpattern)(Code)



returnFileListHavingPattern
static String[] returnFileListHavingPattern(String dirStr, String regexpat)(Code)



rmdir
public static boolean rmdir(File path)(Code)



setExecUtil
public static void setExecUtil(ExecuteUtil exec)(Code)



setExitCode
static void setExitCode(int ec)(Code)



setLogger
public static void setLogger(Logger log)(Code)



setSSLLDAPConnection
public static void setSSLLDAPConnection(boolean sslEnabled)(Code)



validateCredentials
static boolean validateCredentials(String host, int port, String userName, String credentials)(Code)



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.