org.wso2.carbon.mediation.initializer
Class RegistryDependency

java.lang.Object
  extended by org.wso2.carbon.mediation.initializer.RegistryDependency

public class RegistryDependency
extends Object

This class is used to find wsdl/schema dependencies using registry.core() and doing string manipulation to map the relative location to absolute registry location


Constructor Summary
RegistryDependency(String registryKey)
           
 
Method Summary
 String constructRegistryPathToRelativePath(String relativeLocation)
          Constructing the relative location to the actual registry path (eg:removing versions and ../ (../../../a.xsd;version 1000)
 Map<String,String> getDependencies()
          Get the associations related to a particular WSDL/schema key
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RegistryDependency

public RegistryDependency(String registryKey)
Parameters:
registryKey -
Method Detail

getDependencies

public Map<String,String> getDependencies()
Get the associations related to a particular WSDL/schema key


constructRegistryPathToRelativePath

public String constructRegistryPathToRelativePath(String relativeLocation)
Constructing the relative location to the actual registry path (eg:removing versions and ../ (../../../a.xsd;version 1000)

Parameters:
relativeLocation -
Returns:


Copyright © 2015 WSO2. All rights reserved.