public class CatalogBundle extends Object
Modifier and Type | Field and Description |
---|---|
static String |
CATALOG_FRAMEWORK_PID |
static long |
CATALOG_PROVIDER_TIMEOUT |
protected static org.slf4j.Logger |
LOGGER |
static String |
RESOURCE_DOWNLOAD_MANAGER_PID |
Constructor and Description |
---|
CatalogBundle(ServiceManager serviceManager,
AdminConfig adminConfig) |
Modifier and Type | Method and Description |
---|---|
CatalogFramework |
getCatalogFramework() |
void |
setDownloadRetryDelayInSeconds(int delay) |
void |
setFanout(boolean fanoutEnabled) |
void |
setFanoutTagBlacklist(List<String> blacklist) |
void |
setupCaching(boolean cachingEnabled) |
void |
setupMaxDownloadRetryAttempts(int maxRetryAttempts) |
CatalogProvider |
waitForCatalogProvider() |
CatalogStore |
waitForCatalogStore(String id) |
FederatedSource |
waitForFederatedSource(String id) |
protected static final org.slf4j.Logger LOGGER
public static final long CATALOG_PROVIDER_TIMEOUT
public static final String CATALOG_FRAMEWORK_PID
public static final String RESOURCE_DOWNLOAD_MANAGER_PID
public CatalogBundle(ServiceManager serviceManager, AdminConfig adminConfig)
public CatalogProvider waitForCatalogProvider() throws InterruptedException
InterruptedException
public FederatedSource waitForFederatedSource(String id) throws InterruptedException, org.osgi.framework.InvalidSyntaxException
InterruptedException
org.osgi.framework.InvalidSyntaxException
public CatalogStore waitForCatalogStore(String id) throws InterruptedException, org.osgi.framework.InvalidSyntaxException
InterruptedException
org.osgi.framework.InvalidSyntaxException
public CatalogFramework getCatalogFramework() throws InterruptedException
InterruptedException
public void setFanout(boolean fanoutEnabled) throws IOException
IOException
public void setFanoutTagBlacklist(List<String> blacklist) throws IOException
IOException
public void setupCaching(boolean cachingEnabled) throws IOException
IOException
public void setDownloadRetryDelayInSeconds(int delay) throws IOException
IOException
public void setupMaxDownloadRetryAttempts(int maxRetryAttempts) throws IOException
IOException
This work is licensed under a Creative Commons Attribution 4.0 International License.