use of org.pentaho.di.repository.IRepositoryService in project pentaho-kettle by pentaho.
the class KettleFileRepository method init.
@Override
public void init(RepositoryMeta repositoryMeta) {
this.serviceMap = new HashMap<Class<? extends IRepositoryService>, IRepositoryService>();
this.serviceList = new ArrayList<Class<? extends IRepositoryService>>();
this.repositoryMeta = (KettleFileRepositoryMeta) repositoryMeta;
this.securityProvider = new KettleFileRepositorySecurityProvider(repositoryMeta);
this.serviceMap.put(RepositorySecurityProvider.class, securityProvider);
this.serviceList.add(RepositorySecurityProvider.class);
this.metaStore = null;
this.log = new LogChannel(this);
}
use of org.pentaho.di.repository.IRepositoryService in project pentaho-kettle by pentaho.
the class RepositorySessionTimeoutHandler method wrapRepositoryServiceWithTimeoutHandler.
IRepositoryService wrapRepositoryServiceWithTimeoutHandler(Class<? extends IRepositoryService> clazz) throws KettleException {
IRepositoryService service = repository.getService(clazz);
RepositoryServiceSessionTimeoutHandler timeoutHandler = new RepositoryServiceSessionTimeoutHandler(service, sessionTimeoutHandler);
return wrapObjectWithTimeoutHandler(service, timeoutHandler);
}
Aggregations