public class AbstractContentInitializer extends Object
| Constructor and Description |
|---|
AbstractContentInitializer() |
| Modifier and Type | Method and Description |
|---|---|
BulkResourceImporter |
getBulkImporter() |
UniqueServiceLocator |
getServiceLocator() |
int |
getTimeToSleep() |
protected void |
registerProfile(URL url)
register a profile from a local resource.
|
protected void |
registerSchema(URL url)
register a schema from a local resource.
|
void |
setBulkImporter(BulkResourceImporter bulkImporter) |
void |
setServiceLocator(UniqueServiceLocator serviceLocator) |
void |
setTimeToSleep(int timeToSleep) |
protected void registerSchema(URL url) throws IOException, eu.dnetlib.enabling.is.registry.rmi.ISRegistryException
url - urlIOException - happenseu.dnetlib.enabling.is.registry.rmi.ISRegistryException - could happenprotected void registerProfile(URL url) throws IOException, eu.dnetlib.enabling.is.registry.rmi.ISRegistryException, XPathExpressionException, SAXException, ParserConfigurationException
url - urlIOException - could happeneu.dnetlib.enabling.is.registry.rmi.ISRegistryException - could happenParserConfigurationException - could happenSAXException - could happenXPathExpressionException - could happenpublic void setBulkImporter(BulkResourceImporter bulkImporter)
public BulkResourceImporter getBulkImporter()
public int getTimeToSleep()
public void setTimeToSleep(int timeToSleep)
timeToSleep - the timeToSleep to setpublic UniqueServiceLocator getServiceLocator()
public void setServiceLocator(UniqueServiceLocator serviceLocator)
Copyright © 2019. All rights reserved.