lock.unlock();
}
}
public ConfigurationObject[] getDependents(String sequence) {
DependencyManagementService dependencyMgr = ConfigHolder.getInstance().
getDependencyManager();
if (dependencyMgr != null) {
org.wso2.carbon.mediation.dependency.mgt.ConfigurationObject[] tempDependents =
dependencyMgr.getDependents(org.wso2.carbon.mediation.dependency.mgt
.ConfigurationObject.TYPE_SEQUENCE,
sequence);
if (tempDependents != null && tempDependents.length > 0) {
List<ConfigurationObject> dependents = new ArrayList<ConfigurationObject>();
for (int i = 0; i < tempDependents.length; i++) {