Methods Summary |
---|
private void | createAppBackupPath()
// This is used to keep a copy of directory-deployed app files
String applicationBackupRepositoryDirPath = mInstance.getApplicationBackupRepositoryPath();
String[] onlyFolderNames = new String[] {
applicationBackupRepositoryDirPath,
mAppName
};
mAppBackupPath = StringUtils.makeFilePath (onlyFolderNames, false);
|
public void | createAppGeneratedXMLPath()Returns the absolute path for storing all the generated xml of this application.
Note that it does not create/check file/directory with such a path.
String[] onlyFolderNames = new String[] {
mInstance.getApplicationGeneratedXMLPath(),
mAppName
};
mAppGeneratedXMLPath = StringUtils.makeFilePath (onlyFolderNames, false);
|
public void | createAppJSPPath()Creates the absolute path String for storing all the generated JSPs of
this application.
Note that it does not create/check file/directory with such a path.
String[] onlyFolderNames = new String[] {
mInstance.getApplicationCompileJspPath(),
mAppName
};
mAppJSPPath = StringUtils.makeFilePath (onlyFolderNames, false);
|
private void | createAppPath()
String applicationRepositoryDirPath = mInstance.getApplicationRepositoryPath();
String[] onlyFolderNames = new String[] {
applicationRepositoryDirPath,
mAppName
};
mAppPath = StringUtils.makeFilePath (onlyFolderNames, false);
|
public void | createAppStubPath()Returns the absolute path for storing all the stubs of this application.
Note that it does not create/check file/directory with such a path.
String[] onlyFolderNames = new String[] {
mInstance.getApplicationStubPath(),
mAppName
};
mAppStubPath = StringUtils.makeFilePath (onlyFolderNames, false);
|
private void | createJavaWebStartPath()Creates the path to this application's java-web-start directory.
String[] onlyFolderNames = new String[] {
mInstance.getJavaWebStartPath(),
mAppName
};
mJavaWebStartPath = StringUtils.makeFilePath (onlyFolderNames, false);
|
public java.lang.String | getAppGeneratedXMLPath()Returns the absolute path for the all the generated xml within this application.
Note that it does not create/check file/directory with such a path.
return mAppGeneratedXMLPath;
|
public java.lang.String | getAppJSPPath()Returns the absolute path for the all the stubs within this application.
Note that it does not create/check file/directory with such a path.
assert StringUtils.ok(mAppJSPPath);
return mAppJSPPath;
|
public java.lang.String | getAppPath()Returns the absolute path for the all the elements within this application.
Note that it does not create/check file/directory with such a path.
return mAppPath;
|
public java.lang.String | getAppStubPath()Returns the absolute path for the all the stubs within this application.
Note that it does not create/check file/directory with such a path.
return mAppStubPath;
|
public java.lang.String | getJavaWebStartPath()Returns the absolute path to the Java Web Start directory for this application.
Note that it does not create/check file/directory with such a path.
return mJavaWebStartPath;
|
public static void | main(java.lang.String[] args)
//System.setProperty("com.sun.aas.instanceRoot", "/usr/appserv/instances");
InstanceEnvironment env = new InstanceEnvironment("foo");
ApplicationEnvironment ae = new ApplicationEnvironment(env, "myapp");
_logger.log(Level.INFO,"core.appenv_dump");
_logger.log(Level.INFO,ae.toString());
|
public java.lang.String | toString()
return ObjectAnalyzer.toString(this);
|