Revision 49512
Added by Antonis Lempesis over 6 years ago
CompatibilityServiceLocator.java | ||
---|---|---|
48 | 48 |
try { |
49 | 49 |
Class<? extends BaseService> endpointClass = (Class<? extends BaseService>) transportConfiguration.getEndpointClass(serviceClass); |
50 | 50 |
|
51 |
Object endpoint = serviceLocator.getService(ISStoreService.class);
|
|
51 |
Object endpoint = serviceLocator.getService(endpointClass);
|
|
52 | 52 |
|
53 | 53 |
logger.debug("Found service endpoint of type: " |
54 | 54 |
+ endpoint.getClass().getName()); |
... | ... | |
80 | 80 |
public void setClientFactory(ServiceClientFactory<S> clientFactory) { |
81 | 81 |
this.clientFactory = clientFactory; |
82 | 82 |
} |
83 |
|
|
84 |
public TransportConfiguration getTransportConfiguration() { |
|
85 |
return transportConfiguration; |
|
86 |
} |
|
87 |
|
|
88 |
public void setTransportConfiguration(TransportConfiguration transportConfiguration) { |
|
89 |
this.transportConfiguration = transportConfiguration; |
|
90 |
} |
|
83 | 91 |
} |
Also available in: Unified diff
finished transition to dnet45