cowbird.handlers.handler_factory

Module Contents

Classes

HandlerFactory

Create handler instance using handler name.

Attributes

LOGGER

VALID_HANDLERS

cowbird.handlers.handler_factory.LOGGER[source]
cowbird.handlers.handler_factory.VALID_HANDLERS = ['Catalog', 'Geoserver', 'Magpie', 'Nginx', 'Thredds', 'FileSystem'][source]
class cowbird.handlers.handler_factory.HandlerFactory[source]

Create handler instance using handler name.

create_handler(name: HandlerFactory)cowbird.handlers.handler.Handler[source]

Instantiates a new Handler implementation using its name, overwriting an existing instance if required.

get_handler(name: HandlerFactory)cowbird.handlers.handler.Handler[source]

Instantiates a Handler implementation using its name if it doesn’t exist or else returns the existing one from cache.

get_active_handlers()List[cowbird.handlers.handler.Handler][source]

Return a sorted list by priority of Handler implementation activated in the config.