Class PEFileLayout

java.lang.Object
com.sun.enterprise.admin.servermgmt.pe.PEFileLayout

public class PEFileLayout extends Object
  • Field Details

  • Constructor Details

  • Method Details

    • getConfig

      protected RepositoryConfig getConfig()
    • createRepositoryRoot

      public void createRepositoryRoot() throws RepositoryException
      Throws:
      RepositoryException
    • createDirectory

      protected void createDirectory(File dir) throws RepositoryException
      Throws:
      RepositoryException
    • getAddonRoot

      public File getAddonRoot()
    • getConfigRoot

      public File getConfigRoot()
    • getRepositoryBackupRoot

      public File getRepositoryBackupRoot()
    • getDocRoot

      public File getDocRoot()
    • getJavaWebStartRoot

      public File getJavaWebStartRoot()
    • getLibDir

      public File getLibDir()
    • getBinDir

      public File getBinDir()
    • getClassesDir

      public File getClassesDir()
    • getAppLibsDir

      public File getAppLibsDir()
    • getExtLibDir

      public File getExtLibDir()
    • getTimerDatabaseDir

      public File getTimerDatabaseDir()
    • getLogsDir

      public File getLogsDir()
    • getApplicationsRootDir

      public File getApplicationsRootDir()
    • getJ2EEAppsDir

      public File getJ2EEAppsDir()
    • getJ2EEModulesDir

      public File getJ2EEModulesDir()
    • getLifecycleModulesDir

      public File getLifecycleModulesDir()
    • getMbeansDir

      public File getMbeansDir()
    • getGeneratedDir

      public File getGeneratedDir()
    • getPolicyDir

      public File getPolicyDir()
    • getJspRootDir

      public File getJspRootDir()
    • getEjbRootDir

      public File getEjbRootDir()
    • getXmlRootDir

      public File getXmlRootDir()
    • getRepositoryDir

      public File getRepositoryDir()
    • getDomainConfigFile

      public File getDomainConfigFile()
    • getDomainConfigBackupFile

      public File getDomainConfigBackupFile()
    • getImqDir

      public File getImqDir()
    • getImqVarHome

      public File getImqVarHome()
    • getImqBinDir

      public File getImqBinDir()
    • getImqLibDir

      public File getImqLibDir()
    • getInstallRootDir

      public File getInstallRootDir()
    • getRepositoryRootDir

      public File getRepositoryRootDir()
    • getShareDir

      public File getShareDir()
    • getWebServicesLibDir

      public File getWebServicesLibDir()
    • getTemplatesDir

      public File getTemplatesDir()
    • getProfileFolder

      public File getProfileFolder(String profileName)
    • getProfilePropertiesFile

      public File getProfilePropertiesFile(String profileName)
    • getPreExistingDomainXmlTemplateForProfile

      public File getPreExistingDomainXmlTemplateForProfile(String profileName)
    • getTemplateConfigXml

      public File getTemplateConfigXml()
    • getInstallApplicationsDir

      public File getInstallApplicationsDir()
    • getInstallDatabasesDir

      public File getInstallDatabasesDir()
    • getDtdsDir

      public File getDtdsDir()
    • getDomainXmlTemplate

      public File getDomainXmlTemplate()
    • getDomainXmlTemplate

      public File getDomainXmlTemplate(String templateName)
    • getStartServ

      public File getStartServ()
    • getStartServTemplate

      public File getStartServTemplate()
    • getStopServ

      public File getStopServ()
    • getKillServ

      public File getKillServ()
    • getKillServTemplate

      public File getKillServTemplate()
    • getStopServTemplate

      public File getStopServTemplate()
    • getPolicyFileTemplate

      public File getPolicyFileTemplate()
    • getPolicyFile

      public File getPolicyFile()
    • getStubFile

      public File getStubFile()
    • getSeedFile

      public File getSeedFile()
    • getInstallConfigRoot

      public File getInstallConfigRoot()
    • getAppClientContainerTemplateAndXml

      public Map<File,File> getAppClientContainerTemplateAndXml()
    • getSessionStore

      public File getSessionStore()
    • getAutoDeployDir

      public File getAutoDeployDir()
    • getAutoDeployStatusDir

      public File getAutoDeployStatusDir()
    • getKeyFileTemplate

      public File getKeyFileTemplate()
    • getKeyFile

      public File getKeyFile()
    • getAdminKeyFile

      public File getAdminKeyFile()
    • getBackupKeyFile

      public File getBackupKeyFile()
    • getIndexFileTemplate

      public File getIndexFileTemplate()
    • getNonEnglishIndexFileTemplate

      public File getNonEnglishIndexFileTemplate(Locale locale)
    • getIndexFile

      public File getIndexFile()
    • getEnglishIndexFile

      public File getEnglishIndexFile()
    • getDefaultWebXmlTemplate

      public File getDefaultWebXmlTemplate()
    • getDefaultWebXml

      public File getDefaultWebXml()
    • getLoggingPropertiesTemplate

      public File getLoggingPropertiesTemplate()
    • getLoggingProperties

      public File getLoggingProperties()
    • getLoginConfTemplate

      public File getLoginConfTemplate()
    • getLoginConf

      public File getLoginConf()
    • getWssServerConfigOldTemplate

      public File getWssServerConfigOldTemplate()
    • getWssServerConfigOld

      public File getWssServerConfigOld()
    • getWssServerConfigTemplate

      public File getWssServerConfigTemplate()
    • getWssServerConfig

      public File getWssServerConfig()
    • getKeyStore

      public File getKeyStore()
    • getTrustStoreTemplate

      public File getTrustStoreTemplate()
    • getKeyStoreTemplate

      public File getKeyStoreTemplate()
      Should be used only in the cases where the actual keystore creation fails. The idea is when we are unable to create the JKS-keystore, we should copy the keystore in templates folder into the domain's config folder. This keystore is by no means a keystore for public use. It's just a keystore with a primary key "changeit" and associated certificate with signature: -------------------------------------------------------------- Keystore type: jks Keystore provider: SUN Your keystore contains 1 entry Alias name: s1as Creation date: Sep 11, 2008 Entry type: keyEntry Certificate chain length: 1 Certificate[1]: Owner: CN=localhost, OU=GlassFish, O=Sun Microsystems, L=Santa Clara, ST=California, C=US Issuer: CN=localhost, OU=GlassFish, O=Sun Microsystems, L=Santa Clara, ST=California, C=US Serial number: 48c9e075 Valid from: Thu Sep 11 20:22:29 PDT 2008 until: Sun Sep 09 20:22:29 PDT 2018 Certificate fingerprints: MD5: 00:E5:5D:1F:07:CC:99:9F:CF:68:0E:AD:29:43:E0:48 SHA1: 1B:62:3E:B2:3D:D7:0B:63:80:92:EE:9A:59:F7:D5:9F:97:A3:FD:98 --------------------------------------------------------------
      Returns:
      File representing the keystore path. Does not check if the path actually exists.
    • getTrustStore

      public File getTrustStore()
    • getMasterPasswordFile

      public File getMasterPasswordFile()
      Returns:
      "master-password"
    • getPasswordAliasKeystore

      public File getPasswordAliasKeystore()
    • getTimerWalTemplate

      public File getTimerWalTemplate()
    • getTimerWal

      public File getTimerWal()
    • getTimerDbnTemplate

      public File getTimerDbnTemplate()
    • getTimerDbn

      public File getTimerDbn()
    • getDerbyEjbTimerSqlFile

      public File getDerbyEjbTimerSqlFile()
    • getDerbyEjbTimerDatabaseDirectory

      public File getDerbyEjbTimerDatabaseDirectory()
    • isWindows

      protected static boolean isWindows()