com.ibm.adt.topology.handler
Class ProviderHelper

java.lang.Object
  extended by com.ibm.adt.topology.handler.ProviderHelper

public class ProviderHelper
extends java.lang.Object


Constructor Summary
ProviderHelper()
           
 
Method Summary
static ProviderInfo[] getProviders(java.lang.String location, java.lang.String relativePath)
          This method queries all ConfigurationHandlers registered to the system and returns an array of ProviderInfo instances which specify the providers required to load the artifacts specified by location.
(package private) static java.util.Vector recurseArchive(java.lang.String archiveName, boolean useCachedInfo, boolean recurseLocation, boolean recurseArchives, java.lang.String relativePath)
           
(package private) static java.util.HashMap recurseLocation(java.lang.String location, boolean useCachedInfo, boolean recurseLocation, boolean recurseArchives, java.lang.String useRelativePath)
           
(package private) static void updateProviderCache(java.lang.String providerInfoCache, java.util.Vector providers)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProviderHelper

public ProviderHelper()
Method Detail

getProviders

public static ProviderInfo[] getProviders(java.lang.String location,
                                          java.lang.String relativePath)
                                   throws java.lang.Exception
This method queries all ConfigurationHandlers registered to the system and returns an array of ProviderInfo instances which specify the providers required to load the artifacts specified by location.

Parameters:
location - specifies a file or directory
relativePath - specifies that any directories created as a result of extract should be created with a name that is relative to directory specified by relativePath.
Returns:
an array of ProviderInfo instances
Throws:
java.lang.Exception

updateProviderCache

static void updateProviderCache(java.lang.String providerInfoCache,
                                java.util.Vector providers)

recurseArchive

static java.util.Vector recurseArchive(java.lang.String archiveName,
                                       boolean useCachedInfo,
                                       boolean recurseLocation,
                                       boolean recurseArchives,
                                       java.lang.String relativePath)
                                throws java.lang.Exception
Throws:
java.lang.Exception

recurseLocation

static java.util.HashMap recurseLocation(java.lang.String location,
                                         boolean useCachedInfo,
                                         boolean recurseLocation,
                                         boolean recurseArchives,
                                         java.lang.String useRelativePath)
                                  throws java.lang.Exception
Throws:
java.lang.Exception


© Copyright 2006 IBM Corp. 2006 All Rights Reserved