31 lines
595 B
Java
31 lines
595 B
Java
package org.gcube.data.analysis.dataminermanagercl.server.dmservice;
|
|
|
|
|
|
|
|
/**
|
|
* Director
|
|
*
|
|
* @author "Giancarlo Panichi"
|
|
* email: <a href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a>
|
|
*
|
|
*/
|
|
public class SClientDirector {
|
|
SClientBuilder sClientBuilder;
|
|
|
|
public void setSClientBuilder(
|
|
SClientBuilder sClientBuilder) {
|
|
this.sClientBuilder = sClientBuilder;
|
|
}
|
|
|
|
public SClient getSClient() {
|
|
return sClientBuilder.getSClientSpec().getSClient();
|
|
|
|
}
|
|
|
|
public void constructSClient() throws Exception {
|
|
sClientBuilder.createSpec();
|
|
sClientBuilder.buildSClient();
|
|
|
|
}
|
|
}
|