public class Text extends Abstract
Modifier and Type | Field and Description |
---|---|
private static Text |
mPoolHandle
The internal singleton handle.
|
mPoolConfig
mDeepStorageStructure, mLogger, mLogMsg, mPoolProvider, mProps, mStorageDir, mUserOpts, mWorkDir, PEGASUS_HOME, VDS_HOME
Modifier | Constructor and Description |
---|---|
private |
Text(java.lang.String poolProvider)
The private constructor that is called only once, when the Singleton is
invoked for the first time.
|
private |
Text(java.lang.String poolProvider,
java.lang.String propFileName)
The private constructor that is called to return a non singleton instance
of the class.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getPoolMode()
Returns a textual description about the pool mode that is
implemented by this class.
|
static PoolInfoProvider |
nonSingletonInstance(java.lang.String poolProvider,
java.lang.String propFileName)
The method that returns a Non Singleton instance of the dervived
InfoProvider class.
|
static PoolInfoProvider |
singletonInstance(java.lang.String poolProvider,
java.lang.String propFileName)
The method returns a singleton instance of the derived InfoProvider class.
|
getGridFTPServers, getJobmanagers, getJobmanagers, getPoolEntry, getPoolProfile, getPools, getSysinfo, getSysinfos, removeGridFtp, removeJobManager
getEnvironmentVariable, getExecPoolWorkDir, getExecPoolWorkDir, getExecPoolWorkDir, getExecPoolWorkDir, getPegasusHome, getPoolProfile, getSeMountPoint, getTXPoolEntry, getURLPrefix, getVDS_HOME, loadNonSingletonObjects, loadSingletonObjects, logMessage, selectGridFtp, selectLRC, selectWorkdir, singletonInstance
private static Text mPoolHandle
private Text(java.lang.String poolProvider)
poolProvider
- the path to the file that contains the pool
information in the multiline text format.private Text(java.lang.String poolProvider, java.lang.String propFileName)
poolProvider
- the path to the file that contains the pool
information in the xml format.propFileName
- the name of the properties file that needs to be
picked up from PEGASUS_HOME/etc directory.If it is null,
then the default properties file should be picked up.public java.lang.String getPoolMode()
getPoolMode
in class PoolInfoProvider
public static PoolInfoProvider singletonInstance(java.lang.String poolProvider, java.lang.String propFileName)
poolProvider
- the path to the file containing the pool information.propFileName
- the name of the properties file that needs to be
picked up from PEGASUS_HOME/etc directory. In the singleton
case only the default properties file is picked up.public static PoolInfoProvider nonSingletonInstance(java.lang.String poolProvider, java.lang.String propFileName)
poolProvider
- the path to the file containing the pool information.propFileName
- the name of the properties file that needs to be
picked up from PEGASUS_HOME/etc directory. If it is null,
then the default file should be picked up.