| java.lang.Object org.griphyn.vdl.planner.TCWrapper
TCWrapper | public class TCWrapper implements Wrapper(Code) | | This class wraps the shell planner's request into the new TC API.
author: Jens-S. Vöckler author: Yong Zhao version: $Revision: 50 $ |
Constructor Summary | |
public | TCWrapper() Connects the interface with the transformation catalog
implementation. |
Method Summary | |
public void | close() Frees resources taken by the instance of the replica catalog. | protected void | finalize() garbage collection. | public String | getName() Obtains the name of the class implementing the replica catalog. | public static Map | getProfiles(TransformationCatalogEntry tce) Extracts all profiles contained in the transformation catalog entry.
Parameters: tce - is the transformation catalog entry a map of maps. | public List | lookup(String ns, String id, String vs, String site) Obtains all applications that bear the name and are installed at the
resource.
Parameters: ns - is the TR namespace Parameters: id - is the TR identifier Parameters: vs - is the TR version Parameters: site - is the site handle, should be "local". | public String | toString() Shows the contents of the catalog as one string.
the string with the complete catalog contents. |
TCWrapper | public TCWrapper()(Code) | | Connects the interface with the transformation 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.
|
getName | public String getName()(Code) | | Obtains the name of the class implementing the replica catalog.
class name of the replica catalog implementor. |
getProfiles | public static Map getProfiles(TransformationCatalogEntry tce)(Code) | | Extracts all profiles contained in the transformation catalog entry.
Parameters: tce - is the transformation catalog entry a map of maps. The outer map is indexed by the lower-casednamespace identifier. The inner map is indexed by the key withinthe particular namespace. An empty map is possible. |
lookup | public List lookup(String ns, String id, String vs, String site)(Code) | | Obtains all applications that bear the name and are installed at the
resource.
Parameters: ns - is the TR namespace Parameters: id - is the TR identifier Parameters: vs - is the TR version Parameters: site - is the site handle, should be "local". a possibly empty list of org.griphyn.common.catalog.TransformationCatalogEntry TransformationCatalogEntry with all matches. |
toString | public String toString()(Code) | | Shows the contents of the catalog as one string.
the string with the complete catalog contents. Warning, this may be very large, slow, and memory expensive. |
|
|