public class DomainDir
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
private static class |
DomainDir.Instance |
Modifier and Type | Field and Description |
---|---|
private static java.lang.String |
appPollerDir
Stores root/autodeploy directory
|
private static java.lang.String |
binDir
Stores root/bin directory
|
private static java.lang.String |
camConfigDir
Stores root/config/fmwconfig/components directory
This is the root directory for the configuration
associated with CAM components
|
private static java.lang.String |
camPendingDir
Stores pending/fmwconfig/components directory
This is the pending directory for the configuration
associated with CAM components
|
private static java.lang.String |
configDiagnosticsDir
Stores root/config/diagnostics directory
|
private static java.lang.String |
configDir
Stores root/config directory
|
private static java.lang.String |
configJDBCDir
Stores root/config/jdbc directory
|
private static java.lang.String |
configJMSDir
Stores root/config/jms directory
|
private static java.lang.String |
configLibDir
Stores root/config/lib directory
|
private static java.lang.String |
configSecurityDir
Stores root/config/security directory
|
private static java.lang.String |
configStartupDir
Stores root/config/security directory
|
private static java.lang.String |
deploymentsDir
Stores root/config/deployments directory
|
private static java.lang.String |
deploymentsDirNonCanonical
Stores root/config/deployments directory directory in non-canonical form
|
private static java.lang.String |
editDir
Stores root/edit directory
|
private static java.lang.String |
fmwConfigDir
Stores root/config/fmwconfig directory
This is the root directory for the JMX Framework
managed configuration, as well as any JRF configuration
|
private static java.lang.String |
fmwServersConfigDir
Stores root/config/fmwconfig/servers directory
This is the root directory for the JMX Framework
server specific configuration
|
private static java.lang.String |
initInfoDir
Stores root/init-info directory
|
private static DomainDir.Instance |
INSTANCE |
private static java.lang.String |
libDir
Stores root/lib directory
|
private static java.lang.String |
libModulesDir
Stores root/config/deployments/lib_modeules directory
|
private static java.lang.String |
oldAppPollerDir
Stores root/applications directory for 81 style and required for upgrade
|
private static java.lang.String |
optConfigDir |
private static java.lang.String |
orchestrationWorkflowDir
Stores root/orchestration/workflow
|
private static java.lang.String |
partitionsDir
Stores root/partitions
|
private static java.lang.String |
pendingDir
Stores root/pending directory
|
private static java.lang.String |
rootDir
Stores canonical version of root directory
|
private static java.lang.String |
rootDirNonCanonical
Stores root directory in non-canonical form.
|
private static java.lang.String |
securityDir
Stores root/security directory
|
private static java.lang.String |
sep
Shortcut for file separator
|
private static java.lang.String |
serversDir
Stores root/servers directory
|
private static java.lang.String |
serversDirNonCanonical
Stores root/servers directory in non-canonical form
|
private static java.lang.String |
tempDir
Stores root/tmp directory
|
Constructor and Description |
---|
DomainDir() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
dumpDirectories() |
static java.lang.String |
getAppPollerDir() |
static java.lang.String |
getBinDir()
Returns the String representation of the path of the bin directory
i.e.
|
static java.lang.String |
getBinDirForServer(java.lang.String serverName)
Returns the String representation of the path of the running server's bin directory
i.e.
|
static java.lang.String |
getCacheDirForServer(java.lang.String serverName)
Returns the String representation of the path of the running server's cache directory
i.e.
|
static java.lang.String |
getCAMConfigDir()
Returns the String representation of the path of the CAM config directory
i.e.
|
static java.lang.String |
getCAMPendingDir()
Returns the String representation of the path of the CAM pending directory
i.e.
|
static java.lang.String |
getConfigDir()
Returns the String representation of the path of the config directory
i.e.
|
static java.lang.String |
getConfigSecurityDir()
Returns the String representation of the path of the config security directory
i.e.
|
static java.lang.String |
getConfigStartupDir()
Returns the String representation of the path of the config startup directory
i.e.
|
static java.lang.String |
getDataDirForServer(java.lang.String serverName)
Returns the String representation of the path of the running server's data directory
i.e.
|
static java.lang.String |
getDeploymentsDir()
Returns the String representation of the path of the config deployments directory
i.e.
|
static java.lang.String |
getDeploymentsDirNonCanonical()
Returns the String representation of the path of the config deployment directory
i.e.
|
static java.lang.String |
getDiagnosticsDir()
Returns the String representation of the path of the config diagnostics directory
i.e.
|
static java.lang.String |
getDirForServer(java.lang.String serverName)
Returns the string representation of the path of the specified server directory
|
static java.lang.String |
getDirForServerNonCanonical(java.lang.String serverName)
Returns the string representation of the path of the specified server directory
|
static java.lang.String |
getEditDir()
Returns the String representation of the path of the edit Directory
i.e.
|
static java.lang.String |
getFMWConfigDir()
Returns the String representation of the path of the fmwconfig directory
i.e.
|
static java.lang.String |
getFMWServerConfigDir(java.lang.String serverName)
Returns the String representation of the path for the JMX Framework
server scoped config directory that correspond to the server instance
whose name is passed as parameter
i.e.
|
static java.lang.String |
getFMWServersConfigDir()
Returns the String representation of the path for the JMX Framework
servers scoped config directory
i.e.
|
static java.lang.String |
getInitInfoDir()
Returns the String representation of the path of the init-info Directory
i.e.
|
static DomainDir.Instance |
getInstance() |
static java.lang.String |
getJDBCDir()
Returns the String representation of the path of the config jdbc directory
i.e.
|
static java.lang.String |
getJMSDir()
Returns the String representation of the path of the config jms directory
i.e.
|
static java.lang.String |
getLDAPDataDirForServer(java.lang.String serverName)
Returns the String representation of the path of the running server's LDAP data directory
i.e.
|
static java.lang.String |
getLibDir()
Returns the String representation of the path of the lib Directory
i.e.
|
static java.lang.String |
getLibModulesDir()
Returns the String representation of the path of the config deployments
library modules directory
i.e.
|
static java.util.Set<java.lang.String> |
getLocalServers()
Return the name of the WLS servers for which configuration
is available locally
|
static java.lang.String |
getLogsDirForServer(java.lang.String serverName)
Returns the String representation of the path of the running server's logs directory
i.e.
|
static java.lang.String |
getOldAppPollerDir() |
static java.lang.String |
getOptConfigDir()
Returns the String representation of the path of the optconfig directory
i.e.
|
static java.lang.String |
getOrchestrationWorkflowDir()
Returns the String representation of the path of the workflow (orchestration) directory
i.e.
|
static java.lang.String |
getPartitionsDir()
Returns the String representation of the path of the partitions Directory
i.e.
|
static java.lang.String |
getPathRelativeBinDir(java.lang.String path)
Returns path relative to bin directory
|
static java.lang.String |
getPathRelativeConfigDir(java.lang.String path)
Returns path relative to config directory
|
static java.lang.String |
getPathRelativeConfigSecurityDir(java.lang.String path)
Returns path relative to config security directory
|
static java.lang.String |
getPathRelativeConfigStartupDir(java.lang.String path)
Returns path relative to config startup directory
|
static java.lang.String |
getPathRelativeDeploymentsDir(java.lang.String path)
Returns path relative to config deployments directory
|
static java.lang.String |
getPathRelativeDiagnosticsDir(java.lang.String path)
Returns path relative to config diagnostics directory
|
static java.lang.String |
getPathRelativeInitInfoDir(java.lang.String path)
Returns path relative to init-info directory.
|
static java.lang.String |
getPathRelativeJDBCDir(java.lang.String path)
Returns path relative to config jdbc directory
|
static java.lang.String |
getPathRelativeJMSDir(java.lang.String path)
Returns path relative to config jms directory
|
static java.lang.String |
getPathRelativeLibDir(java.lang.String path)
Returns path relative to lib directory.
|
static java.lang.String |
getPathRelativeLibModulesDir(java.lang.String path)
Returns path relative to config deployments library modules directory
|
static java.lang.String |
getPathRelativePendingDir(java.lang.String path)
Returns path relative to pending directory.
|
static java.lang.String |
getPathRelativeRootDir(java.lang.String path)
Returns path relative to RootDirectory.
|
static java.lang.String |
getPathRelativeSecurityDir(java.lang.String path)
Returns path relative to security directory.
|
static java.lang.String |
getPathRelativeServerDir(java.lang.String serverName,
java.lang.String path)
Returns path relative to server's directory.
|
static java.lang.String |
getPathRelativeServerDirNonCanonical(java.lang.String serverName,
java.lang.String path)
Returns path relative to server's directory in non-canonical form.
|
static java.lang.String |
getPathRelativeServersBinDir(java.lang.String serverName,
java.lang.String path)
Returns path relative to server's cache directory.
|
static java.lang.String |
getPathRelativeServersCacheDir(java.lang.String serverName,
java.lang.String path)
Returns path relative to server's cache directory.
|
static java.lang.String |
getPathRelativeServersDataDir(java.lang.String serverName,
java.lang.String path)
Returns path relative to server's data directory.
|
static java.lang.String |
getPathRelativeServersDir(java.lang.String path)
Returns path relative to servers directory.
|
static java.lang.String |
getPathRelativeServersLDAPDataDir(java.lang.String serverName,
java.lang.String path)
Returns path relative to server's LDAP data directory.
|
static java.lang.String |
getPathRelativeServersLogsDir(java.lang.String serverName,
java.lang.String path)
Returns path relative to server's logs directory.
|
static java.lang.String |
getPathRelativeServersSecurityDir(java.lang.String serverName,
java.lang.String path)
Returns path relative to server's security directory.
|
static java.lang.String |
getPathRelativeServersStoreDataDir(java.lang.String serverName,
java.lang.String path)
Returns path relative to server's Store data directory.
|
static java.lang.String |
getPathRelativeServersTempDir(java.lang.String serverName,
java.lang.String path)
Returns path relative to server's tmp directory.
|
static java.lang.String |
getPathRelativeTempDir(java.lang.String path)
Returns path relative to domain tmp directory.
|
static java.lang.String |
getPathRelativeToCAMConfigDir(java.lang.String path)
Returns path relative to the CAM config directory
|
static java.lang.String |
getPathRelativeToFMWConfigDir(java.lang.String path)
Returns path relative to the fmwconfig directory
|
static java.lang.String |
getPathRelativeToFMWServersConfigDir(java.lang.String path)
Returns path relative to the JMX Framework
servers scoped config directory
|
static java.lang.String |
getPendingDeploymentsDir(java.lang.String appName)
Returns the directory where changes to the deployment configuration
for an application are stored in the pending directory
|
static java.lang.String |
getPendingDir()
Returns the String representation of the path of the pending Directory
i.e.
|
static java.lang.String |
getRootDir()
Returns the String representation of the path of the Root Directory
(-Dweblogic.RootDirectory=
|
static java.lang.String |
getRootDirNonCanonical()
Returns the String representation of the path of the Root Directory
(-Dweblogic.RootDirectory=
|
static java.lang.String |
getSecurityDir()
Returns the String representation of the path of the security directory
i.e.
|
static java.lang.String |
getSecurityDirForServer(java.lang.String serverName)
Returns the String representation of the path of the running server's security directory
i.e.
|
static java.lang.String |
getServersDir()
Returns the String representation of the path of the servers directory
i.e.
|
static java.lang.String |
getServersDirNonCanonical()
Returns the String representation of the path of the servers directory
i.e.
|
static java.lang.String |
getStoreDataDirForServer(java.lang.String serverName)
Returns the String representation of the path of the running server's store data directory
i.e.
|
static java.lang.String |
getTempDir()
Returns the String representation of the path of the tmp directory
i.e.
|
static java.lang.String |
getTempDirForServer(java.lang.String serverName)
Returns the String representation of the path of the running server's tmp directory
i.e.
|
static boolean |
isFileRelativeToCAMConfigDir(java.io.File file)
Returns true is the file instance passed as parameter is relative
to the CAM config directory
|
static boolean |
isFileRelativeToFMWConfigDir(java.io.File file)
Returns true is the file instance passed as parameter is relative
to the fmwconfig directory
|
static boolean |
isFileRelativeToFMWServerConfigDir(java.io.File file,
java.lang.String serverName)
Returns true is the file instance passed as parameter is relative
to the JMX Framework server scoped config directory for the server instance
whose name is passed as parameter
|
static boolean |
isFileRelativeToFMWServersConfigDir(java.io.File file)
Returns true is the file instance passed as parameter is relative
to the JMX Framework servers scoped config directory
|
static java.lang.String |
removeConfigDirectoryFromPath(java.lang.String filePath)
Remove config directory from directory file path.
|
static java.lang.String |
removeRootDirectoryFromPath(java.lang.String filePath)
Remove root directory from directory file path.
|
static void |
resetRootDirForExplicitUpgrade(java.lang.String path)
FIXME: mousseau@bea.com This is only here to allow the same set of
DomainDir methods to be used in both explicit and implicit upgrade.
|
private static final DomainDir.Instance INSTANCE
private static java.lang.String sep
private static java.lang.String rootDir
private static java.lang.String binDir
private static java.lang.String configDir
private static java.lang.String optConfigDir
private static java.lang.String fmwConfigDir
private static java.lang.String fmwServersConfigDir
private static java.lang.String camConfigDir
private static java.lang.String camPendingDir
private static java.lang.String configDiagnosticsDir
private static java.lang.String configJDBCDir
private static java.lang.String configJMSDir
private static java.lang.String configLibDir
private static java.lang.String configSecurityDir
private static java.lang.String configStartupDir
private static java.lang.String editDir
private static java.lang.String initInfoDir
private static java.lang.String libDir
private static java.lang.String pendingDir
private static java.lang.String securityDir
private static java.lang.String serversDir
private static java.lang.String tempDir
private static java.lang.String deploymentsDir
private static java.lang.String libModulesDir
private static java.lang.String appPollerDir
private static java.lang.String oldAppPollerDir
private static java.lang.String orchestrationWorkflowDir
private static java.lang.String partitionsDir
private static java.lang.String rootDirNonCanonical
private static java.lang.String serversDirNonCanonical
private static java.lang.String deploymentsDirNonCanonical
public static java.lang.String getRootDir()
public static java.lang.String getRootDirNonCanonical()
public static java.lang.String getPathRelativeRootDir(java.lang.String path)
public static java.lang.String getBinDir()
public static java.lang.String getPathRelativeBinDir(java.lang.String path)
public static java.lang.String getConfigDir()
public static java.lang.String getOptConfigDir()
public static java.lang.String getPathRelativeConfigDir(java.lang.String path)
public static java.lang.String getFMWConfigDir()
public static java.lang.String getPathRelativeToFMWConfigDir(java.lang.String path)
public static boolean isFileRelativeToFMWConfigDir(java.io.File file)
public static java.lang.String getFMWServersConfigDir()
public static java.lang.String getPathRelativeToFMWServersConfigDir(java.lang.String path)
public static boolean isFileRelativeToFMWServersConfigDir(java.io.File file)
public static java.lang.String getFMWServerConfigDir(java.lang.String serverName)
public static boolean isFileRelativeToFMWServerConfigDir(java.io.File file, java.lang.String serverName)
public static java.util.Set<java.lang.String> getLocalServers()
public static java.lang.String getCAMConfigDir()
public static java.lang.String getCAMPendingDir()
public static java.lang.String getPathRelativeToCAMConfigDir(java.lang.String path)
public static boolean isFileRelativeToCAMConfigDir(java.io.File file)
public static java.lang.String getDeploymentsDir()
public static java.lang.String getPathRelativeDeploymentsDir(java.lang.String path)
public static java.lang.String getDiagnosticsDir()
public static java.lang.String getPathRelativeDiagnosticsDir(java.lang.String path)
public static java.lang.String getJDBCDir()
public static java.lang.String getPathRelativeJDBCDir(java.lang.String path)
public static java.lang.String getJMSDir()
public static java.lang.String getPathRelativeJMSDir(java.lang.String path)
public static java.lang.String getConfigSecurityDir()
public static java.lang.String getPathRelativeConfigSecurityDir(java.lang.String path)
public static java.lang.String getConfigStartupDir()
public static java.lang.String getPathRelativeConfigStartupDir(java.lang.String path)
public static java.lang.String getLibModulesDir()
public static java.lang.String getPathRelativeLibModulesDir(java.lang.String path)
public static java.lang.String getInitInfoDir()
public static java.lang.String getPathRelativeInitInfoDir(java.lang.String path)
public static java.lang.String getLibDir()
public static java.lang.String getEditDir()
public static java.lang.String getPartitionsDir()
public static java.lang.String getPathRelativeLibDir(java.lang.String path)
public static java.lang.String getPendingDir()
public static java.lang.String getPathRelativePendingDir(java.lang.String path)
public static java.lang.String getSecurityDir()
public static java.lang.String getPathRelativeSecurityDir(java.lang.String path)
public static java.lang.String getServersDir()
public static java.lang.String getServersDirNonCanonical()
public static java.lang.String getDeploymentsDirNonCanonical()
public static java.lang.String getPathRelativeServersDir(java.lang.String path)
public static java.lang.String getDirForServer(java.lang.String serverName)
public static java.lang.String getDirForServerNonCanonical(java.lang.String serverName)
public static java.lang.String getPathRelativeServerDir(java.lang.String serverName, java.lang.String path)
public static java.lang.String getPathRelativeServerDirNonCanonical(java.lang.String serverName, java.lang.String path)
public static java.lang.String getBinDirForServer(java.lang.String serverName)
public static java.lang.String getPathRelativeServersBinDir(java.lang.String serverName, java.lang.String path)
public static java.lang.String getCacheDirForServer(java.lang.String serverName)
public static java.lang.String getPathRelativeServersCacheDir(java.lang.String serverName, java.lang.String path)
public static java.lang.String getDataDirForServer(java.lang.String serverName)
public static java.lang.String getPathRelativeServersDataDir(java.lang.String serverName, java.lang.String path)
public static java.lang.String getLDAPDataDirForServer(java.lang.String serverName)
public static java.lang.String getPathRelativeServersLDAPDataDir(java.lang.String serverName, java.lang.String path)
public static java.lang.String getStoreDataDirForServer(java.lang.String serverName)
public static java.lang.String getPathRelativeServersStoreDataDir(java.lang.String serverName, java.lang.String path)
public static java.lang.String getLogsDirForServer(java.lang.String serverName)
public static java.lang.String getPathRelativeServersLogsDir(java.lang.String serverName, java.lang.String path)
public static java.lang.String getSecurityDirForServer(java.lang.String serverName)
public static java.lang.String getPathRelativeServersSecurityDir(java.lang.String serverName, java.lang.String path)
public static java.lang.String getTempDirForServer(java.lang.String serverName)
public static java.lang.String getPathRelativeServersTempDir(java.lang.String serverName, java.lang.String path)
public static java.lang.String getTempDir()
public static java.lang.String getPathRelativeTempDir(java.lang.String path)
public static java.lang.String getPendingDeploymentsDir(java.lang.String appName)
public static void resetRootDirForExplicitUpgrade(java.lang.String path)
path
- representing the config directory that is being explicitly upgradedpublic static java.lang.String removeRootDirectoryFromPath(java.lang.String filePath)
public static java.lang.String removeConfigDirectoryFromPath(java.lang.String filePath)
public static java.lang.String dumpDirectories()
public static java.lang.String getAppPollerDir()
public static java.lang.String getOldAppPollerDir()
public static java.lang.String getOrchestrationWorkflowDir()
public static DomainDir.Instance getInstance()