Aligned factory with other clients
This commit is contained in:
parent
82e65ecd8e
commit
e4cde05f77
|
@ -22,17 +22,18 @@ public class ResourceRegistryPublisherFactory {
|
||||||
|
|
||||||
private static final Logger logger = LoggerFactory.getLogger(ResourceRegistryPublisherFactory.class);
|
private static final Logger logger = LoggerFactory.getLogger(ResourceRegistryPublisherFactory.class);
|
||||||
|
|
||||||
protected static List<String> addresses;
|
protected static boolean HIERARCHICAL_MODE;
|
||||||
protected static boolean hierarchicalMode;
|
|
||||||
|
|
||||||
public static boolean isHierarchicalMode() {
|
public static boolean isHierarchicalMode() {
|
||||||
return ResourceRegistryPublisherFactory.hierarchicalMode;
|
return ResourceRegistryPublisherFactory.HIERARCHICAL_MODE;
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void setHierarchicalMode(boolean hierarchicalMode) {
|
public static void setHierarchicalMode(boolean hierarchicalMode) {
|
||||||
ResourceRegistryPublisherFactory.hierarchicalMode = hierarchicalMode;
|
ResourceRegistryPublisherFactory.HIERARCHICAL_MODE = hierarchicalMode;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
protected static List<String> addresses;
|
||||||
|
|
||||||
static {
|
static {
|
||||||
addresses = new ArrayList<>();
|
addresses = new ArrayList<>();
|
||||||
}
|
}
|
||||||
|
@ -41,6 +42,7 @@ public class ResourceRegistryPublisherFactory {
|
||||||
|
|
||||||
protected static void forceToURL(String url){
|
protected static void forceToURL(String url){
|
||||||
FORCED_URL = url;
|
FORCED_URL = url;
|
||||||
|
HIERARCHICAL_MODE = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
private static String classFormat = "$resource/Profile/ServiceClass/text() eq '%1s'";
|
private static String classFormat = "$resource/Profile/ServiceClass/text() eq '%1s'";
|
||||||
|
|
Loading…
Reference in New Issue