public class ISPublisherContext extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ISPublisherContext.NoSuchProperty
Property exception
|
| Modifier and Type | Field and Description |
|---|---|
static String |
BULK_PUBLICATIONS_INTERVAL_PROP_NAME |
static String |
COLLECTOR_CHANNEL_TIMEOUT_PROP_NAME |
static String |
MAX_PARALLEL_REGISTRATIONS_PROP_NAME |
static String |
REGISTRY_CHANNEL_TIMEOUT_PROP_NAME |
static String |
RESOURCE_PUBLICATION_MAX_ATTEMPTS_PROP_NAME |
| Modifier and Type | Method and Description |
|---|---|
static ISPublisherContext |
getContext()
Gets the ISPublisher context
|
Object |
getProperty(String name)
Gets a ISPublisher property
|
static void |
main(String[] args) |
public static final String REGISTRY_CHANNEL_TIMEOUT_PROP_NAME
public static final String COLLECTOR_CHANNEL_TIMEOUT_PROP_NAME
public static final String BULK_PUBLICATIONS_INTERVAL_PROP_NAME
public static final String MAX_PARALLEL_REGISTRATIONS_PROP_NAME
public static final String RESOURCE_PUBLICATION_MAX_ATTEMPTS_PROP_NAME
public static ISPublisherContext getContext() throws IOException
IOException - if an error occurs when reading the configurationpublic Object getProperty(String name) throws ISPublisherContext.NoSuchProperty
T - the type of the propertyname - the property nametype - the type of the propertyISPublisherContext.NoSuchProperty - if the property does not existpublic static void main(String[] args)
Copyright © 2017. All Rights Reserved.