Project

General

Profile

« Previous | Next » 

Revision 49396

Fixed circular dependency

View differences:

RegistryClient.java
40 40

  
41 41
	private ResourceRegistryPublisher resourceRegistryPublisher;
42 42
	private ResourceRegistryClient resourceRegistryClient;
43
	private String registryBaseURL;
43
	//private String registryBaseURL;
44 44
	private String defaultBaseURI;
45 45

  
46
	protected RegistryClient(final String registryBaseURL,
47
			final SaxonHelper saxonHelper,
46
	protected RegistryClient(final SaxonHelper saxonHelper,
48 47
			final String defaultBaseURI,
49 48
			final GCubeResourceRegistrator gCubeResourceRegistrator)
50 49
			throws ParthenosPublisherException {
51
		this.registryBaseURL = registryBaseURL;
50
		//this.registryBaseURL = registryBaseURL;
52 51
		this.saxonHelper = saxonHelper;
53 52
		this.defaultBaseURI = defaultBaseURI;
54 53
		this.resourceRegistryPublisher = ResourceRegistryPublisherFactory.create();
......
107 106
		this.saxonHelper = saxonHelper;
108 107
	}
109 108

  
110
	public String getRegistryBaseURL() {
111
		return registryBaseURL;
112
	}
109
//	public String getRegistryBaseURL() {
110
//		return registryBaseURL;
111
//	}
112
//
113
//	public void setRegistryBaseURL(final String registryBaseURL) {
114
//		this.registryBaseURL = registryBaseURL;
115
//	}
113 116

  
114
	public void setRegistryBaseURL(final String registryBaseURL) {
115
		this.registryBaseURL = registryBaseURL;
116
	}
117

  
118 117
	public void setDefaultBaseURI(final String defaultBaseURI) {
119 118
		this.defaultBaseURI = defaultBaseURI;
120 119
	}

Also available in: Unified diff