Interface ProfilerTransformerPlugin_01

All Superinterfaces:
ProfilerTransformerPlugin

public interface ProfilerTransformerPlugin_01 extends ProfilerTransformerPlugin
  • Method Details

    • getReloadStatus

      ReloadStatus getReloadStatus()
      Returns status of current (last) reload operation
      Returns:
      status of current (last) reload operation
    • reloadConfiguration

      void reloadConfiguration(String newConfigPath) throws IOException, SAXException, ParserConfigurationException
      Initiates reload operation. This will load new configuration to the class transformer, scan all the loaded classes and reload classes when nessesary.
      Parameters:
      newConfigPath - the parh to the new config file. Leave empty or null to reload configuration from current location The reloading is offloaded to a separate thread as soon as the configuration is parsed.
      Throws:
      IOException - when failed to include some file to the configuration
      SAXException - when parsing of configuration xml failed
      ParserConfigurationException - when unable to create xml parser
    • reloadClasses

      void reloadClasses(Set<String> classNames) throws IOException, SAXException, ParserConfigurationException
      Initiates reload operation for a set of classes The reloading is performed using current configuration
      Parameters:
      classNames - the names of classes that should be reloaded
      Throws:
      IOException - when failed to include some file to the configuration
      SAXException - when parsing of configuration xml failed
      ParserConfigurationException - when unable to create xml parser