/*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
*
*
* The contents of this file are subject to the terms of either the GNU
* General Public License Version 2 only ("GPL") or the Common Development
* and Distribution License("CDDL") (collectively, the "License"). You
* may not use this file except in compliance with the License. You can
* obtain a copy of the License at
* or packager/legal/LICENSE.txt. See the License for the specific
* language governing permissions and limitations under the License.
*
* When distributing the software, include this License Header Notice in each
* file and include the License file at packager/legal/LICENSE.txt.
*
* GPL Classpath Exception:
* Oracle designates this particular file as subject to the "Classpath"
* exception as provided by Oracle in the GPL Version 2 section of the License
* file that accompanied this code.
*
* Modifications:
* If applicable, add the following below the License Header, with the fields
* enclosed by brackets [] replaced by your own identifying information:
* "Portions Copyright [year] [name of copyright owner]"
*
* Contributor(s):
* If you wish your version of this file to be governed by only the CDDL or
* only the GPL Version 2, indicate your decision by adding "[Contributor]
* elects to include this software in this distribution under the [CDDL or GPL
* Version 2] license." If you don't indicate a single choice of license, a
* recipient has the option to distribute your version of this file under
* either the CDDL, the GPL Version 2 or to extend the choice of license to
* its licensees as provided above. However, if you add GPL Version 2 code
* and therefore, elected the GPL Version 2 license, then the option applies
* only if the new code is made subject to such option by the copyright
* holder.
*/
public class SystemPropertyConstants
{
/**
*/
/**
* Field
*/
/**
* Field
*/
/**
* Field
*/
"com.sun.aas.webServicesLib";
/**
* Field
*/
/**
* Field
*/
/**
* Field
*/
/**
* Field
*/
/**
* Field
*/
"com.sun.aas.installRoot";
/**
* Field
*/
"com.sun.aas.productRoot";
/**
* Field
*/
/**
* Field
*/
/**
* Field
*/
"com.sun.aas.defaultLocale";
/**
* Field
*/
"com.sun.aas.domainsRoot";
/**
* Field
*/
"com.sun.aas.instanceRoot";
/**
* The certificate nick name specified in the System-Jmx-Conenctor
* of the DAS with which a Node Agent synchronizes
*/
"com.sun.aas.agentCertNickname";
"com.sun.aas.agentRoot";
"com.sun.aas.agentName";
/**
* Field
*/
"com.sun.aas.webconsoleLib";
"com.sun.aas.webconsoleApp";
"com.sun.aas.jatoRoot";
/** name of the server instance key */
/** name of the server's cluster */
/** name of the HADB location property **/
//"com.sun.appserv.client.truststore";
"javax.net.ssl.trustStorePassword";
//"com.sun.appserv.client.truststore.password";
/** Java ES Monitoring Framework install directory */
/* An implementation note: This variable should be defined at one place.
* I have chosen this location because most of the other modules depend
* on appserv-commons for compilation.
*/
/** name of the domain key */
= "com.sun.enterprise.ee.server.pluggable.EEPluggableFeatureImpl";
/** Name of the default config that determines the configuration for the instances */
/** A method that returns the passed String as a property that can
* be replaced at run time.
* @param name String that represents a property, e.g INSTANCE_ROOT_PROPERTY
* in this class. The String may not be null.
* @return a String that represents the replaceable value of passed String. Generally
* speaking it will be decorated with a pair of braces with $ in the front (e.g. "a" will be returned as "${a}").
* @throws IllegalArgumentException if the passed String is null
*/
}
}
/** Returns the string removing the "system-property syntax" from it.
* If the given string is not in "system-property syntax" the same string is returned.
* The "system-propery syntax" is "${...}"
* The given String may not be null.
* The returned String may be an empty String, if it is of the form "${}" (rarely so).
*/
throw new IllegalArgumentException ("null_arg");
if (isSystemPropertySyntax(sp)) {
}
return ( ret );
}
if ( s == null)
throw new IllegalArgumentException ("null_arg");
boolean sp = false;
sp = true;
return ( sp );
}
/** Returns the default value (as would appear in the domain.xml on installation)
* of docroot of a virtual server, as a String. Never returns a null.
* Returned String contains no backslashes.
* Note that it is <b> not <b> the absolute value of the path on a file system.
*/
}
/** Returns the default value (as would appear in the domain.xml on installation)
* of file where the acess log of a virtual server is stored, as a String. Never returns a null.
* Returned String contains no backslashes.
* Note that it is <b> not <b> the absolute value of the path on a file system.
*/
}
/** Returns the system specific file.separator delimited path to the asadmin script. Any changes to file layout should
* be reflected here. The path will contain '/' as the separator character, regardless of operating
* platform. Never returns a null. Assumes the the property "INSTALL_ROOT_PROPERTY" is set in the VM
* before calling this. As of now (September 2005) all the server instances and asadmin VM itself has
* this property set. The method does not guarantee that the script exists on the given system. It should
* only be used when caller wants to know the location of the script. Caller should make sure it exists.
* @return String representing the Path to asadmin script. Might return a string beginning with "null", if
* the INSTALL_ROOT_PROPERTY is not defined
*/
}
final String suffix = new StringBuilder("bin").append(System.getProperty("file.separator")).append(ASADMIN).append(ext).toString();
}
/**
* Copied from the trunk (4.0)
* Returns the component identifier associated with the INSTALL_ROOT.
* For example if INSTALL_ROOT is /home/glassfish3/glassfish the
* component name will "glassfish".
* @return String representing the component identifier.
*/
return installRootFile.getName();
}
}