001: /*
002: * Copyright 2003 Sun Microsystems, Inc. All rights reserved.
003: * PROPRIETARY/CONFIDENTIAL. Use of this product is subject to license terms.
004: */
005:
006: package com.sun.portal.sra.admin.context;
007:
008: import com.sun.portal.util.Platform;
009:
010: import java.io.IOException;
011:
012: public interface SRAFileContext {
013:
014: public String FORWARD_SLASH = "/";
015: public String DOT = ".";
016: public String DASH = "-";
017: public String UNDERSCORE = "_";
018:
019: public final static String fs = Platform.fs;
020:
021: public String getJdmkLibLocation();
022:
023: public String getPSProductDir();
024:
025: public String getPSConfigDir();
026:
027: public String getPSVarDir();
028:
029: public String getISProductDir();
030:
031: public String getISConfigDir();
032:
033: public String getISVarDir();
034:
035: public String getJSSNSSLibDir();
036:
037: public String getJSSJARDir();
038:
039: public String getInstanceGWConfigurationPropertiesFile();
040:
041: public String getInstanceRWPConfigurationPropertiesFile();
042:
043: public String getInstanceNLPConfigurationPropertiesFile();
044:
045: public String getTemplatePlatformConfigurationFile();
046:
047: public String getInstancePlatformConfigurationFile();
048:
049: public String getDefaultIdentityPropertiesFile();
050:
051: public String getTemplateIdentityPropertiesFile();
052:
053: public String getInstanceIdentityPropertiesFile();
054:
055: public String getInstanceCertificatesDirectory();
056:
057: public String getSourceRootCACertificatesFile();
058:
059: public String getDestinationRootCACertificatesFile();
060:
061: public String getCreateSelfSignedCertificateLibraryPath();
062:
063: public String getCreateSelfSignedCertificatePath();
064:
065: public String getJARLocation();
066:
067: public String getLocaleLocation();
068:
069: public String getJSSJARFile();
070:
071: public String getJCELocation();
072:
073: public String getCreateSelfSignedCertificateClassPath();
074:
075: public String getJavaHome();
076:
077: public String[] getGWInstanceNames();
078:
079: public String[] getRWPInstanceNames();
080:
081: public String[] getNLPInstanceNames();
082:
083: public String[] getGWInstanceConfigurationFiles();
084:
085: public String[] getRWPInstanceConfigurationFiles();
086:
087: public String[] getNLPInstanceConfigurationFiles();
088:
089: public Boolean existsGWInstance(String instanceName);
090:
091: public Boolean existsRWPInstance(String instanceName);
092:
093: public Boolean existsNLPInstance(String instanceName);
094:
095: public String getGWInstanceConfigurationFile(String instanceName);
096:
097: public String getRWPInstanceConfigurationFile(String instanceName);
098:
099: public String getNLPInstanceConfigurationFile(String instanceName);
100:
101: public String getExtraLibs(String path);
102:
103: public String getNative2Ascii(String path);
104:
105: public AMPropertyContext getAMPropertyContext() throws IOException;
106: }
|