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);
|
||||
|
||||
protected static List<String> addresses;
|
||||
protected static boolean hierarchicalMode;
|
||||
protected static boolean HIERARCHICAL_MODE;
|
||||
|
||||
public static boolean isHierarchicalMode() {
|
||||
return ResourceRegistryPublisherFactory.hierarchicalMode;
|
||||
return ResourceRegistryPublisherFactory.HIERARCHICAL_MODE;
|
||||
}
|
||||
|
||||
public static void setHierarchicalMode(boolean hierarchicalMode) {
|
||||
ResourceRegistryPublisherFactory.hierarchicalMode = hierarchicalMode;
|
||||
ResourceRegistryPublisherFactory.HIERARCHICAL_MODE = hierarchicalMode;
|
||||
}
|
||||
|
||||
protected static List<String> addresses;
|
||||
|
||||
static {
|
||||
addresses = new ArrayList<>();
|
||||
}
|
||||
|
@ -41,6 +42,7 @@ public class ResourceRegistryPublisherFactory {
|
|||
|
||||
protected static void forceToURL(String url){
|
||||
FORCED_URL = url;
|
||||
HIERARCHICAL_MODE = false;
|
||||
}
|
||||
|
||||
private static String classFormat = "$resource/Profile/ServiceClass/text() eq '%1s'";
|
||||
|
|
Loading…
Reference in New Issue