org.gridbus.broker.farming.common.services
Class SrbMCAT

java.lang.Object
  extended by org.gridbus.broker.farming.common.services.Service
      extended by org.gridbus.broker.farming.common.services.SrbMCAT

public class SrbMCAT
extends Service

Author:
krishna

Field Summary
 
Fields inherited from class org.gridbus.broker.farming.common.services.Service
MARKET, NETWORK, PERSISTENCE, REPLICA_CATALOG, SRB_MCAT
 
Constructor Summary
SrbMCAT()
          Default Constructor
 
Method Summary
 edu.sdsc.grid.io.srb.SRBAccount getAc()
           
 java.lang.String getDefaultResource()
           
 edu.sdsc.grid.io.srb.SRBFileSystem getFs()
           
 java.lang.String getHomeDirectory()
           
 java.lang.String getMDASDomain()
           
 java.lang.String getSrbHost()
           
 int getSrbPort()
           
 void init()
          this will create a new Account object, and attempt to connect to the SRB MCAT
 void setAc(edu.sdsc.grid.io.srb.SRBAccount ac)
           
 void setDefaultResource(java.lang.String defaultResource)
           
 void setFs(edu.sdsc.grid.io.srb.SRBFileSystem fs)
           
 void setHomeDirectory(java.lang.String homeDirectory)
           
 void setMDASDomain(java.lang.String domain)
           
 void setSrbHost(java.lang.String srbHost)
           
 void setSrbPort(int srbPort)
           
 
Methods inherited from class org.gridbus.broker.farming.common.services.Service
getCost, getType, getUrl, getUserCredential, setCost, setType, setUrl, setUserCredential
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SrbMCAT

public SrbMCAT()
Default Constructor

Method Detail

getAc

public edu.sdsc.grid.io.srb.SRBAccount getAc()
Returns:
Returns the ac.

setAc

public void setAc(edu.sdsc.grid.io.srb.SRBAccount ac)
Parameters:
ac - The ac to set.

getDefaultResource

public java.lang.String getDefaultResource()
Returns:
Returns the defaultResource.

setDefaultResource

public void setDefaultResource(java.lang.String defaultResource)
Parameters:
defaultResource - The defaultResource to set.

getFs

public edu.sdsc.grid.io.srb.SRBFileSystem getFs()
Returns:
Returns the fs.

setFs

public void setFs(edu.sdsc.grid.io.srb.SRBFileSystem fs)
Parameters:
fs - The fs to set.

getHomeDirectory

public java.lang.String getHomeDirectory()
Returns:
Returns the homeDirectory.

setHomeDirectory

public void setHomeDirectory(java.lang.String homeDirectory)
Parameters:
homeDirectory - The homeDirectory to set.

getMDASDomain

public java.lang.String getMDASDomain()
Returns:
Returns the mDASDomain.

setMDASDomain

public void setMDASDomain(java.lang.String domain)
Parameters:
domain - The mDASDomain to set.

getSrbHost

public java.lang.String getSrbHost()
Returns:
Returns the srbHost.

setSrbHost

public void setSrbHost(java.lang.String srbHost)
Parameters:
srbHost - The srbHost to set.

getSrbPort

public int getSrbPort()
Returns:
Returns the srbPort.

setSrbPort

public void setSrbPort(int srbPort)
Parameters:
srbPort - The srbPort to set.

init

public void init()
          throws java.lang.NullPointerException,
                 java.io.IOException
this will create a new Account object, and attempt to connect to the SRB MCAT

Throws:
java.io.IOException
java.lang.NullPointerException