Exemplo n.º 1
0
def scriptUnloaded():
    if core.JythonTransformationService is not None:
        unregister_service(core.JythonTransformationService)
        core.JythonTransformationService = None
        logging.getLogger(
            "{}.core.JythonTransformationService.scriptUnloaded".format(
                LOG_PREFIX)).debug("Unregistered service")
Exemplo n.º 2
0
def scriptUnloaded():
    if core.JythonItemChannelLinkProvider is not None:
        unregister_service(core.JythonItemChannelLinkProvider)
        core.JythonItemChannelLinkProvider = None
        logging.getLogger(
            "{}.core.JythonItemChannelLinkProvider.scriptUnloaded".format(
                LOG_PREFIX)).debug("Unregistered service")
def scriptUnloaded():
    global jython_transformation_service
    global registered_service
    unregister_service(jython_transformation_service)
    jython_transformation_service = None
    registered_service = None
    LOG.debug("Unregistered service")
Exemplo n.º 4
0
def scriptUnloaded():
    """Removes the profile factory from OpenHAB's service registry."""

    global FACTORY_INSTANCE
    if FACTORY_INSTANCE is not None:
        unregister_service(FACTORY_INSTANCE)
        FACTORY_INSTANCE = None
        log.debug("Unregistered service")
Exemplo n.º 5
0
def scriptUnloaded():
    unregister_service(service)
Exemplo n.º 6
0
def scriptUnloaded():
    global service
    unregister_service(service)