Interface Biz

All Superinterfaces:
BizInfo, PriorityOrdered

public interface Biz extends BizInfo, PriorityOrdered
Ark Biz Model Interface
Since:
0.1.0
Author:
ruoshan
  • Method Details

    • start

      void start(String[] args) throws Throwable
      start Biz
      Parameters:
      args -
      Throws:
      Throwable
    • start

      void start(String[] args, Map<String,String> envs) throws Throwable
      start Biz with args and envs
      Parameters:
      args -
      envs -
      Throws:
      Throwable
    • stop

      void stop() throws Throwable
      stop Biz
      Throws:
      Throwable
    • isDeclared

      boolean isDeclared(URL url, String resourceName)
      check resource whether declared in this biz classLoader.
      Parameters:
      url -
    • isDeclaredMode

      boolean isDeclaredMode()
      check whether this biz is declared mode. declared mode means this biz can only delegate declared class and resources in the pom of this biz to other classloader like plugin or master Biz.
      Returns:
    • setCustomBizName

      void setCustomBizName(String bizName)
      allow to dynamic update biz name
      Parameters:
      bizName -