org.gcube.common.informationsystem.publisher.impl.context
Class ISPublisherContext
java.lang.Object
org.gcube.common.informationsystem.publisher.impl.context.ISPublisherContext
public class ISPublisherContext
- extends Object
Publisher local context
- Author:
- Manuele Simi (ISTI-CNR)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
REGISTRY_CHANNEL_TIMEOUT_PROP_NAME
public static final String REGISTRY_CHANNEL_TIMEOUT_PROP_NAME
- See Also:
- Constant Field Values
COLLECTOR_CHANNEL_TIMEOUT_PROP_NAME
public static final String COLLECTOR_CHANNEL_TIMEOUT_PROP_NAME
- See Also:
- Constant Field Values
BULK_PUBLICATIONS_INTERVAL_PROP_NAME
public static final String BULK_PUBLICATIONS_INTERVAL_PROP_NAME
- See Also:
- Constant Field Values
MAX_PARALLEL_REGISTRATIONS_PROP_NAME
public static final String MAX_PARALLEL_REGISTRATIONS_PROP_NAME
- See Also:
- Constant Field Values
RESOURCE_PUBLICATION_MAX_ATTEMPTS_PROP_NAME
public static final String RESOURCE_PUBLICATION_MAX_ATTEMPTS_PROP_NAME
- See Also:
- Constant Field Values
getContext
public static ISPublisherContext getContext()
throws IOException
- Gets the ISPublisher context
- Returns:
- the context
- Throws:
IOException - if an error occurs when reading the configuration
getProperty
public Object getProperty(String name)
throws ISPublisherContext.NoSuchProperty
- Gets a ISPublisher property
- Type Parameters:
T - the type of the property- Parameters:
name - the property nametype - the type of the property
- Returns:
- the property value
- Throws:
ISPublisherContext.NoSuchProperty - if the property does not exist
main
public static void main(String[] args)
Copyright © 2013. All Rights Reserved.