public abstract class BootstrapUtils extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
CCS_RESOURCE_PATH_ENV_VAR
Environment variable that defines the resource path.
|
| Constructor and Description |
|---|
BootstrapUtils() |
| Modifier and Type | Method and Description |
|---|---|
static Properties |
getApplicationDefinitionProperties(String application)
Get the application definition properties file for a given application
name.
|
static String |
getBootstrapLibraryPath() |
static List<String> |
getBootstrapListOfApplications()
Get the list of available applications for the current Bootstrap
configuration.
|
static List<String> |
getBootstrapListOfTransports()
Get the list of available transport protocols for the current Bootstrap
configuration.
|
static ResourcesTree |
getBootstrapResourcesTree()
Get the ResourceTree for this Bootstrap environment.
|
static String |
getCCSDistributionRootDirectory()
Get the root directory of the CCS distribution from which the Bootstrap
code has been launched.
|
static String |
getDistributionJarFilesDirectory()
Get the jar files directory in the distribution.
|
static String |
getDistributionJniDirectory()
Get the jni directory in the distribution.
|
static String |
getDistributionLibDirectory()
Get the lib directory in the distribution.
|
static String |
getDistributionResourcesDirectory()
Get the Distribution resources directory.
|
static Properties |
getMergedProperties(String propertyFile)
Get the merged properties in the current bootstrap environment.
|
static List<String> |
getOrderedListOfResourceDirectories()
Get the ordered list of resource directories.
|
static Properties |
getPropertiesForTransport(String transport)
Get the transport definition properties file for a given transport name.
|
public static final String CCS_RESOURCE_PATH_ENV_VAR
public static ResourcesTree getBootstrapResourcesTree()
public static List<String> getOrderedListOfResourceDirectories()
public static String getDistributionResourcesDirectory()
public static String getDistributionLibDirectory()
public static String getDistributionJniDirectory()
public static String getDistributionJarFilesDirectory()
public static String getCCSDistributionRootDirectory()
public static List<String> getBootstrapListOfApplications()
public static List<String> getBootstrapListOfTransports()
public static Properties getPropertiesForTransport(String transport)
transport - The name of the application.public static Properties getApplicationDefinitionProperties(String application)
application - The name of the application.public static Properties getMergedProperties(String propertyFile)
public static String getBootstrapLibraryPath()
Copyright © 2013 LSST. All Rights Reserved.