edu.isi.pegasus.common.credential.impl
Class Abstract

java.lang.Object
  extended by edu.isi.pegasus.common.credential.impl.Abstract
All Implemented Interfaces:
CredentialHandler
Direct Known Subclasses:
Irods, Proxy, S3CFG, Ssh

public abstract class Abstract
extends Object
implements CredentialHandler

An abstract base class to be used by other CredentialHandler implementations.

Version:
$Revision: 4817 $
Author:
Karan Vahi

Nested Class Summary
 
Nested classes/interfaces inherited from interface edu.isi.pegasus.common.credential.CredentialHandler
CredentialHandler.TYPE
 
Field Summary
protected  LogManager mLogger
          A handle to the logging object.
protected  PegasusProperties mProps
          The object holding all the properties pertaining to Pegasus.
protected  SiteStore mSiteStore
          The handle to the Site Catalog Store.
 
Fields inherited from interface edu.isi.pegasus.common.credential.CredentialHandler
VERSION
 
Constructor Summary
Abstract()
          The default constructor.
 
Method Summary
 String getPath()
          Returns the path to the credential on the submit host.
 void initialize(PegasusBag bag)
          Initializes the credential implementation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface edu.isi.pegasus.common.credential.CredentialHandler
getBaseName, getDescription, getEnvironmentVariable, getPath
 

Field Detail

mProps

protected PegasusProperties mProps
The object holding all the properties pertaining to Pegasus.


mSiteStore

protected SiteStore mSiteStore
The handle to the Site Catalog Store.


mLogger

protected LogManager mLogger
A handle to the logging object.

Constructor Detail

Abstract

public Abstract()
The default constructor.

Method Detail

initialize

public void initialize(PegasusBag bag)
Initializes the credential implementation. Implementations require access to the logger, properties and the SiteCatalog Store.

Specified by:
initialize in interface CredentialHandler
Parameters:
bag - the bag of Pegasus objects.

getPath

public String getPath()
Returns the path to the credential on the submit host.

Specified by:
getPath in interface CredentialHandler
Returns:


Copyright © 2011 The University of Southern California. All Rights Reserved.