| java.lang.Object org.griphyn.vdl.planner.SCWrapper
SCWrapper | public class SCWrapper implements Wrapper(Code) | | This class wraps the shell planner's request into the new site
catalog API. The site catalog is only queried for the contents of its
"local" special site.
author: Jens-S. Vöckler author: Yong Zhao version: $Revision: 50 $ |
Constructor Summary | |
public | SCWrapper() Connects the interface with the site catalog implementation. |
Method Summary | |
public void | close() Frees resources taken by the instance of the replica catalog. | protected void | finalize() garbage collection. | public String | getGridLaunch() Determines the path to the local installation of a grid launcher
for site "local". | public String | getName() Obtains the name of the class implementing the replica catalog. | public Map | getProfiles() Gathers all profiles declared for pool local. | public String | getWorkingDirectory() Determines the working directory for the site "local". | public String | toString() Shows the contents of the catalog as one string. |
SCWrapper | public SCWrapper()(Code) | | Connects the interface with the site catalog implementation. The
choice of backend is configured through properties.
|
close | public void close()(Code) | | Frees resources taken by the instance of the replica catalog. This
method is safe to be called on failed or already closed catalogs.
|
finalize | protected void finalize()(Code) | | garbage collection.
|
getGridLaunch | public String getGridLaunch()(Code) | | Determines the path to the local installation of a grid launcher
for site "local".
the path to the local kickstart, or null , ifnot available. |
getName | public String getName()(Code) | | Obtains the name of the class implementing the replica catalog.
class name of the replica catalog implementor. |
getProfiles | public Map getProfiles()(Code) | | Gathers all profiles declared for pool local.
a map of maps, the outer map indexed by the profilenamespace, and the inner map indexed by the key in the profile.Returns null in case of error. |
getWorkingDirectory | public String getWorkingDirectory()(Code) | | Determines the working directory for the site "local".
the working directory, of null , ifnot available. |
toString | public String toString()(Code) | | Shows the contents of the catalog as one string. Warning, this may
be very large, slow, and memory expensive.
the string with the complete catalog contents. throws: RuntimeException - because the method is not implemented. |
|
|