All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.zhengframework.configuration.reload.ImmediateReloadStrategy Maven / Gradle / Ivy

There is a newer version: 1.8.0
Show newest version
package com.github.zhengframework.configuration.reload;

import lombok.extern.slf4j.Slf4j;

@Slf4j
public class ImmediateReloadStrategy implements ReloadStrategy {

  @Override
  public void register(Reloadable resource) {
    log.debug("Registering resource " + resource);
    resource.reload();
  }

  @Override
  public void deregister(Reloadable resource) {
    log.debug("De-registering resource " + resource);
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy