Class FrankApplication

java.lang.Object
org.frankframework.runner.FrankApplication

public class FrankApplication extends Object
Spring Boot entrypoint or main class defined in the pom.xml when packaging using the 'spring-boot:repackage' goal.
Author:
Niels Meijer
  • Constructor Details

    • FrankApplication

      public FrankApplication() throws IOException
      Configure the Frank!Framework application, using application server type "IBISTEST".
      Throws:
      IOException
    • FrankApplication

      public FrankApplication(Path projectDir) throws IOException
      Throws:
      IOException
  • Method Details

    • configureCredentialProvider

      public void configureCredentialProvider(String credentialPropertiesFile) throws IOException
      Configure a CredentialProvider
      Throws:
      FileNotFoundException - If the properties file cannot be found
      IOException
    • getProjectDir

      public Path getProjectDir()
    • run

      public org.springframework.context.ConfigurableApplicationContext run(String... args)
    • exit

      public static void exit(FrankApplication frankApplication)
    • exit

      public static void exit(org.springframework.context.ApplicationContext applicationContext)
    • isRunning

      public boolean isRunning()
    • hasStarted

      public boolean hasStarted()
    • createBean

      @SafeVarargs public final <T> T createBean(T... reified)
      Performs full initialization of the bean, including all applicable BeanPostProcessors. This is effectively a superset of what autowire provides, adding initializeBean behavior. This method can be used when the compiler can statically determine the class from the variable to which the bean is assigned. Do not pass actual argument to reified, Java will auto-detect the class of the bean type.
    • getBean

      @SafeVarargs public final <T> T getBean(String name, T... reified)
      Do not pass actual argument to reified, Java will auto-detect the class of the bean type.
    • getBean

      @SafeVarargs public final <T> T getBean(T... reified)
      Do not pass actual argument to reified, Java will auto-detect the class of the bean type.
    • getLogDir

      public static String getLogDir(Path projectPath) throws IOException
      Throws:
      IOException